Class TagCategory

  • All Implemented Interfaces:
    java.io.Serializable

    public class TagCategory
    extends IdentifiableElement
    implements java.io.Serializable
    <p>Java class for anonymous complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/common}IdentifiableElement"&gt; &lt;sequence&gt; &lt;element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/&gt; &lt;element name="tags" type="{http://flower.com/docs/domain/common}Id" maxOccurs="unbounded"/&gt; &lt;/sequence&gt; &lt;attribute name="icon" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute name="visible" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /&gt; &lt;attribute name="inline" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; &lt;attribute name="reduced" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String description
      Description corresponding to the tag
      protected java.util.List<I18NLabel> displayNames
      Internationalized names of the tag
      protected java.lang.String icon
      Icon corresponding to the tag
      protected java.lang.Boolean inline
      Determines if the tag's references should be displayed as inline
      protected java.lang.Boolean reduced
      Determines if the tag is currently reduced or not
      protected java.util.List<Id> tags
      The list of the tags for this category
      protected java.lang.Boolean visible
      Determines if the tag is visible or not
    • Constructor Summary

      Constructors 
      Constructor Description
      TagCategory()
      Default no-arg constructor abc
      TagCategory​(Id id, java.util.List<I18NLabel> displayNames, java.util.List<Id> tags, java.lang.String icon, java.lang.String description, java.lang.Boolean visible, java.lang.Boolean inline, java.lang.Boolean reduced)
      Fully-initialising value constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      java.lang.String getDescription()
      Gets the value of the description property.
      java.util.List<I18NLabel> getDisplayNames()
      Gets the value of the displayNames property.
      java.lang.String getIcon()
      Gets the value of the icon property.
      java.util.List<Id> getTags()
      Gets the value of the tags property.
      int hashCode()  
      boolean isInline()
      Gets the value of the inline property.
      boolean isReduced()
      Gets the value of the reduced property.
      boolean isVisible()
      Gets the value of the visible property.
      void setDescription​(java.lang.String value)
      Sets the value of the description property.
      void setDisplayNames​(java.util.List<I18NLabel> value)  
      void setIcon​(java.lang.String value)
      Sets the value of the icon property.
      void setInline​(java.lang.Boolean value)
      Sets the value of the inline property.
      void setReduced​(java.lang.Boolean value)
      Sets the value of the reduced property.
      void setTags​(java.util.List<Id> value)  
      void setVisible​(java.lang.Boolean value)
      Sets the value of the visible property.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • displayNames

        protected java.util.List<I18NLabel> displayNames
        Internationalized names of the tag
      • tags

        protected java.util.List<Id> tags
        The list of the tags for this category
      • icon

        protected java.lang.String icon
        Icon corresponding to the tag
      • description

        protected java.lang.String description
        Description corresponding to the tag
      • visible

        protected java.lang.Boolean visible
        Determines if the tag is visible or not
      • inline

        protected java.lang.Boolean inline
        Determines if the tag's references should be displayed as inline
      • reduced

        protected java.lang.Boolean reduced
        Determines if the tag is currently reduced or not
    • Constructor Detail

      • TagCategory

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

        public TagCategory​(Id id,
                           java.util.List<I18NLabel> displayNames,
                           java.util.List<Id> tags,
                           java.lang.String icon,
                           java.lang.String description,
                           java.lang.Boolean visible,
                           java.lang.Boolean inline,
                           java.lang.Boolean reduced)
        Fully-initialising value constructor
    • Method Detail

      • getDisplayNames

        public java.util.List<I18NLabel> getDisplayNames()
        Gets the value of the displayNames 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 displayNames property. <p> For example, to add a new item, do as follows: <pre> getDisplayNames().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list I18NLabel <p> Internationalized names of the tag
      • getTags

        public java.util.List<Id> getTags()
        Gets the value of the tags 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 tags property. <p> For example, to add a new item, do as follows: <pre> getTags().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list Id <p> The list of the tags for this category
      • getIcon

        public java.lang.String getIcon()
        Gets the value of the icon property. <p> Icon corresponding to the tag
        Returns:
        possible object is String
      • setIcon

        public void setIcon​(java.lang.String value)
        Sets the value of the icon property.
        Parameters:
        value - allowed object is String
        See Also:
        getIcon()
      • getDescription

        public java.lang.String getDescription()
        Gets the value of the description property. <p> Description corresponding to the tag
        Returns:
        possible object is String
      • setDescription

        public void setDescription​(java.lang.String value)
        Sets the value of the description property.
        Parameters:
        value - allowed object is String
        See Also:
        getDescription()
      • isVisible

        public boolean isVisible()
        Gets the value of the visible property. <p> Determines if the tag is visible or not
        Returns:
        possible object is Boolean
      • setVisible

        public void setVisible​(java.lang.Boolean value)
        Sets the value of the visible property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isVisible()
      • isInline

        public boolean isInline()
        Gets the value of the inline property. <p> Determines if the tag's references should be displayed as inline
        Returns:
        possible object is Boolean
      • setInline

        public void setInline​(java.lang.Boolean value)
        Sets the value of the inline property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isInline()
      • isReduced

        public boolean isReduced()
        Gets the value of the reduced property. <p> Determines if the tag is currently reduced or not
        Returns:
        possible object is Boolean
      • setReduced

        public void setReduced​(java.lang.Boolean value)
        Sets the value of the reduced property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isReduced()
      • 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
      • setTags

        public void setTags​(java.util.List<Id> value)
        See Also:
        getTags()