Package com.flower.docs.domain.taskclass
Class ReasonedAnswerDefinition
- java.lang.Object
-
- com.flower.docs.domain.common.IdentifiableElement
-
- com.flower.docs.domain.taskclass.Answer
-
- com.flower.docs.domain.taskclass.ReasonedAnswerDefinition
-
- All Implemented Interfaces:
java.io.Serializable
public class ReasonedAnswerDefinition extends Answer implements java.io.Serializable
<p>Java class for ReasonedAnswerDefinition complex type. <p>The following schema fragment specifies the expected content contained within this class. <pre> <complexType name="ReasonedAnswerDefinition"> <complexContent> <extension base="{http://flower.com/docs/domain/taskclass}Answer"> <sequence> <element name="reasons" type="{http://flower.com/docs/domain/taskclass}Reason" maxOccurs="unbounded"/> <element name="targetStatus" type="{http://flower.com/docs/domain/common}Status" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </pre>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<Reason>
reasons
The reasons of the answerprotected Status
targetStatus
The status to apply on the task at answer processing-
Fields inherited from class com.flower.docs.domain.taskclass.Answer
confirmationMessages, displayNames, icon
-
Fields inherited from class com.flower.docs.domain.common.IdentifiableElement
id
-
-
Constructor Summary
Constructors Constructor Description ReasonedAnswerDefinition()
Default no-arg constructor abcReasonedAnswerDefinition(Id id, java.util.List<I18NLabel> displayNames, java.util.List<I18NLabel> confirmationMessages, java.util.List<Reason> reasons, Status targetStatus)
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<Reason>
getReasons()
Gets the value of the reasons property.Status
getTargetStatus()
Gets the value of the targetStatus property.int
hashCode()
void
setReasons(java.util.List<Reason> value)
void
setTargetStatus(Status value)
Sets the value of the targetStatus property.java.lang.String
toString()
-
Methods inherited from class com.flower.docs.domain.taskclass.Answer
getConfirmationMessages, getDisplayNames, getIcon, setConfirmationMessages, setDisplayNames, setIcon
-
Methods inherited from class com.flower.docs.domain.common.IdentifiableElement
getId, setId
-
-
-
-
Method Detail
-
getReasons
public java.util.List<Reason> getReasons()
Gets the value of the reasons 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 reasons property. <p> For example, to add a new item, do as follows: <pre> getReasons().add(newItem); </pre> <p> Objects of the following type(s) are allowed in the listReason
<p> The reasons of the answer
-
getTargetStatus
public Status getTargetStatus()
Gets the value of the targetStatus property. <p> The status to apply on the task at answer processing- Returns:
- possible object is
Status
-
setTargetStatus
public void setTargetStatus(Status value)
Sets the value of the targetStatus property.- Parameters:
value
- allowed object isStatus
- See Also:
getTargetStatus()
-
setReasons
public void setReasons(java.util.List<Reason> value)
- See Also:
getReasons()
-
-