Package com.flower.docs.domain.tagclass
Class AllowedValue
- java.lang.Object
-
- com.flower.docs.domain.tagclass.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> <complexType name="AllowedValue"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element name="allowedValues" type="{http://flower.com/docs/domain/tagclass}AllowedValue" maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute name="symbolicName" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<AllowedValue>
allowedValues
protected java.util.List<I18NLabel>
displayNames
Internationalized names of the allowed valueprotected java.lang.String
symbolicName
The symbolic name of a tag allowed value
-
Constructor Summary
Constructors Constructor Description AllowedValue()
Default no-arg constructor abcAllowedValue(java.util.List<I18NLabel> displayNames, java.util.List<AllowedValue> allowedValues, java.lang.String symbolicName)
Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.List<AllowedValue>
getAllowedValues()
Gets the value of the allowedValues property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.java.lang.String
getSymbolicName()
Gets the value of the symbolicName property.int
hashCode()
void
setAllowedValues(java.util.List<AllowedValue> value)
void
setDisplayNames(java.util.List<I18NLabel> value)
void
setSymbolicName(java.lang.String value)
Sets the value of the symbolicName property.java.lang.String
toString()
-
-
-
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 listI18NLabel
<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 listAllowedValue
-
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 isString
- See Also:
getSymbolicName()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
setDisplayNames
public void setDisplayNames(java.util.List<I18NLabel> value)
- See Also:
getDisplayNames()
-
setAllowedValues
public void setAllowedValues(java.util.List<AllowedValue> value)
-
-