KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > hero > util > values > BonitaNodeValue


1
2 package hero.util.values;
3
4
5 import java.io.Serializable JavaDoc;
6 import java.util.Collection JavaDoc;
7 import java.util.ArrayList JavaDoc;
8
9 public final class BonitaNodeValue implements Serializable JavaDoc {
10
11     // --------------------------------------------------- Instance Variables
12

13     private String JavaDoc projectName = null;
14     
15     private String JavaDoc projectParent = null;
16
17     private String JavaDoc name = null;
18
19     private String JavaDoc creator = null;
20
21     private String JavaDoc state = null;
22
23     private String JavaDoc role = null;
24
25     private int type;
26
27     private boolean anticipable = false ;
28     
29     private Collection JavaDoc deadlines = new ArrayList JavaDoc();
30     
31     private Collection JavaDoc relativeDeadlines= new ArrayList JavaDoc();
32     
33     private Collection JavaDoc properties= new ArrayList JavaDoc();
34     
35     private Collection JavaDoc hooks = new ArrayList JavaDoc();
36     
37     private Collection JavaDoc interHooks = new ArrayList JavaDoc();
38     
39     private Collection JavaDoc inEdges = new ArrayList JavaDoc();
40     
41     private Collection JavaDoc outEdges = new ArrayList JavaDoc();
42     
43     private String JavaDoc description = "Not description yet";
44
45     private String JavaDoc executor = "This activity is not executing";
46     
47     private BonitaPerformerValue performer = null;
48
49
50     // ----------------------------------------------------------- Properties
51

52     public String JavaDoc getProjectName() {
53         return (projectName);
54     }
55
56     public void setProjectName(String JavaDoc projectName) {
57         this.projectName = projectName;
58     }
59     
60     public String JavaDoc getProjectParent() {
61         return (projectParent);
62     }
63
64     public void setProjectParent(String JavaDoc projectParent) {
65         this.projectParent = projectParent;
66     }
67
68     public Collection JavaDoc getInEdges() {
69         return (inEdges);
70     }
71
72     public void setInEdges(Collection JavaDoc inEdges) {
73         this.inEdges = inEdges;
74     }
75     
76     public Collection JavaDoc getOutEdges() {
77         return (outEdges);
78     }
79
80     public void setOutEdges(Collection JavaDoc outEdges) {
81         this.outEdges = outEdges;
82     }
83     
84      public String JavaDoc getName() {
85         return (name);
86     }
87
88     public void setName(String JavaDoc name) {
89         this.name = name;
90     }
91
92     public String JavaDoc getCreator() {
93         return (creator);
94     }
95
96     public void setCreator(String JavaDoc creator) {
97         this.creator = creator;
98     }
99
100     public String JavaDoc getState() {
101         return (state);
102     }
103
104     public void setState(String JavaDoc state) {
105         this.state = state;
106     }
107
108     public int getType() {
109         return (type);
110     }
111
112     public void setType(int type) {
113         this.type = type;
114     }
115
116     public String JavaDoc getRole() {
117         return (role);
118     }
119
120     public void setRole(String JavaDoc role) {
121         this.role = role;
122     }
123
124     public boolean getAnticipable() {
125         return (anticipable);
126     }
127
128     public void setAnticipable(boolean anticipable) {
129         this.anticipable = anticipable;
130     }
131
132     public Collection JavaDoc getDeadlines() {
133         return (deadlines);
134     }
135
136     public void setDeadlines(Collection JavaDoc deadlines) {
137         this.deadlines = deadlines;
138     }
139     
140     public Collection JavaDoc getRelativeDeadlines() {
141         return (relativeDeadlines);
142     }
143
144     public void setRelativeDeadlines(Collection JavaDoc relativeDeadlines) {
145         this.relativeDeadlines = relativeDeadlines;
146     }
147     
148     public Collection JavaDoc getProperties() {
149         return (properties);
150     }
151
152     public void setProperties(Collection JavaDoc properties) {
153         this.properties = properties;
154     }
155
156     public Collection JavaDoc getHooks() {
157         return (this.hooks);
158     }
159
160     public void setHooks(Collection JavaDoc hooks) {
161         this.hooks = hooks;
162     }
163
164     public Collection JavaDoc getInterHooks() {
165         return (this.interHooks);
166     }
167
168     public void setInterHooks(Collection JavaDoc interHooks) {
169         this.interHooks = interHooks;
170     }
171     
172     
173     public String JavaDoc getDescription() {
174         return (description);
175     }
176
177     public void setDescription(String JavaDoc description) {
178         this.description = description;
179     }
180
181     public String JavaDoc getExecutor() {
182         return (executor);
183     }
184
185     public void setExecutor(String JavaDoc executor) {
186         this.executor = executor;
187     }
188
189     public BonitaPerformerValue getPerformer() {
190         return (performer);
191     }
192
193     public void setPerformer(BonitaPerformerValue performer) {
194         this.performer = performer;
195     }
196
197     
198     public BonitaNodeValue(){}
199
200 }
201
Popular Tags