001: package mc.formgenerator.bonita;
002:
003: import java.io.Serializable;
004: import java.util.*;
005:
006: /**
007: * Class to manage work lists
008: *
009: */
010: public class Worklist implements Serializable {
011:
012: /**
013: * The project name
014: */
015: private String projectName = null;
016:
017: /**
018: * The ready todoList
019: */
020: private Hashtable todoListReady = new Hashtable();
021:
022: /**
023: * The anticipable todoList
024: */
025: private Hashtable todoListAnti = new Hashtable();
026:
027: /**
028: * The anticipating activityList
029: */
030: private Hashtable activityListAnti = new Hashtable();
031:
032: /**
033: * The executing activityList
034: */
035: private Hashtable activityListExec = new Hashtable();
036:
037: // ----------------------------------------------------------- Properties
038:
039: /**
040: * Get the projectName
041: *@return String
042: */
043: public String getProjectName() {
044: return (projectName);
045: }
046:
047: /**
048: * Set the projectName
049: * @param projectName
050: */
051: public void setProjectName(String projectName) {
052: this .projectName = projectName;
053: }
054:
055: /**
056: * Get the Ready todoList
057: *@return Vector
058: */
059: public Vector getTodoListReady() {
060: return new java.util.Vector(todoListReady.values());
061: }
062:
063: /**
064: * Set the Ready todoList
065: * @param todoListReady
066: */
067: public void setTodoListReady(Hashtable todoListReady) {
068: this .todoListReady = todoListReady;
069: }
070:
071: /**
072: * Get the Anticipable todoList
073: *@return Vector
074: */
075: public Vector getTodoListAnti() {
076: return new java.util.Vector(todoListAnti.values());
077: }
078:
079: /**
080: * Set the Anticipable todoList
081: * @param todoListAnti
082: */
083: public void setTodoListAnti(Hashtable todoListAnti) {
084: this .todoListAnti = todoListAnti;
085: }
086:
087: /**
088: * Get the Anticipating activityList
089: *@return Vector
090: */
091: public Vector getActivityListAnti() {
092: return new java.util.Vector(activityListAnti.values());
093: }
094:
095: /**
096: * Set the Anticipating activityList
097: * @param activityListAnti
098: */
099: public void setActivityListAnti(Hashtable activityListAnti) {
100: this .activityListAnti = activityListAnti;
101: }
102:
103: /**
104: * Get the Executing activityList
105: *@return Vector
106: */
107: public Vector getActivityListExec() {
108: return new java.util.Vector(activityListExec.values());
109: }
110:
111: /**
112: * Set the activityListExec
113: * @param activityListExec
114: */
115: public void setActivityListExec(Hashtable activityListExec) {
116: this.activityListExec = activityListExec;
117: }
118: }
|