Package com.flower.docs.domain.taskclass
Class Answer
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.taskclass.Answer
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
ReasonedAnswer
,ReasonedAnswerDefinition
public class Answer extends IdentifiableElement implements java.io.Serializable
The definition of an answer which can be executed on a task instance <p>Classe Java pour Answer complex type. <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. <pre> <complexType name="Answer"> <complexContent> <extension base="{http://flower.com/docs/domain/common}IdentifiableElement"> <sequence> <element name="displayNames" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded"/> <element name="confirmationMessages" type="{http://flower.com/docs/domain/i18n}I18NLabel" maxOccurs="unbounded" minOccurs="0"/> <element name="icon" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="attributes" type="{http://flower.com/docs/domain/common}IdentifiableString" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<IdentifiableString>
attributes
protected java.util.List<I18NLabel>
confirmationMessages
protected java.util.List<I18NLabel>
displayNames
protected java.lang.String
icon
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object other)
java.util.List<IdentifiableString>
getAttributes()
Gets the value of the attributes property.java.util.List<I18NLabel>
getConfirmationMessages()
Gets the value of the confirmationMessages property.java.util.List<I18NLabel>
getDisplayNames()
Gets the value of the displayNames property.java.lang.String
getIcon()
Obtient la valeur de la propriété icon.int
hashCode()
void
setAttributes(java.util.List<IdentifiableString> value)
void
setConfirmationMessages(java.util.List<I18NLabel> value)
void
setDisplayNames(java.util.List<I18NLabel> value)
void
setIcon(java.lang.String value)
Définit la valeur de la propriété icon.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Field Detail
-
displayNames
protected java.util.List<I18NLabel> displayNames
-
confirmationMessages
protected java.util.List<I18NLabel> confirmationMessages
-
icon
protected java.lang.String icon
-
attributes
protected java.util.List<IdentifiableString> attributes
-
-
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
-
getConfirmationMessages
public java.util.List<I18NLabel> getConfirmationMessages()
Gets the value of the confirmationMessages 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 confirmationMessages property. <p> For example, to add a new item, do as follows: <pre> getConfirmationMessages().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listI18NLabel
-
getIcon
public java.lang.String getIcon()
Obtient la valeur de la propriété icon.- Returns:
- possible object is
String
-
setIcon
public void setIcon(java.lang.String value)
Définit la valeur de la propriété icon.- Parameters:
value
- allowed object isString
-
getAttributes
public java.util.List<IdentifiableString> getAttributes()
Gets the value of the attributes 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 attributes property. <p> For example, to add a new item, do as follows: <pre> getAttributes().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listIdentifiableString
-
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)
-
setConfirmationMessages
public void setConfirmationMessages(java.util.List<I18NLabel> value)
-
setAttributes
public void setAttributes(java.util.List<IdentifiableString> value)
-
-