Class ConditionalAllowedValue

  • All Implemented Interfaces:
    java.io.Serializable

    public class ConditionalAllowedValue
    extends AllowedValue
    implements java.io.Serializable
    An allowed value which is conditioned. This type of allowed value must be used with a CONDTIONAL value type <p>Java class for ConditionalAllowedValue complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> &lt;complexType name="ConditionalAllowedValue"&gt; &lt;complexContent&gt; &lt;extension base="{http://flower.com/docs/domain/tagclass}AllowedValue"&gt; &lt;sequence&gt; &lt;element name="conditions" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • conditions

        protected java.util.List<java.lang.String> conditions
        The conditions which can restrict this allowed value and/or its children
    • Constructor Detail

      • ConditionalAllowedValue

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

        public ConditionalAllowedValue​(java.util.List<I18NLabel> displayNames,
                                       java.util.List<AllowedValue> allowedValues,
                                       java.lang.String symbolicName,
                                       java.util.List<java.lang.String> conditions)
        Fully-initialising value constructor
    • Method Detail

      • getConditions

        public java.util.List<java.lang.String> getConditions()
        Gets the value of the conditions 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 conditions property. <p> For example, to add a new item, do as follows: <pre> getConditions().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the list String <p> The conditions which can restrict this allowed value and/or its children
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class AllowedValue
      • setConditions

        public void setConditions​(java.util.List<java.lang.String> value)
        See Also:
        getConditions()