Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

oracle.owb.processflow
Interface Activity

All Superinterfaces:
OWBNamedObject, ProcessActivityParameterOwner
All Known Subinterfaces:
SubProcess

public interface Activity
extends ProcessActivityParameterOwner

A Activity is the interface that defines the unit of execution within a give process. The user can create a process activity to define atomic operations that he wants so that they can later be chained together using transitions to define dependency information.


Field Summary
static int TRANSITION_INCOMING
          Constant used to specify Incomming Transition of Activity.
static int TRANSITION_OUTGOING
          Constant used to specify outgoing Transition of Activity.

 

Method Summary
 OWBNamedObject getBoundObject()
          Retrieve the OWBNamedObject that this activity refers to.
 Transition[] getConnectedTransitions(int inoutComing)
          Gets the type of Activity of a ProcessFlow.
 ProcessFlow getProcessFlow()
          Returns the owning processflow object which the current Activity belongs to.
 int getType()
          Gets the type of Activity of a ProcessFlow.

 

Methods inherited from interface oracle.owb.processflow.ProcessActivityParameterOwner
createParameter, createParameter, createParameter, findParameter, getParameters, getParameters, getPosition, setPosition

 

Methods inherited from interface oracle.owb.foundation.OWBNamedObject
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName

 

Field Detail

TRANSITION_INCOMING

public static final int TRANSITION_INCOMING
Constant used to specify Incomming Transition of Activity.
See Also:
Constant Field Values

TRANSITION_OUTGOING

public static final int TRANSITION_OUTGOING
Constant used to specify outgoing Transition of Activity.
See Also:
Constant Field Values
Method Detail

getProcessFlow

public ProcessFlow getProcessFlow()
                           throws OWBException
Returns the owning processflow object which the current Activity belongs to.
Returns:
owning ProcessFlow object.
Throws:
OWBException - if unable to retrieve Process Flow Object.

getType

public int getType()
Gets the type of Activity of a ProcessFlow.
Returns:
integer value of Activity Type. The type code of the activity that has been created.

getConnectedTransitions

public Transition[] getConnectedTransitions(int inoutComing)
Gets the type of Activity of a ProcessFlow.
Returns:
an array of Transition objects.

getBoundObject

public OWBNamedObject getBoundObject()
                              throws OWBException
Retrieve the OWBNamedObject that this activity refers to.
Returns:
the referred OWBNamedObject or null if there is no reference.
Throws:
OWBException - if unable to retrieve OWBNamedObject Object.

Oracle Warehouse Builder Java API Reference
10g Release 1 (10.1)

B12155-01

Copyright © 2003, Oracle. All Rights Reserved.