Class AllowedValue

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    AllowedValueWithIcon, ConditionalAllowedValue

    public class AllowedValue
    extends java.lang.Object
    implements java.io.Serializable
    An allowed value for a tag <p>Java class for AllowedValue complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="AllowedValue"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/&gt; &lt;element name="allowedValues" type="{http://flower.com/docs/domain/tagclass}AllowedValue" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute name="symbolicName" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • displayNames

        protected java.util.List<I18NLabel> displayNames
        Internationalized names of the allowed value
      • allowedValues

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

        protected java.lang.String symbolicName
        The symbolic name of a tag allowed value
    • Constructor Detail

      • AllowedValue

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

        public AllowedValue​(java.util.List<I18NLabel> displayNames,
                            java.util.List<AllowedValue> allowedValues,
                            java.lang.String symbolicName)
        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 allowed value
      • 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
      • getSymbolicName

        public java.lang.String getSymbolicName()
        Gets the value of the symbolicName property. <p> The symbolic name of a tag allowed value
        Returns:
        possible object is String
      • setSymbolicName

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