Java Doc for Activity.java in  » Workflow-Engines » obe-1.0 » org » obe » xpdl » model » activity » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Workflow Engines » obe 1.0 » org.obe.xpdl.model.activity 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.obe.xpdl.model.misc.AbstractWFElement
   org.obe.xpdl.model.activity.Activity

Activity
final public class Activity extends AbstractWFElement implements CalendarRef(Code)
Models an XPDL activity definition.


Field Summary
final public static  StringAFFERENT_TRANSITION
    
final public static  StringASSIGNMENT_STRATEGY
    
final public static  StringBLOCK_ACTIVITY
    
final public static  StringBOUNDS
    
final public static  StringCALENDAR
    
final public static  StringCOMPLETION_STRATEGY
    
final public static  StringDEADLINE
    
final public static  StringDOCUMENTATION
    
final public static  StringEFFERENT_TRANSITION
    
final public static  StringFINISH_MODE
    
final public static  StringICON
    
final public static  StringIMPLEMENTATION
    
final public static  StringLIMIT
    
final public static  StringPERFORMER
    
final public static  StringPRIORITY
    
final public static  StringROUTE
    
final public static  StringSIMULATION_INFORMATION
    
final public static  StringSTART_MODE
    
final public static  StringTOOL_MODE
    
final public static  StringTRANSITION_RESTRICTION
    

Constructor Summary
public  Activity()
    
public  Activity(String id, String name, WorkflowProcess workflowProcess)
     Construct a new Activity with the given ID and name.

Method Summary
public  voidaccept(PackageVisitor visitor)
    
public  voidadd(Deadline deadline)
    
public  voidadd(TransitionRestriction restriction)
    
public  MapgetAfferentTransitions()
    
public  AssignmentStrategyDefgetAssignmentStrategy()
     Returns the work item assignment strategy for this activity.
public  BlockActivitygetBlockActivity()
    
public  RectanglegetBounds()
    
public  StringgetCalendar()
     Returns the business calendar name.
public  StringgetCompletionStrategy()
     Returns the completion strategy for this activity.
public  Deadline[]getDeadline()
     Gets the activity deadlines.
public  DeadlinegetDeadline(int i)
     Gets an activity deadline.
Parameters:
  i - The deadline index.
public  URLgetDocumentation()
     Get the URL for the documentation for the activity.
public  MapgetEfferentTransitions()
    
public  AutomationModegetFinishMode()
     Get the finish mode for the activity.
public  URLgetIcon()
     Get the URL for the icon for the activity.
public  ImplementationgetImplementation()
     Get the implementation object for the activity.
public  DurationgetLimit()
     Get the time limit allowed for the execution of the activity.
public  StringgetPerformer()
     Get the ID of the activity performer.
public  StringgetPriority()
     Get the priority of the activity.
public  RoutegetRoute()
     Get the Route object for the activity.
public  SimulationInformationgetSimulationInformation()
     Get the SimulationInformation for the activity.
public  AutomationModegetStartMode()
     Get the start mode for the activity.
public  ToolModegetToolMode()
     Returns the tool invocation mode.
public  TransitionRestriction[]getTransitionRestriction()
     Get a List of transition restrictions for transitions which connect to this activity.
public  TransitionRestrictiongetTransitionRestriction(int i)
    
public  WorkflowProcessgetWorkflowProcess()
     Get the WorkflowProcess in which this activity is declared.
public  booleanisExitActivity()
    
public  booleanisStartActivity()
    
public  voidremove(Deadline deadline)
    
public  voidremove(TransitionRestriction restriction)
    
public  voidsetAssignmentStrategy(AssignmentStrategyDef strategy)
     Sets the activity assignment strategy.
public  voidsetBlockActivity(BlockActivity blockActivity)
    
public  voidsetBounds(Rectangle bounds)
    
public  voidsetCalendar(String calendar)
     Sets the business calendar name.
public  voidsetCompletionStrategy(String strategy)
     Sets the completion strategy for this activity.
public  voidsetDeadline(Deadline[] deadlines)
     Sets the activity deadlines.
public  voidsetDeadline(int i, Deadline deadline)
     Sets an activity deadline.
public  voidsetDocumentation(URL documentation)
     Get the URL for the documentation for the activity.
public  voidsetFinishMode(AutomationMode finishMode)
     Set the finish mode for the activity.
public  voidsetIcon(URL icon)
     Set the URL for the icon for the activity.
public  voidsetImplementation(Implementation implementation)
     Set the implementation object for the activity.
public  voidsetLimit(Duration limit)
     Set the time limit allowed for the execution of the activity.
public  voidsetPerformer(String performer)
     Set the ID of the activity performer.
public  voidsetPriority(String priority)
     Set the priority of the activity.
public  voidsetRoute(Route route)
     Set the Route object for the activity.
public  voidsetSimulationInformation(SimulationInformation simulationInformation)
     Set the SimulationInformation for the activity.
