com.evolveum.midpoint.xml.ns._public.common.common_1
Class ModelOperationStateType

java.lang.Object
  extended by com.evolveum.midpoint.xml.ns._public.common.common_1.ModelOperationStateType
All Implemented Interfaces:
java.io.Serializable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode

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

A state of a (possibly long-running) operation within the model. The purpose of this data structure is to keep a state of a possibly long-running operation at the level of the model. It is expected to be stored within a task, and used by ModelController to (1) remember its state between invocation of various hooks, which may interrupt the operation execution and defer it until some event occurs (e.g. the workflow hook, which may request a user approval in order to the operation be continued) (2) *MAYBE* transfer information between ModelControl and its hooks EXPERIMENTAL. This type may change.

Java class for ModelOperationStateType complex type.

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

 <complexType name="ModelOperationStateType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="kindOfOperation" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ModelOperationKindType"/>
         <element name="stage" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-1.xsd}ModelOperationStageType"/>
         <element name="operationData" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
static javax.xml.namespace.QName COMPLEX_TYPE
           
static javax.xml.namespace.QName F_KIND_OF_OPERATION
           
static javax.xml.namespace.QName F_OPERATION_DATA
           
static javax.xml.namespace.QName F_STAGE
           
protected  ModelOperationKindType kindOfOperation
           
protected  java.lang.String operationData
           
protected  ModelOperationStageType stage
           
 
Constructor Summary
ModelOperationStateType()
           
 
Method Summary
 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)
           
 ModelOperationKindType getKindOfOperation()
          Gets the value of the kindOfOperation property.
 java.lang.String getOperationData()
          Gets the value of the operationData property.
 ModelOperationStageType getStage()
          Gets the value of the stage property.
 int hashCode()
           
 int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
           
 void setKindOfOperation(ModelOperationKindType value)
          Sets the value of the kindOfOperation property.
 void setOperationData(java.lang.String value)
          Sets the value of the operationData property.
 void setStage(ModelOperationStageType value)
          Sets the value of the stage property.
 java.lang.String toString()
          Generates a String representation of the contents of this type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

kindOfOperation

protected ModelOperationKindType kindOfOperation

stage

protected ModelOperationStageType stage

operationData

protected java.lang.String operationData

COMPLEX_TYPE

public static final javax.xml.namespace.QName COMPLEX_TYPE

F_KIND_OF_OPERATION

public static final javax.xml.namespace.QName F_KIND_OF_OPERATION

F_STAGE

public static final javax.xml.namespace.QName F_STAGE

F_OPERATION_DATA

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

ModelOperationStateType

public ModelOperationStateType()
Method Detail

getKindOfOperation

public ModelOperationKindType getKindOfOperation()
Gets the value of the kindOfOperation property.

Returns:
possible object is ModelOperationKindType

setKindOfOperation

public void setKindOfOperation(ModelOperationKindType value)
Sets the value of the kindOfOperation property.

Parameters:
value - allowed object is ModelOperationKindType

getStage

public ModelOperationStageType getStage()
Gets the value of the stage property.

Returns:
possible object is ModelOperationStageType

setStage

public void setStage(ModelOperationStageType value)
Sets the value of the stage property.

Parameters:
value - allowed object is ModelOperationStageType

getOperationData

public java.lang.String getOperationData()
Gets the value of the operationData property.

Returns:
possible object is String

setOperationData

public void setOperationData(java.lang.String value)
Sets the value of the operationData 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


Copyright © 2012 evolveum. All Rights Reserved.