atg.process
Class ProcessElementInfo

java.lang.Object
  extended by atg.process.ProcessElementInfo
All Implemented Interfaces:
java.io.Serializable

public class ProcessElementInfo
extends java.lang.Object
implements java.io.Serializable

Points to a single process element. The status of the element indicates whether we are waiting for it to fire, or if it has already occurred/been executed.

See Also:
ProcessElementInfo, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
          Class version string
static int COMPLETED
          Completed status
static java.lang.String INITIAL_ELEMENT_ID
          Used as the element id of the implicit initial element
static int WAITING
          Waiting status
 
Constructor Summary
ProcessElementInfo()
          Creates a new ProcessElementInfo.
ProcessElementInfo(java.lang.String pElementId, int pElementStatus)
          Creates a new ProcessElementInfo with the given element id and status.
 
Method Summary
 boolean equals(java.lang.Object pObject)
          Returns true if the given object is a ProcessElementInfo with the same property values.
 java.lang.String getElementId()
          Returns the element id as it appears in the process definition.
 int getElementStatus()
          Returns the element status, one of WAITING or COMPLETED.
 int hashCode()
          Computes the hash code for this ProcessElementInfo.
 void setElementId(java.lang.String pElementId)
          Sets the element id as it appears in the process definition.
 void setElementStatus(int pElementStatus)
          Sets the element status, one of WAITING or COMPLETED.
 java.lang.String toString()
          Returns a String representation of this ProcessElementInfo.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


INITIAL_ELEMENT_ID

public static final java.lang.String INITIAL_ELEMENT_ID
Used as the element id of the implicit initial element

See Also:
Constant Field Values

WAITING

public static final int WAITING
Waiting status

See Also:
Constant Field Values

COMPLETED

public static final int COMPLETED
Completed status

See Also:
Constant Field Values
Constructor Detail

ProcessElementInfo

public ProcessElementInfo()
Creates a new ProcessElementInfo.


ProcessElementInfo

public ProcessElementInfo(java.lang.String pElementId,
                          int pElementStatus)
Creates a new ProcessElementInfo with the given element id and status.

Method Detail

getElementId

public java.lang.String getElementId()
Returns the element id as it appears in the process definition.


setElementId

public void setElementId(java.lang.String pElementId)
Sets the element id as it appears in the process definition.


getElementStatus

public int getElementStatus()
Returns the element status, one of WAITING or COMPLETED.


setElementStatus

public void setElementStatus(int pElementStatus)
Sets the element status, one of WAITING or COMPLETED.


equals

public boolean equals(java.lang.Object pObject)
Returns true if the given object is a ProcessElementInfo with the same property values.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Computes the hash code for this ProcessElementInfo.

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Returns a String representation of this ProcessElementInfo.

Overrides:
toString in class java.lang.Object