public  voidsetStartMode(AutomationMode startMode)
     Set the start mode for the activity.
public  voidsetToolMode(ToolMode toolMode)
     Sets the tool invocation mode.
public  voidsetTransitionRestriction(TransitionRestriction[] restrictions)
    
public  voidsetTransitionRestriction(int i, TransitionRestriction restriction)
    
public  StringtoString()
    

Field Detail
AFFERENT_TRANSITION
final public static String AFFERENT_TRANSITION(Code)



ASSIGNMENT_STRATEGY
final public static String ASSIGNMENT_STRATEGY(Code)



BLOCK_ACTIVITY
final public static String BLOCK_ACTIVITY(Code)



BOUNDS
final public static String BOUNDS(Code)



CALENDAR
final public static String CALENDAR(Code)



COMPLETION_STRATEGY
final public static String COMPLETION_STRATEGY(Code)



DEADLINE
final public static String DEADLINE(Code)



DOCUMENTATION
final public static String DOCUMENTATION(Code)



EFFERENT_TRANSITION
final public static String EFFERENT_TRANSITION(Code)



FINISH_MODE
final public static String FINISH_MODE(Code)



ICON
final public static String ICON(Code)



IMPLEMENTATION
final public static String IMPLEMENTATION(Code)



LIMIT
final public static String LIMIT(Code)



PERFORMER
final public static String PERFORMER(Code)



PRIORITY
final public static String PRIORITY(Code)



ROUTE
final public static String ROUTE(Code)



SIMULATION_INFORMATION
final public static String SIMULATION_INFORMATION(Code)



START_MODE
final public static String START_MODE(Code)



TOOL_MODE
final public static String TOOL_MODE(Code)



TRANSITION_RESTRICTION
final public static String TRANSITION_RESTRICTION(Code)




Constructor Detail
Activity
public Activity()(Code)



Activity
public Activity(String id, String name, WorkflowProcess workflowProcess)(Code)
Construct a new Activity with the given ID and name.
Parameters:
  id - The Activity ID
Parameters:
  name - The Activity name




Method Detail
accept
public void accept(PackageVisitor visitor)(Code)



add
public void add(Deadline deadline) throws PropertyVetoException(Code)



add
public void add(TransitionRestriction restriction) throws PropertyVetoException(Code)



getAfferentTransitions
public Map getAfferentTransitions()(Code)



getAssignmentStrategy
public AssignmentStrategyDef getAssignmentStrategy()(Code)
Returns the work item assignment strategy for this activity. Assignment strategy definition, which must have a matchingimplementation registered in the AssignmentStrategyRepository.



getBlockActivity
public BlockActivity getBlockActivity()(Code)



getBounds
public Rectangle getBounds()(Code)



getCalendar
public String getCalendar()(Code)
Returns the business calendar name. The business calendar tag name, which must have a matchingentry in the OBE Calendar Factory.



getCompletionStrategy
public String getCompletionStrategy()(Code)
Returns the completion strategy for this activity. Activity completion strategy tag name, which must have a matchingimplementation in the ???Repository.



getDeadline
public Deadline[] getDeadline()(Code)
Gets the activity deadlines. The deadline



getDeadline
public Deadline getDeadline(int i)(Code)
Gets an activity deadline.
Parameters:
  i - The deadline index. The deadline



getDocumentation
public URL getDocumentation()(Code)
Get the URL for the documentation for the activity. This URL should point to documentation which can be used by developers, administrators and other users to understand what the activity does. The URL for the activity documentation



getEfferentTransitions
public Map getEfferentTransitions()(Code)



getFinishMode
public AutomationMode getFinishMode()(Code)
Get the finish mode for the activity. The finish mode is used to determine if the activity should complete automatically or manually. The default value is AutomationMode.AUTOMATIC. The finish mode



getIcon
public URL getIcon()(Code)
Get the URL for the icon for the activity. The icon is used to represent the activity in a graphical representatioin of the workflow process. The URL for the activity's icon



getImplementation
public Implementation getImplementation()(Code)
Get the implementation object for the activity. If this method returns null then the getRoute() must return a valid Route object. The Implementation object



getLimit
public Duration getLimit()(Code)
Get the time limit allowed for the execution of the activity. The time limit



getPerformer
public String getPerformer()(Code)
Get the ID of the activity performer. The ID of the performer



getPriority
public String getPriority()(Code)
Get the priority of the activity. The priority



getRoute
public Route getRoute()(Code)
Get the Route object for the activity. If the getImplementation() method returns null then this method must return a valid Route object. The Route object



getSimulationInformation
public SimulationInformation getSimulationInformation()(Code)
Get the SimulationInformation for the activity. This information can be used to make estimations for the execution time of an activity which can then be used to test a workflow definition timing. The SimulationInformation



getStartMode
public AutomationMode getStartMode()(Code)
Get the start mode for the activity. The start mode is used to determine if the activity should start automatically or manually. The default value is AutomationMode.AUTOMATIC. The start mode



