oracle.apps.fnd.wf.design
Class ProcessActivity

java.lang.Object
  |
  +--oracle.apps.fnd.wf.common.Element
        |
        +--oracle.apps.fnd.wf.common.BaseComponent
              |
              +--oracle.apps.fnd.wf.design.DesignBaseComponent
                    |
                    +--oracle.apps.fnd.wf.design.ProcessActivity

public class ProcessActivity
extends DesignBaseComponent

ProcessActivity is the container for the workflow process.


Field Summary
static java.lang.String RCS_ID
           
static boolean RCS_ID_RECORDED
           
 
Fields inherited from class oracle.apps.fnd.wf.common.Element
ELEMENT_DB_CREATED, ELEMENT_DB_CREATING, ELEMENT_DB_DIRTY, ELEMENT_DB_LOADED, ELEMENT_DB_LOADING, ELEMENT_DB_NOT_INITIALIZED, ELEMENT_DB_SAVED, ELEMENT_DB_SAVING
 
Constructor Summary
ProcessActivity()
          Use this constructor only if the process activity name is not available.
ProcessActivity(Activity activity)
          Use this constructor if the assoicated activity is available.
ProcessActivity(java.lang.String id)
          Use this constructor if the process activity name is available.
 
Method Summary
 java.lang.Object clone()
          Creates another process activity base on the current activity.
 BaseComponent createRuntimeInstance(WorkflowContext ctx)
          Creates a runtime instance of this process activity.
 Activity getActivity()
          Returns the activity associate with this function.
 AttributeValue getAttributeValue(java.lang.String pAttribute)
          Returns the attribute value of this process activity that matches the given attribute name.
 java.util.Iterator getAttributeValues()
          Returns the iterator points to the list of attribute values associate with this process activity.
 java.lang.String getComment()
          Returns the comment.
 java.lang.String getDefaultResult()
          Returns the default result code.
 java.lang.String getIconGeometry()
          Returns the coordination of the icon for this process activity.
 java.lang.String getIconName()
          Returns the icon name.
 java.util.Iterator getInboundTransitions()
          Returns the iterator that points to a list of inbound transition(s).
 java.lang.String getItemType()
          Returns the item type name associates with this process activity.
 java.lang.String getName()
          Returns the process activity name.
 java.lang.String getNodeType()
          Returns the node type of this process activity.
 java.lang.String getPerformerName()
          Returns the performer name of this process activity.
 java.lang.String getPriorityType()
          Returns the #PRIORITY attribute type.
 java.lang.String getPriorityValue()
          Returns the #PRIORITY attribute value.
 Process getProcess()
          Returns the parent process of this process activity.
 java.lang.String getTimeOutType()
          Returns the #TIMEOUT attribute type ("CONSTANT" or "ITEMATTR").
 java.lang.String getTimeOutValue()
          Returns the #TIMEOUT attribute value.
 java.util.Iterator getTransitions()
          Returns the iterator that points to a list of transition(s).
 java.util.Iterator getTransitions(ActivityResult pEvent)
          Returns the iterator that points to a list of transition(s) that matches the given event's return code.
 java.lang.String getValueType()
          Returns the value type of this process activity.
 boolean isAStartNode()
          Returns if the node is startable.
 boolean isEndNode()
          Returns if the node is a end node.
 void resolveReference()
          Resolves the Activity reference to the actual Activity if it is not already exist.
 void setActivity(Activity pActivity)
          Setter function for the associated activity.
 void setActivityName(java.lang.String pActivityName)
          Setter function for activity name.
 void setComment(java.lang.String pComment)
          Setter function for the comment.
 void setDefaultResult(java.lang.String pDefaultResult)
          Setter function for the default result code.
 void setIconGeometry(java.lang.String pIconGeometry)
          Setter function for the coordination of the icon for this process activity.
 void setIconName(java.lang.String pIconName)
          Setter function for the icon name.
 void setItemType(java.lang.String pItemType)
          Setter function for the item type name associates with this process activity.
 void setName(java.lang.String pActivityName)
          Setter function for the process activity name.
 void setNodeType(java.lang.String pNodeType)
          Setter function for the node type of this process activity.
 void setPerformerName(java.lang.String pPerformerName)
          Setter function for the performer name of this process activity.
 void setPriorityType(java.lang.String pPriorityType)
          Setter function for the #PRIORITY attribute type.
 void setPriorityValue(java.lang.String pPriorityValue)
          Setter function for the #PRIORITY attribute value.
 void setTimeOutType(java.lang.String pTimeOutType)
          Setter function for the #TIMEOUT attribute type ("*" = "ITEMATTR", or "CONSTANT" otherwise).
 void setTimeOutValue(java.lang.String pTimeOutValue)
          Setter function for the #TIMEOUT attribute value.
 void setValueType(java.lang.String pValueType)
          Setter function for the value type of this process activity.
 
