Class Component

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    Item, Task

    public abstract class Component
    extends IdentifiableElement
    implements java.io.Serializable
    Flower component <p>Java class for Component complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="Component"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="data" type="{http://flower.com/docs/domain/component}ComponentData"/&gt; &lt;element ref="{http://flower.com/docs/domain/component}Tags"/&gt; &lt;/sequence&gt; &lt;attribute name="category" use="required" type="{http://flower.com/docs/domain/component}Category" /&gt; &lt;attribute name="name" type="{http://flower.com/docs/domain/common}NameType" /&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • tags

        protected Tags tags
      • category

        protected Category category
        Category of the component
      • name

        protected java.lang.String name
        Name of the component
    • Constructor Detail

      • Component

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

        public Component​(Id id,
                         ComponentData data,
                         Tags tags,
                         Category category,
                         java.lang.String name)
        Fully-initialising value constructor
    • Method Detail

      • getData

        public ComponentData getData()
        Gets the value of the data property. <p> Component data
        Returns:
        possible object is ComponentData
      • getTags

        public Tags getTags()
        List of tags
        Returns:
        possible object is Tags
      • setTags

        public void setTags​(Tags value)
        Sets the value of the tags property.
        Parameters:
        value - allowed object is Tags
      • 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()
      • getName

        public java.lang.String getName()
        Gets the value of the name property. <p> Name of the component
        Returns:
        possible object is String
      • setName

        public void setName​(java.lang.String value)
        Sets the value of the name property.
        Parameters:
        value - allowed object is String
        See Also:
        getName()