getToolMode
public ToolMode getToolMode()(Code)
Returns the tool invocation mode. The tool invocation mode.



getTransitionRestriction
public TransitionRestriction[] getTransitionRestriction()(Code)
Get a List of transition restrictions for transitions which connect to this activity. a List of transition restrictions



getTransitionRestriction
public TransitionRestriction getTransitionRestriction(int i)(Code)



getWorkflowProcess
public WorkflowProcess getWorkflowProcess()(Code)
Get the WorkflowProcess in which this activity is declared. The WorkflowProcess



isExitActivity
public boolean isExitActivity()(Code)



isStartActivity
public boolean isStartActivity()(Code)



remove
public void remove(Deadline deadline) throws PropertyVetoException(Code)



remove
public void remove(TransitionRestriction restriction) throws PropertyVetoException(Code)



setAssignmentStrategy
public void setAssignmentStrategy(AssignmentStrategyDef strategy)(Code)
Sets the activity assignment strategy.
Parameters:
  strategy - Assignment strategy definition, which must have amatching implementation registered in the AssignmentStrategyRepository.



setBlockActivity
public void setBlockActivity(BlockActivity blockActivity)(Code)



setBounds
public void setBounds(Rectangle bounds)(Code)



setCalendar
public void setCalendar(String calendar)(Code)
Sets the business calendar name.
Parameters:
  calendar - The business calendar tag name, which must have amatching entry in the OBE Calendar Factory.



setCompletionStrategy
public void setCompletionStrategy(String strategy)(Code)
Sets the completion strategy for this activity.
Parameters:
  strategy - Activity completion strategy tag name, which must have amatching implementation in the ???Repository.



setDeadline
public void setDeadline(Deadline[] deadlines) throws PropertyVetoException(Code)
Sets the activity deadlines.
Parameters:
  deadlines -



setDeadline
public void setDeadline(int i, Deadline deadline) throws PropertyVetoException(Code)
Sets an activity deadline.
Parameters:
  i - The deadline index.
Parameters:
  deadline -



setDocumentation
public void setDocumentation(URL documentation)(Code)
Get the URL for the documentation for the activity.
Parameters:
  documentation - The new URL for the activity documentation



setFinishMode
public void setFinishMode(AutomationMode finishMode)(Code)
Set the finish mode for the activity. The finish mode is used to determine if the activity should complete automatically or manually.
Parameters:
  finishMode - The new finish mode



setIcon
public void setIcon(URL icon)(Code)
Set the URL for the icon for the activity.
Parameters:
  icon - The new URL for the activity's icon



setImplementation
public void setImplementation(Implementation implementation)(Code)
Set the implementation object for the activity.
Parameters:
  implementation - The new Implementation object



setLimit
public void setLimit(Duration limit)(Code)
Set the time limit allowed for the execution of the activity.
Parameters:
  limit - The time limit



setPerformer
public void setPerformer(String performer)(Code)
Set the ID of the activity performer.
Parameters:
  performer - The ID of the performer



setPriority
public void setPriority(String priority)(Code)
Set the priority of the activity.
Parameters:
  priority - The new priority



setRoute
public void setRoute(Route route)(Code)
Set the Route object for the activity.
Parameters:
  route - The new Route object



setSimulationInformation
public void setSimulationInformation(SimulationInformation simulationInformation)(Code)
Set the SimulationInformation for the activity.
Parameters:
  simulationInformation - The new SimulationInformation



setStartMode
public void setStartMode(AutomationMode startMode)(Code)
Set the start mode for the activity. The start mode is used to determine if the activity should start automatically or manually.
Parameters:
  startMode - The new start mode



setToolMode
public void setToolMode(ToolMode toolMode)(Code)
Sets the tool invocation mode.
Parameters:
  toolMode - The tool invocation mode.



setTransitionRestriction
public void setTransitionRestriction(TransitionRestriction[] restrictions) throws PropertyVetoException(Code)



setTransitionRestriction
public void setTransitionRestriction(int i, TransitionRestriction restriction) throws PropertyVetoException(Code)



toString
public String toString()(Code)



Methods inherited from org.obe.xpdl.model.misc.AbstractWFElement
final public ExtendedAttributes createExtendedAttributes()(Code)(Java Doc)
final public boolean equals(Object obj)(Code)(Java Doc)
final public String getDescription()(Code)(Java Doc)
final public ExtendedAttributes getExtendedAttributes()(Code)(Java Doc)
final public String getId()(Code)(Java Doc)
final public String getName()(Code)(Java Doc)
final public int hashCode()(Code)(Java Doc)
final public void setDescription(String description)(Code)(Java Doc)
final public void setExtendedAttributes(ExtendedAttributes extAttrs)(Code)(Java Doc)
final public void setId(String id)(Code)(Java Doc)
final public void setName(String name)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.