KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > mc > formgenerator > bonita > Worklist


1 package mc.formgenerator.bonita;
2
3 import java.io.Serializable JavaDoc;
4 import java.util.*;
5
6 public class Worklist implements Serializable JavaDoc{
7
8     /**
9      * The project name
10      */

11     private String JavaDoc projectName = null;
12
13     /**
14      * The ready todoList
15      */

16     private Hashtable todoListReady = new Hashtable();
17
18     /**
19      * The anticipable todoList
20      */

21     private Hashtable todoListAnti = new Hashtable();
22
23     /**
24      * The anticipating activityList
25      */

26     private Hashtable activityListAnti = new Hashtable();
27
28     /**
29      * The executing activityList
30      */

31     private Hashtable activityListExec = new Hashtable();
32
33
34     // ----------------------------------------------------------- Properties
35

36     /**
37      * Get the projectName
38      *@return String
39      */

40     public String JavaDoc getProjectName() {
41         return (projectName);
42     }
43
44     /**
45      * Set the projectName
46      * @param projectName
47      */

48     public void setProjectName(String JavaDoc projectName) {
49         this.projectName = projectName;
50     }
51
52     /**
53      * Get the Ready todoList
54      *@return Vector
55      */

56     public Vector getTodoListReady() {
57     return new java.util.Vector JavaDoc(todoListReady.values());
58     }
59
60     /**
61      * Set the Ready todoList
62      * @param todoListReady
63      */

64     public void setTodoListReady(Hashtable todoListReady) {
65         this.todoListReady = todoListReady;
66     }
67
68     /**
69      * Get the Anticipable todoList
70      *@return Vector
71      */

72     public Vector getTodoListAnti() {
73     return new java.util.Vector JavaDoc(todoListAnti.values());
74     }
75
76     /**
77      * Set the Anticipable todoList
78      * @param todoListAnti
79      */

80     public void setTodoListAnti(Hashtable todoListAnti) {
81         this.todoListAnti = todoListAnti;
82     }
83
84
85     /**
86      * Get the Anticipating activityList
87      *@return Vector
88      */

89    public Vector getActivityListAnti() {
90        return new java.util.Vector JavaDoc(activityListAnti.values());
91    }
92
93    /**
94     * Set the Anticipating activityList
95     * @param activityListAnti
96     */

97    public void setActivityListAnti(Hashtable activityListAnti) {
98        this.activityListAnti = activityListAnti;
99    }
100
101     /**
102      * Get the Executing activityList
103      *@return Vector
104      */

105    public Vector getActivityListExec() {
106        return new java.util.Vector JavaDoc(activityListExec.values());
107    }
108
109    /**
110     * Set the activityListExec
111     * @param activityListExec
112     */

113    public void setActivityListExec(Hashtable activityListExec) {
114        this.activityListExec = activityListExec;
115    }
116 }
117
Popular Tags