Package com.flower.docs.domain.taskclass
Class Reason
- java.lang.Object
-
- com.flower.docs.domain.taskclass.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> <complexType name="Reason"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="descriptions" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded" minOccurs="0"/> <element name="pattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> <attribute name="tagName" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="mandatory" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="multivalued" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" /> <attribute name="order" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /> <attribute name="defaultValue" 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.lang.String
defaultValue
The default value of each tag instancesprotected java.util.List<I18NLabel>
descriptions
Internationalized descriptions of the reason usageprotected java.lang.Boolean
mandatory
Determines if the referenced tag class is mandatory or notprotected java.lang.Boolean
multivalued
Determines if the referenced tag class is multivaled or monovaluedprotected int
order
The display order of the referenced tag classprotected 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 abcReason(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()
-
-
-
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 listI18NLabel
<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 isString
- 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 isString
- 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 isBoolean
- 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 isBoolean
- 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 isString
- See Also:
getDefaultValue()
-
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
-
setDescriptions
public void setDescriptions(java.util.List<I18NLabel> value)
- See Also:
getDescriptions()
-
-