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