Methods inherited from class oracle.apps.fnd.wf.design.DesignBaseComponent
assign, getAccessController, getAttribute, getAttributes, getDescription, getDisplayName, setDescription, setDisplayName, setResolved, toString
 
Methods inherited from class oracle.apps.fnd.wf.common.BaseComponent
addChild, getChildByTypeAndName, getChildren, getChildrenByName, getChildrenByType, getParent, removeChild, removeChildren
 
Methods inherited from class oracle.apps.fnd.wf.common.Element
create, getDBStatus, getId, load, save, setStore
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID

RCS_ID_RECORDED

public static final boolean RCS_ID_RECORDED
Constructor Detail

ProcessActivity

public ProcessActivity(java.lang.String id)
Use this constructor if the process activity name is available.
Parameters:
id - : Process activity name.

ProcessActivity

public ProcessActivity()
Use this constructor only if the process activity name is not available. Once the process activity name is retrieved, setName() should be used to set the process activity name.

ProcessActivity

public ProcessActivity(Activity activity)
Use this constructor if the assoicated activity is available.
Parameters:
activity - : Process activity.
Method Detail

getName

public java.lang.String getName()
Returns the process activity name.
Overrides:
getName in class BaseComponent
Returns:
Process activity name.

setName

public void setName(java.lang.String pActivityName)
Setter function for the process activity name.
Overrides:
setName in class DesignBaseComponent
Parameters:
pActivityName - : Process activity name.

getActivity

public Activity getActivity()
Returns the activity associate with this function.
Returns:
Activity.

setActivity

public void setActivity(Activity pActivity)
Setter function for the associated activity.
Parameters:
pActivity - : Activity.

getNodeType

public java.lang.String getNodeType()
Returns the node type of this process activity.
Returns:
Node type.

setNodeType

public void setNodeType(java.lang.String pNodeType)
Setter function for the node type of this process activity.
Parameters:
pNodeType - : Node type of this process activity.

getDefaultResult

public java.lang.String getDefaultResult()
Returns the default result code.
Returns:
Default result code.

setDefaultResult

public void setDefaultResult(java.lang.String pDefaultResult)
Setter function for the default result code.
Parameters:
pActivityName - : Default result code.

getComment

public java.lang.String getComment()
Returns the comment.
Returns:
Comment.

setComment

public void setComment(java.lang.String pComment)
Setter function for the comment.
Parameters:
pComment - : Comment.

getTimeOutType

public java.lang.String getTimeOutType()
Returns the #TIMEOUT attribute type ("CONSTANT" or "ITEMATTR").
Returns:
Timeout type.

setTimeOutType

public void setTimeOutType(java.lang.String pTimeOutType)
Setter function for the #TIMEOUT attribute type ("*" = "ITEMATTR", or "CONSTANT" otherwise).
Parameters:
pTimeOutType - : Timeout type.

getTimeOutValue

public java.lang.String getTimeOutValue()
Returns the #TIMEOUT attribute value.
Returns:
Timeout value.

setTimeOutValue

public void setTimeOutValue(java.lang.String pTimeOutValue)
Setter function for the #TIMEOUT attribute value.
Parameters:
pTimeOutValue - : Timeout value.

