Package com.flower.docs.domain.tagclass
Class ConditionalAllowedValue
- java.lang.Object
-
- com.flower.docs.domain.tagclass.AllowedValue
-
- com.flower.docs.domain.tagclass.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> <complexType name="ConditionalAllowedValue"> <complexContent> <extension base="{http://flower.com/docs/domain/tagclass}AllowedValue"> <sequence> <element name="conditions" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.String>conditionsThe conditions which can restrict this allowed value and/or its children-
Fields inherited from class com.flower.docs.domain.tagclass.AllowedValue
allowedValues, displayNames, symbolicName
-
-
Constructor Summary
Constructors Constructor Description ConditionalAllowedValue()Default no-arg constructor abcConditionalAllowedValue(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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object other)java.util.List<java.lang.String>getConditions()Gets the value of the conditions property.inthashCode()voidsetConditions(java.util.List<java.lang.String> value)java.lang.StringtoString()-
Methods inherited from class com.flower.docs.domain.tagclass.AllowedValue
getAllowedValues, getDisplayNames, getSymbolicName, setAllowedValues, setDisplayNames, setSymbolicName
-
-
-
-
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 listString<p> The conditions which can restrict this allowed value and/or its children
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAllowedValue
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAllowedValue
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classAllowedValue
-
setConditions
public void setConditions(java.util.List<java.lang.String> value)
- See Also:
getConditions()
-
-