org.obe.xpdl.model.activity
Class SubFlow

java.lang.Object
  extended byorg.obe.util.AbstractBean
      extended byorg.obe.xpdl.model.misc.Invocation
          extended byorg.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

Field Summary
static ExecutionType DEFAULT_EXECUTION
          Constant representing the default execution type (synchronous).
 
Fields inherited from class org.obe.xpdl.model.misc.Invocation
_actualParameter, _id, ACTUAL_PARAMETER, ID
 
Constructor Summary
SubFlow()
           
SubFlow(java.lang.String id)
          Construct a new SubFlow which represents the specified workflow process ID.
 
Method Summary
 void accept(PackageVisitor visitor)
           
 ExecutionType getExecution()
          Get the execution type (either synchronous or asynchronous).
 ImplementationType getType()
           
 void setExecution(ExecutionType execution)
          Set the execution type.
 java.lang.String toString()
           
 
Methods inherited from class org.obe.xpdl.model.misc.Invocation
add, getActualParameter, getActualParameter, getId, remove, setActualParameter, setActualParameter, setId
 
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
 

Field Detail

DEFAULT_EXECUTION

public static final ExecutionType DEFAULT_EXECUTION
Constant representing the default execution type (synchronous).

Constructor Detail

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
Method Detail

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()


SourceForge.net Logo OBE-1.0 Copyright (C) 2002-2006 Adrian Price. All Rights Reserved.