Class VersionSeries

  • All Implemented Interfaces:
    java.io.Serializable

    public class VersionSeries
    extends IdentifiableElement
    implements java.io.Serializable
    Version series of a component <p>Java class for VersionSeries complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="VersionSeries"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="version" type="{http://flower.com/docs/domain/component}Version" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute name="category" use="required" type="{http://flower.com/docs/domain/component}Category" /&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • versions

        protected java.util.List<Version> versions
        All versions of component
      • category

        protected Category category
        Category of the component
    • Constructor Detail

      • VersionSeries

        public VersionSeries()
        Default no-arg constructor abc
      • VersionSeries

        public VersionSeries​(Id id,
                             java.util.List<Version> versions,
                             Category category)
        Fully-initialising value constructor
    • Method Detail

      • getVersions

        public java.util.List<Version> getVersions()
        Gets the value of the versions property. <p> This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a <CODE>set</CODE> method for the versions property. <p> For example, to add a new item, do as follows: <pre> getVersions().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Version <p> All versions of component
      • getCategory

        public Category getCategory()
        Gets the value of the category property. <p> Category of the component
        Returns:
        possible object is Category
      • setCategory

        public void setCategory​(Category value)
        Sets the value of the category property.
        Parameters:
        value - allowed object is Category
        See Also:
        getCategory()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object