com.evolveum.midpoint.xml.ns._public.communication.workflow_1
Class WfProcessInstanceEventType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.communication.workflow_1.WfProcessInstanceEventType
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Direct Known Subclasses:
WfProcessInstanceFinishedEventType, WfProcessInstanceStartedEventType

public class WfProcessInstanceEventType
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

This is a data structure that describes a general event sent from WfMS to midPoint, which concerns a process instance. It is either generated at process instance start (WfProcessInstanceStartedEventType), at its end (WfProcessInstanceFinishedEventType), or at other place, during process execution (WfProcessInstanceEventType). The first two are subtypes of the third one.

Java class for WfProcessInstanceEventType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="WfProcessInstanceEventType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element ref="{http://midpoint.evolveum.com/xml/ns/public/communication/workflow-1.xsd}WfProcessVariable" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="wfProcessInstanceId" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="wfStateDescription" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="wfAnswer" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="answerToQuery" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
       <attribute name="midpointTaskOid" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.lang.Boolean answerToQuery
           
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_ANSWER_TO_QUERY
           
static javax.xml.namespace.QName F_MIDPOINT_TASK_OID
           
static javax.xml.namespace.QName F_WF_ANSWER
           
static javax.xml.namespace.QName F_WF_PROCESS_INSTANCE_ID
           
static javax.xml.namespace.QName F_WF_PROCESS_VARIABLE
           
static javax.xml.namespace.QName F_WF_STATE_DESCRIPTION
           
protected  java.lang.String midpointTaskOid
           
protected  java.lang.String wfAnswer
           
protected  java.lang.String wfProcessInstanceId
           
protected  java.util.List<WfProcessVariable> wfProcessVariable
           
protected  java.lang.String wfStateDescription
           
 
Constructor Summary
WfProcessInstanceEventType()
          Creates a new WfProcessInstanceEventType instance.
WfProcessInstanceEventType(WfProcessInstanceEventType o)
          Creates a new WfProcessInstanceEventType instance by deeply copying a given WfProcessInstanceEventType instance.
 
Method Summary
 WfProcessInstanceEventType clone()
          Creates and returns a deep copy of this object.
 boolean equals(java.lang.Object object)
           
 boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, java.lang.Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
           
 java.lang.String getMidpointTaskOid()
          Gets the value of the midpointTaskOid property.
 java.lang.String getWfAnswer()
          Gets the value of the wfAnswer property.
 java.lang.String getWfProcessInstanceId()
          Gets the value of the wfProcessInstanceId property.
 java.util.List<WfProcessVariable> getWfProcessVariable()
          A list of process instance variables.
 java.lang.String getWfStateDescription()
          Gets the value of the wfStateDescription property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 boolean isAnswerToQuery()
          Gets the value of the answerToQuery property.
 void setAnswerToQuery(java.lang.Boolean value)
          Sets the value of the answerToQuery property.
 void setMidpointTaskOid(java.lang.String value)
          Sets the value of the midpointTaskOid property.
 void setWfAnswer(java.lang.String value)
          Sets the value of the wfAnswer property.
 void setWfProcessInstanceId(java.lang.String value)
          Sets the value of the wfProcessInstanceId property.
 void setWfStateDescription(java.lang.String value)
          Sets the value of the wfStateDescription property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

wfProcessVariable

protected java.util.List<WfProcessVariable> wfProcessVariable

wfProcessInstanceId

protected java.lang.String wfProcessInstanceId

wfStateDescription

protected java.lang.String wfStateDescription

wfAnswer

protected java.lang.String wfAnswer

answerToQuery

protected java.lang.Boolean answerToQuery

midpointTaskOid

protected java.lang.String midpointTaskOid

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_WF_PROCESS_VARIABLE

public static final javax.xml.namespace.QName F_WF_PROCESS_VARIABLE

F_WF_PROCESS_INSTANCE_ID

public static final javax.xml.namespace.QName F_WF_PROCESS_INSTANCE_ID

F_WF_STATE_DESCRIPTION

public static final javax.xml.namespace.QName F_WF_STATE_DESCRIPTION

F_WF_ANSWER

public static final javax.xml.namespace.QName F_WF_ANSWER

F_ANSWER_TO_QUERY

public static final javax.xml.namespace.QName F_ANSWER_TO_QUERY

F_MIDPOINT_TASK_OID

public static final javax.xml.namespace.QName F_MIDPOINT_TASK_OID
Constructor Detail

WfProcessInstanceEventType

public WfProcessInstanceEventType()
Creates a new WfProcessInstanceEventType instance.


WfProcessInstanceEventType

public WfProcessInstanceEventType(WfProcessInstanceEventType o)
Creates a new WfProcessInstanceEventType instance by deeply copying a given WfProcessInstanceEventType instance.

Parameters:
o - The instance to copy.
Throws:
java.lang.NullPointerException - if o is null.
Method Detail

getWfProcessVariable

public java.util.List<WfProcessVariable> getWfProcessVariable()
A list of process instance variables. Gets the value of the wfProcessVariable property.

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 set method for the wfProcessVariable property.

For example, to add a new item, do as follows:

    getWfProcessVariable().add(newItem);
 

Objects of the following type(s) are allowed in the list WfProcessVariable


getWfProcessInstanceId

public java.lang.String getWfProcessInstanceId()
Gets the value of the wfProcessInstanceId property.

Returns:
possible object is String

setWfProcessInstanceId

public void setWfProcessInstanceId(java.lang.String value)
Sets the value of the wfProcessInstanceId property.

Parameters:
value - allowed object is String

getWfStateDescription

public java.lang.String getWfStateDescription()
Gets the value of the wfStateDescription property.

Returns:
possible object is String

setWfStateDescription

public void setWfStateDescription(java.lang.String value)
Sets the value of the wfStateDescription property.

Parameters:
value - allowed object is String

getWfAnswer

public java.lang.String getWfAnswer()
Gets the value of the wfAnswer property.

Returns:
possible object is String

setWfAnswer

public void setWfAnswer(java.lang.String value)
Sets the value of the wfAnswer property.

Parameters:
value - allowed object is String

isAnswerToQuery

public boolean isAnswerToQuery()
Gets the value of the answerToQuery property.

Returns:
possible object is Boolean

setAnswerToQuery

public void setAnswerToQuery(java.lang.Boolean value)
Sets the value of the answerToQuery property.

Parameters:
value - allowed object is Boolean

getMidpointTaskOid

public java.lang.String getMidpointTaskOid()
Gets the value of the midpointTaskOid property.

Returns:
possible object is String

setMidpointTaskOid

public void setMidpointTaskOid(java.lang.String value)
Sets the value of the midpointTaskOid property.

Parameters:
value - allowed object is String

toString

public java.lang.String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                    org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
                      org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
                      java.lang.Object object,
                      org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

clone

public WfProcessInstanceEventType clone()
Creates and returns a deep copy of this object.

Overrides:
clone in class java.lang.Object
Returns:
A deep copy of this object.


Copyright © 2012 evolveum. All Rights Reserved.