getPriorityType

public java.lang.String getPriorityType()
Returns the #PRIORITY attribute type.
Returns:
Priority type.

setPriorityType

public void setPriorityType(java.lang.String pPriorityType)
Setter function for the #PRIORITY attribute type.
Parameters:
pPriorityType - : Priority type.

getPriorityValue

public java.lang.String getPriorityValue()
Returns the #PRIORITY attribute value.
Returns:
Priority value.

setPriorityValue

public void setPriorityValue(java.lang.String pPriorityValue)
Setter function for the #PRIORITY attribute value.
Parameters:
pPriorityValue - : Priority value.

getItemType

public java.lang.String getItemType()
Returns the item type name associates with this process activity.
Returns:
Item type name.

setItemType

public void setItemType(java.lang.String pItemType)
Setter function for the item type name associates with this process activity. Should only be used by the loader.
Parameters:
pItemType - : Item type name.

getIconName

public java.lang.String getIconName()
Returns the icon name.
Returns:
Icon name.

setIconName

public void setIconName(java.lang.String pIconName)
Setter function for the icon name.
Parameters:
pIconName - : Icon name.

getValueType

public java.lang.String getValueType()
Returns the value type of this process activity.
Returns:
Value type.

setValueType

public void setValueType(java.lang.String pValueType)
Setter function for the value type of this process activity.
Parameters:
pValueType - : Value type.

getPerformerName

public java.lang.String getPerformerName()
Returns the performer name of this process activity.
Returns:
Performer name.

setPerformerName

public void setPerformerName(java.lang.String pPerformerName)
Setter function for the performer name of this process activity.
Parameters:
pPerformerName - : Performer name.

getIconGeometry

public java.lang.String getIconGeometry()
Returns the coordination of the icon for this process activity.
Returns:
Coordination of the icon.

setIconGeometry

public void setIconGeometry(java.lang.String pIconGeometry)
Setter function for the coordination of the icon for this process activity.
Parameters:
pIconGeometry - : Coordination of the icon.

clone

public java.lang.Object clone()
Creates another process activity base on the current activity.
Returns:
Process activity.

createRuntimeInstance

public BaseComponent createRuntimeInstance(WorkflowContext ctx)
Creates a runtime instance of this process activity.
Overrides:
createRuntimeInstance in class DesignBaseComponent
Returns:
Runtime instance of the process activity.

resolveReference

public void resolveReference()
Resolves the Activity reference to the actual Activity if it is not already exist.
Overrides:
resolveReference in class DesignBaseComponent

getInboundTransitions

public java.util.Iterator getInboundTransitions()
Returns the iterator that points to a list of inbound transition(s).
Returns:
Iterator that points to a list of inbound transition(s).

getTransitions

public java.util.Iterator getTransitions()
Returns the iterator that points to a list of transition(s).
Returns:
Iterator that points to a list of transition(s).

getTransitions

public java.util.Iterator getTransitions(ActivityResult pEvent)
Returns the iterator that points to a list of transition(s) that matches the given event's return code.
Parameters:
pEvent - : Activity result (Event).
Returns:
Iterator that points to a list of transition(s).

isAStartNode

public boolean isAStartNode()
Returns if the node is startable.
Returns:
True if the node is a "Start" node.

isEndNode

public boolean isEndNode()
Returns if the node is a end node.
Returns:
True if the node is a "End" node.

getProcess

public Process getProcess()
Returns the parent process of this process activity.
Returns:
Parent process

setActivityName

public void setActivityName(java.lang.String pActivityName)
Setter function for activity name. Should only be used by the loader.
Parameters:
pActivityName - : Activity name.

getAttributeValue

public AttributeValue getAttributeValue(java.lang.String pAttribute)
Returns the attribute value of this process activity that matches the given attribute name.
Parameters:
pAttribute - : Attribute name.
Returns:
Attribute value.

getAttributeValues

public java.util.Iterator getAttributeValues()
Returns the iterator points to the list of attribute values associate with this process activity.
Returns:
Iterator points to the list of attribute values