org.obe.xpdl.model.workflow
Class WorkflowProcess
java.lang.Object
org.obe.util.AbstractBean
org.obe.xpdl.model.misc.AbstractWFElement
org.obe.xpdl.model.misc.ResourceContainer
org.obe.xpdl.model.workflow.WorkflowProcess
- All Implemented Interfaces:
- java.beans.beancontext.BeanContextChild, CalendarRef, Graph, Invokable, java.io.Serializable
- public final class WorkflowProcess
- extends ResourceContainer
- implements Graph, Invokable
- See Also:
- Serialized Form
Methods inherited from class org.obe.xpdl.model.misc.ResourceContainer |
add, add, add, getApplication, getApplication, getApplication, getAssignmentStrategy, getCalendar, getDataField, getDataField, getDataField, getParticipant, getParticipant, getParticipant, getRedefinableHeader, remove, remove, remove, setApplication, setApplication, setAssignmentStrategy, setCalendar, setDataField, setDataField, setParticipant, setParticipant, setRedefinableHeader |
Methods inherited from class org.obe.xpdl.model.misc.AbstractWFElement |
createExtendedAttributes, equals, getDescription, getExtendedAttributes, getId, getName, hashCode, setDescription, setExtendedAttributes, setId, setName |
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, finalize, getClass, notify, notifyAll, wait, wait, wait |
ACCESS_LEVEL
public static final java.lang.String ACCESS_LEVEL
- See Also:
- Constant Field Values
ACTIVITY
public static final java.lang.String ACTIVITY
- See Also:
- Constant Field Values
ACTIVITY_SET
public static final java.lang.String ACTIVITY_SET
- See Also:
- Constant Field Values
COMPLETION_STRATEGY
public static final java.lang.String COMPLETION_STRATEGY
- See Also:
- Constant Field Values
FORMAL_PARAMETER
public static final java.lang.String FORMAL_PARAMETER
- See Also:
- Constant Field Values
PACKAGE
public static final java.lang.String PACKAGE
- See Also:
- Constant Field Values
PACKAGE_ID
public static final java.lang.String PACKAGE_ID
- See Also:
- Constant Field Values
PROCESS_DEFINITION_ID
public static final java.lang.String PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
PROCESS_HEADER
public static final java.lang.String PROCESS_HEADER
- See Also:
- Constant Field Values
STATE
public static final java.lang.String STATE
- See Also:
- Constant Field Values
TRANSITION
public static final java.lang.String TRANSITION
- See Also:
- Constant Field Values
TRIGGER
public static final java.lang.String TRIGGER
- See Also:
- Constant Field Values
WorkflowProcess
public WorkflowProcess()
WorkflowProcess
public WorkflowProcess(java.lang.String id,
java.lang.String name,
XPDLPackage pkg,
ProcessHeader processHeader)
- Construct a new WorkflowProcess.
- Parameters:
id
- The idname
- The nameprocessHeader
- The Workflow process header
accept
public void accept(PackageVisitor visitor)
- Specified by:
accept
in interface Graph
- Overrides:
accept
in class ResourceContainer
getTrigger
public Trigger getTrigger()
setTrigger
public void setTrigger(Trigger trigger)
getAccessLevel
public AccessLevel getAccessLevel()
- Get the workflow process access level.
- Returns:
- The access level
setAccessLevel
public void setAccessLevel(AccessLevel accessLevel)
- Set the workflow process access level.
- Parameters:
accessLevel
- The access level
add
public void add(Activity activity)
throws java.beans.PropertyVetoException
- Specified by:
add
in interface Graph
- Throws:
java.beans.PropertyVetoException
remove
public void remove(Activity activity)
throws java.beans.PropertyVetoException
- Specified by:
remove
in interface Graph
- Throws:
java.beans.PropertyVetoException
getActivity
public Activity[] getActivity()
- Specified by:
getActivity
in interface Graph
getActivity
public Activity getActivity(int i)
- Specified by:
getActivity
in interface Graph
getActivity
public Activity getActivity(java.lang.String id)
- Specified by:
getActivity
in interface Graph
setActivity
public void setActivity(Activity[] activities)
throws java.beans.PropertyVetoException
- Specified by:
setActivity
in interface Graph
- Throws:
java.beans.PropertyVetoException
setActivity
public void setActivity(int i,
Activity activity)
throws java.beans.PropertyVetoException
- Specified by:
setActivity
in interface Graph
- Throws:
java.beans.PropertyVetoException
add
public void add(ActivitySet activitySet)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
remove
public void remove(ActivitySet activitySet)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getActivitySet
public ActivitySet[] getActivitySet()
getActivitySet
public ActivitySet getActivitySet(int i)
getActivitySet
public ActivitySet getActivitySet(java.lang.String id)
setActivitySet
public void setActivitySet(ActivitySet[] activitySet)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
setActivitySet
public void setActivitySet(int i,
ActivitySet activitySet)
throws java.beans.PropertyVetoException
- Throws:
java.beans.PropertyVetoException
getCompletionStrategy
public java.lang.String getCompletionStrategy()
setCompletionStrategy
public void setCompletionStrategy(java.lang.String completionStrategy)
add
public void add(FormalParameter formalParameter)
throws java.beans.PropertyVetoException
- Specified by:
add
in interface Invokable
- Throws:
java.beans.PropertyVetoException
remove
public void remove(FormalParameter formalParameter)
throws java.beans.PropertyVetoException
- Specified by:
remove
in interface Invokable
- Throws:
java.beans.PropertyVetoException
getFormalParameter
public FormalParameter[] getFormalParameter()
- Specified by:
getFormalParameter
in interface Invokable
getFormalParameter
public FormalParameter getFormalParameter(int i)
- Specified by:
getFormalParameter
in interface Invokable
getFormalParameter
public FormalParameter getFormalParameter(java.lang.String id)
- Specified by:
getFormalParameter
in interface Invokable
setFormalParameter
public void setFormalParameter(FormalParameter[] formalParameters)
throws java.beans.PropertyVetoException
- Specified by:
setFormalParameter
in interface Invokable
- Throws:
java.beans.PropertyVetoException
setFormalParameter
public void setFormalParameter(int i,
FormalParameter formalParameter)
throws java.beans.PropertyVetoException
- Specified by:
setFormalParameter
in interface Invokable
- Throws:
java.beans.PropertyVetoException
getPackage
public XPDLPackage getPackage()
setPackage
public void setPackage(XPDLPackage pkg)
getPackageId
public java.lang.String getPackageId()
getProcessDefinitionId
public java.lang.String getProcessDefinitionId()
getProcessHeader
public ProcessHeader getProcessHeader()
setProcessHeader
public void setProcessHeader(ProcessHeader processHeader)
getState
public int getState()
setState
public void setState(int state)
add
public void add(Transition transition)
throws java.beans.PropertyVetoException
- Specified by:
add
in interface Graph
- Throws:
java.beans.PropertyVetoException
remove
public void remove(Transition transition)
throws java.beans.PropertyVetoException
- Specified by:
remove
in interface Graph
- Throws:
java.beans.PropertyVetoException
getTransition
public Transition[] getTransition()
- Specified by:
getTransition
in interface Graph
getTransition
public Transition getTransition(int i)
- Specified by:
getTransition
in interface Graph
getTransition
public Transition getTransition(java.lang.String id)
- Specified by:
getTransition
in interface Graph
setTransition
public void setTransition(Transition[] transitions)
throws java.beans.PropertyVetoException
- Specified by:
setTransition
in interface Graph
- Throws:
java.beans.PropertyVetoException
setTransition
public void setTransition(int i,
Transition transition)
throws java.beans.PropertyVetoException
- Specified by:
setTransition
in interface Graph
- Throws:
java.beans.PropertyVetoException
setPkg
public void setPkg(XPDLPackage pkg)
resolveReferences
public void resolveReferences()
toString
public java.lang.String toString()
- Overrides:
toString
in class AbstractWFElement
OBE-1.0 Copyright (c) 2002-2006 Adrian Price. All Rights Reserved.