Class TagClass

  • All Implemented Interfaces:
    java.io.Serializable

    public class TagClass
    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="data" type="{http://flower.com/docs/domain/common}Data"/&gt; &lt;element name="type" type="{http://flower.com/docs/domain/tagclass}TagValueType"/&gt; &lt;element name="allowedValues" type="{http://flower.com/docs/domain/tagclass}AllowedValue" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/&gt; &lt;element name="searchable" type="{http://www.w3.org/2001/XMLSchema}boolean"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • data

        protected Data data
        System data of the tag class
      • type

        protected TagValueType type
        The value type of the tag
      • allowedValues

        protected java.util.List<AllowedValue> allowedValues
      • pattern

        protected java.lang.String pattern
        The regular expression used to validate tag values
      • displayNames

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

        protected boolean searchable
        Define if the tag is searchable or not
    • Constructor Detail

      • TagClass

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

        public TagClass​(Id id,
                        Data data,
                        TagValueType type,
                        java.util.List<AllowedValue> allowedValues,
                        java.lang.String pattern,
                        java.util.List<I18NLabel> displayNames,
                        boolean searchable)
        Fully-initialising value constructor
    • Method Detail

      • getData

        public Data getData()
        Gets the value of the data property. <p> System data of the tag class
        Returns:
        possible object is Data
      • setData

        public void setData​(Data value)
        Sets the value of the data property.
        Parameters:
        value - allowed object is Data
        See Also:
        getData()
      • getType

        public TagValueType getType()
        Gets the value of the type property. <p> The value type of the tag
        Returns:
        possible object is TagValueType
      • getAllowedValues

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

        public java.lang.String getPattern()
        Gets the value of the pattern property. <p> The regular expression used to validate tag values
        Returns:
        possible object is String
      • setPattern

        public void setPattern​(java.lang.String value)
        Sets the value of the pattern property.
        Parameters:
        value - allowed object is String
        See Also:
        getPattern()
      • 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
      • isSearchable

        public boolean isSearchable()
        Gets the value of the searchable property. <p> Define if the tag is searchable or not
      • setSearchable

        public void setSearchable​(boolean value)
        Sets the value of the searchable property.
        See Also:
        isSearchable()
      • 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
      • setAllowedValues

        public void setAllowedValues​(java.util.List<AllowedValue> value)