|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.obe.util.AbstractBean
org.obe.xpdl.model.misc.AbstractWFElement
org.obe.xpdl.model.activity.Activity
Models an XPDL activity definition.
| Field Summary | |
static java.lang.String |
AFFERENT_TRANSITION
|
static java.lang.String |
ASSIGNMENT_STRATEGY
|
static java.lang.String |
BLOCK_ACTIVITY
|
static java.lang.String |
BOUNDS
|
static java.lang.String |
CALENDAR
|
static java.lang.String |
COMPLETION_STRATEGY
|
static java.lang.String |
DEADLINE
|
static java.lang.String |
DOCUMENTATION
|
static java.lang.String |
EFFERENT_TRANSITION
|
static java.lang.String |
FINISH_MODE
|
static java.lang.String |
ICON
|
static java.lang.String |
IMPLEMENTATION
|
static java.lang.String |
LIMIT
|
static java.lang.String |
PERFORMER
|
static java.lang.String |
PRIORITY
|
static java.lang.String |
ROUTE
|
static java.lang.String |
SIMULATION_INFORMATION
|
static java.lang.String |
START_MODE
|
static java.lang.String |
TOOL_MODE
|
static java.lang.String |
TRANSITION_RESTRICTION
|
| Constructor Summary | |
Activity()
|
|
Activity(java.lang.String id,
java.lang.String name,
WorkflowProcess workflowProcess)
Construct a new Activity with the given ID and name. |
|
| Method Summary | |
void |
accept(PackageVisitor visitor)
|
void |
add(Deadline deadline)
|
void |
add(TransitionRestriction restriction)
|
java.util.Map |
getAfferentTransitions()
|
AssignmentStrategyDef |
getAssignmentStrategy()
Returns the work item assignment strategy for this activity. |
BlockActivity |
getBlockActivity()
|
java.awt.Rectangle |
getBounds()
|
java.lang.String |
getCalendar()
Returns the business calendar name. |
java.lang.String |
getCompletionStrategy()
Returns the completion strategy for this activity. |
Deadline[] |
getDeadline()
Gets the activity deadlines. |
Deadline |
getDeadline(int i)
Gets an activity deadline. |
java.net.URL |
getDocumentation()
Get the URL for the documentation for the activity. |
java.util.Map |
getEfferentTransitions()
|
AutomationMode |
getFinishMode()
Get the finish mode for the activity. |
java.net.URL |
getIcon()
Get the URL for the icon for the activity. |
Implementation |
getImplementation()
Get the implementation object for the activity. |
Duration |
getLimit()
Get the time limit allowed for the execution of the activity. |
java.lang.String |
getPerformer()
Get the ID of the activity performer. |
java.lang.String |
getPriority()
Get the priority of the activity. |
Route |
getRoute()
Get the Route object for the activity. |
SimulationInformation |
getSimulationInformation()
Get the SimulationInformation for the activity. |
AutomationMode |
getStartMode()
Get the start mode for the activity. |
ToolMode |
getToolMode()
Returns the tool invocation mode. |
TransitionRestriction[] |
getTransitionRestriction()
Get a List of transition restrictions for transitions which connect to this activity. |
TransitionRestriction |
getTransitionRestriction(int i)
|
WorkflowProcess |
getWorkflowProcess()
Get the WorkflowProcess in which this activity is declared. |
boolean |
isExitActivity()
|
boolean |
isStartActivity()
|
void |
remove(Deadline deadline)
|
void |
remove(TransitionRestriction restriction)
|
void |
setAssignmentStrategy(AssignmentStrategyDef strategy)
Sets the activity assignment strategy. |
void |
setBlockActivity(BlockActivity blockActivity)
|
void |
setBounds(java.awt.Rectangle bounds)
|
void |
setCalendar(java.lang.String calendar)
Sets the business calendar name. |
void |
setCompletionStrategy(java.lang.String strategy)
Sets the completion strategy for this activity. |
void |
setDeadline(Deadline[] deadlines)
Sets the activity deadlines. |
void |
setDeadline(int i,
Deadline deadline)
Sets an activity deadline. |
void |
setDocumentation(java.net.URL documentation)
Get the URL for the documentation for the activity. |
void |
setFinishMode(AutomationMode finishMode)
Set the finish mode for the activity. |
void |
setIcon(java.net.URL icon)
Set the URL for the icon for the activity. |
void |
setImplementation(Implementation implementation)
Set the implementation object for the activity. |
void |
setLimit(Duration limit)
Set the time limit allowed for the execution of the activity. |
void |
setPerformer(java.lang.String performer)
Set the ID of the activity performer. |
void |
setPriority(java.lang.String priority)
Set the priority of the activity. |
void |
setRoute(Route route)
Set the Route object for the activity. |
void |
setSimulationInformation(SimulationInformation simulationInformation)
Set the SimulationInformation for the activity. |
void |
setStartMode(AutomationMode startMode)
Set the start mode for the activity. |
void |
setToolMode(ToolMode toolMode)
Sets the tool invocation mode. |
void |
setTransitionRestriction(int i,
TransitionRestriction restriction)
|
void |
setTransitionRestriction(TransitionRestriction[] restrictions)
|
java.lang.String |
toString()
|
| 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 java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final java.lang.String BOUNDS
public static final java.lang.String LIMIT
public static final java.lang.String IMPLEMENTATION
public static final java.lang.String ROUTE
public static final java.lang.String BLOCK_ACTIVITY
public static final java.lang.String PERFORMER
public static final java.lang.String START_MODE
public static final java.lang.String FINISH_MODE
public static final java.lang.String TOOL_MODE
public static final java.lang.String ASSIGNMENT_STRATEGY
public static final java.lang.String COMPLETION_STRATEGY
public static final java.lang.String CALENDAR
public static final java.lang.String PRIORITY
public static final java.lang.String DEADLINE
public static final java.lang.String SIMULATION_INFORMATION
public static final java.lang.String DOCUMENTATION
public static final java.lang.String ICON
public static final java.lang.String TRANSITION_RESTRICTION
public static final java.lang.String AFFERENT_TRANSITION
public static final java.lang.String EFFERENT_TRANSITION
| Constructor Detail |
public Activity()
public Activity(java.lang.String id,
java.lang.String name,
WorkflowProcess workflowProcess)
id - The Activity IDname - The Activity name| Method Detail |
public void accept(PackageVisitor visitor)
public java.awt.Rectangle getBounds()
public void setBounds(java.awt.Rectangle bounds)
public WorkflowProcess getWorkflowProcess()
public Duration getLimit()
public void setLimit(Duration limit)
limit - The time limitpublic Implementation getImplementation()
getRoute() must return a valid Route object.
public void setImplementation(Implementation implementation)
implementation - The new Implementation objectpublic Route getRoute()
getImplementation()
method returns null then this method must return a valid Route object.
public void setRoute(Route route)
route - The new Route objectpublic BlockActivity getBlockActivity()
public void setBlockActivity(BlockActivity blockActivity)
public java.lang.String getPerformer()
public void setPerformer(java.lang.String performer)
performer - The ID of the performerpublic AutomationMode getStartMode()
AutomationMode.AUTOMATIC.
public void setStartMode(AutomationMode startMode)
startMode - The new start modepublic AutomationMode getFinishMode()
AutomationMode.AUTOMATIC.
public void setFinishMode(AutomationMode finishMode)
finishMode - The new finish modepublic ToolMode getToolMode()
public void setToolMode(ToolMode toolMode)
toolMode - The tool invocation mode.public AssignmentStrategyDef getAssignmentStrategy()
public void setAssignmentStrategy(AssignmentStrategyDef strategy)
strategy - Assignment strategy definition, which must have a
matching implementation registered in the AssignmentStrategyRepository.public java.lang.String getCompletionStrategy()
public void setCompletionStrategy(java.lang.String strategy)
strategy - Activity completion strategy tag name, which must have a
matching implementation in the ???Repository.public java.lang.String getPriority()
public void setPriority(java.lang.String priority)
priority - The new prioritypublic java.lang.String getCalendar()
getCalendar in interface CalendarRefpublic void setCalendar(java.lang.String calendar)
setCalendar in interface CalendarRefcalendar - The business calendar tag name, which must have a
matching entry in the OBE Calendar Factory.
public void add(Deadline deadline)
throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void remove(Deadline deadline)
throws java.beans.PropertyVetoException
java.beans.PropertyVetoExceptionpublic Deadline[] getDeadline()
public Deadline getDeadline(int i)
i - The deadline index.
public void setDeadline(Deadline[] deadlines)
throws java.beans.PropertyVetoException
deadlines -
java.beans.PropertyVetoException
public void setDeadline(int i,
Deadline deadline)
throws java.beans.PropertyVetoException
i - The deadline index.deadline -
java.beans.PropertyVetoExceptionpublic SimulationInformation getSimulationInformation()
public void setSimulationInformation(SimulationInformation simulationInformation)
simulationInformation - The new SimulationInformationpublic java.net.URL getDocumentation()
public void setDocumentation(java.net.URL documentation)
documentation - The new URL for the activity documentationpublic java.net.URL getIcon()
public void setIcon(java.net.URL icon)
icon - The new URL for the activity's icon
public void add(TransitionRestriction restriction)
throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void remove(TransitionRestriction restriction)
throws java.beans.PropertyVetoException
java.beans.PropertyVetoExceptionpublic TransitionRestriction[] getTransitionRestriction()
public TransitionRestriction getTransitionRestriction(int i)
public void setTransitionRestriction(TransitionRestriction[] restrictions)
throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public void setTransitionRestriction(int i,
TransitionRestriction restriction)
throws java.beans.PropertyVetoException
java.beans.PropertyVetoExceptionpublic java.util.Map getAfferentTransitions()
public java.util.Map getEfferentTransitions()
public java.lang.String toString()
toString in class AbstractWFElementpublic boolean isExitActivity()
public boolean isStartActivity()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||