Class ReasonedAnswerDefinition

  • All Implemented Interfaces:

    public class ReasonedAnswerDefinition
    extends Answer
    <p>Classe Java pour ReasonedAnswerDefinition complex type. <p>Le fragment de schéma suivant indique le contenu attendu figurant dans cette classe. <pre> &lt;complexType name="ReasonedAnswerDefinition"&gt; &lt;complexContent&gt; &lt;extension base="{}Answer"&gt; &lt;sequence&gt; &lt;element name="reasons" type="{}Reason" maxOccurs="unbounded"/&gt; &lt;element name="targetStatus" type="{}Status" minOccurs="0"/&gt; &lt;/sequence&gt; &lt;/extension&gt; &lt;/complexContent&gt; &lt;/complexType&gt; </pre>
    See Also:
    Serialized Form
    • Field Detail

      • reasons

        protected java.util.List<Reason> reasons
        The reasons of the answer
      • targetStatus

        protected Status targetStatus
        The status to apply on the task at answer processing
    • Constructor Detail

      • ReasonedAnswerDefinition

        public ReasonedAnswerDefinition()
        Default no-arg constructor abc
      • ReasonedAnswerDefinition

        public ReasonedAnswerDefinition​(Id id,
                                        java.util.List<I18NLabel> displayNames,
                                        java.util.List<I18NLabel> confirmationMessages,
                                        java.util.List<Reason> reasons,
                                        Status targetStatus)
    • 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 list Reason <p> The reasons of the answer
      • getTargetStatus

        public Status getTargetStatus()
        Obtient la valeur de la propriété targetStatus. <p> The status to apply on the task at answer processing
        possible object is Status
      • setTargetStatus

        public void setTargetStatus​(Status value)
        Définit la valeur de la propriété targetStatus.
        value - allowed object is Status
        See Also:
      • toString

        public java.lang.String toString()
        toString in class Answer
      • hashCode

        public int hashCode()
        hashCode in class Answer
      • equals

        public boolean equals​(java.lang.Object other)
        equals in class Answer
      • setReasons

        public void setReasons​(java.util.List<Reason> value)
        See Also: