Class Reason

  • All Implemented Interfaces:
    java.io.Serializable

    public class Reason
    extends java.lang.Object
    implements java.io.Serializable
    <p>Java class for Reason complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="Reason"&gt; &lt;complexContent&gt; &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt; &lt;sequence&gt; &lt;element name="descriptions" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded" minOccurs="0"/&gt; &lt;element name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;attribute name="tagName" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;attribute name="mandatory" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; &lt;attribute name="multivalued" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /&gt; &lt;attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt; &lt;attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" /&gt; &lt;/restriction&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String defaultValue
      The default value of each tag instances
      protected java.util.List<I18NLabel> descriptions
      Internationalized descriptions of the reason usage
      protected java.lang.Boolean mandatory
      Determines if the referenced tag class is mandatory or not
      protected java.lang.Boolean multivalued
      Determines if the referenced tag class is multivaled or monovalued
      protected int order
      The display order of the referenced tag class
      protected java.lang.String pattern
      The regular expression used to validate answers values.
      protected java.lang.String tagName
      The id value of the referenced tag class
    • Constructor Summary

      Constructors 
      Constructor Description
      Reason()
      Default no-arg constructor abc
      Reason​(java.util.List<I18NLabel> descriptions, java.lang.String pattern, java.lang.String tagName, java.lang.Boolean mandatory, java.lang.Boolean multivalued, int order, java.lang.String defaultValue)
      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 getDefaultValue()
      Gets the value of the defaultValue property.
      java.util.List<I18NLabel> getDescriptions()
      Gets the value of the descriptions property.
      int getOrder()
      Gets the value of the order property.
      java.lang.String getPattern()
      Gets the value of the pattern property.
      java.lang.String getTagName()
      Gets the value of the tagName property.
      int hashCode()  
      boolean isMandatory()
      Gets the value of the mandatory property.
      boolean isMultivalued()
      Gets the value of the multivalued property.
      void setDefaultValue​(java.lang.String value)
      Sets the value of the defaultValue property.
      void setDescriptions​(java.util.List<I18NLabel> value)  
      void setMandatory​(java.lang.Boolean value)
      Sets the value of the mandatory property.
      void setMultivalued​(java.lang.Boolean value)
      Sets the value of the multivalued property.
      void setOrder​(int value)
      Sets the value of the order property.
      void setPattern​(java.lang.String value)
      Sets the value of the pattern property.
      void setTagName​(java.lang.String value)
      Sets the value of the tagName property.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • descriptions

        protected java.util.List<I18NLabel> descriptions
        Internationalized descriptions of the reason usage
      • pattern

        protected java.lang.String pattern
        The regular expression used to validate answers values. If the pattern is set, it overrides pattern defines at the tag class level
      • tagName

        protected java.lang.String tagName
        The id value of the referenced tag class
      • mandatory

        protected java.lang.Boolean mandatory
        Determines if the referenced tag class is mandatory or not
      • multivalued

        protected java.lang.Boolean multivalued
        Determines if the referenced tag class is multivaled or monovalued
      • order

        protected int order
        The display order of the referenced tag class
      • defaultValue

        protected java.lang.String defaultValue
        The default value of each tag instances
    • Constructor Detail

      • Reason

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

        public Reason​(java.util.List<I18NLabel> descriptions,
                      java.lang.String pattern,
                      java.lang.String tagName,
                      java.lang.Boolean mandatory,
                      java.lang.Boolean multivalued,
                      int order,
                      java.lang.String defaultValue)
        Fully-initialising value constructor
    • Method Detail

      • getDescriptions

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

        public java.lang.String getPattern()
        Gets the value of the pattern property. <p> The regular expression used to validate answers values. If the pattern is set, it overrides pattern defines at the tag class level
        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()
      • getTagName

        public java.lang.String getTagName()
        Gets the value of the tagName property. <p> The id value of the referenced tag class
        Returns:
        possible object is String
      • setTagName

        public void setTagName​(java.lang.String value)
        Sets the value of the tagName property.
        Parameters:
        value - allowed object is String
        See Also:
        getTagName()
      • isMandatory

        public boolean isMandatory()
        Gets the value of the mandatory property. <p> Determines if the referenced tag class is mandatory or not
        Returns:
        possible object is Boolean
      • setMandatory

        public void setMandatory​(java.lang.Boolean value)
        Sets the value of the mandatory property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isMandatory()
      • isMultivalued

        public boolean isMultivalued()
        Gets the value of the multivalued property. <p> Determines if the referenced tag class is multivaled or monovalued
        Returns:
        possible object is Boolean
      • setMultivalued

        public void setMultivalued​(java.lang.Boolean value)
        Sets the value of the multivalued property.
        Parameters:
        value - allowed object is Boolean
        See Also:
        isMultivalued()
      • getOrder

        public int getOrder()
        Gets the value of the order property. <p> The display order of the referenced tag class
      • setOrder

        public void setOrder​(int value)
        Sets the value of the order property.
        See Also:
        getOrder()
      • getDefaultValue

        public java.lang.String getDefaultValue()
        Gets the value of the defaultValue property. <p> The default value of each tag instances
        Returns:
        possible object is String
      • setDefaultValue

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