org.obe.xpdl.model.activity
Class SubFlow
java.lang.Object
org.obe.util.AbstractBean
org.obe.xpdl.model.misc.Invocation
org.obe.xpdl.model.activity.SubFlow
- All Implemented Interfaces:
- java.beans.beancontext.BeanContextChild, Implementation, java.io.Serializable
- public final class SubFlow
- extends Invocation
- implements Implementation
A SubFlow represents another workflow process which is executed within the
context of the current workflow process.
- Author:
- Adrian Price
- See Also:
- Serialized Form
Constructor Summary |
SubFlow()
|
SubFlow(java.lang.String id)
Construct a new SubFlow which represents the specified workflow process
ID. |
Methods inherited from class org.obe.util.AbstractBean |
add, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clear, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, fireVetoableChange, get, get, getBeanContext, getListModel, hasChangeListeners, hasVetoListeners, remove, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListener, set, set, setBeanContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEFAULT_EXECUTION
public static final ExecutionType DEFAULT_EXECUTION
- Constant representing the default execution type (synchronous).
SubFlow
public SubFlow()
SubFlow
public SubFlow(java.lang.String id)
- Construct a new SubFlow which represents the specified workflow process
ID.
- Parameters:
id
- The workflow process id
accept
public void accept(PackageVisitor visitor)
- Specified by:
accept
in interface Implementation
- Overrides:
accept
in class Invocation
getType
public ImplementationType getType()
- Specified by:
getType
in interface Implementation
getExecution
public ExecutionType getExecution()
- Get the execution type (either synchronous or asynchronous).
- Returns:
- The ExecutionType
setExecution
public void setExecution(ExecutionType execution)
- Set the execution type. If the execution parameter is null then the
default execution type (synchronous) is used.
- Parameters:
execution
- The execution type
toString
public java.lang.String toString()
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.