001: package hero.util.values;
002:
003: import java.io.Serializable;
004: import java.util.Collection;
005: import java.util.ArrayList;
006:
007: public final class BonitaNodeValue implements Serializable {
008:
009: // --------------------------------------------------- Instance Variables
010:
011: private String projectName = null;
012:
013: private String projectParent = null;
014:
015: private String name = null;
016:
017: private String creator = null;
018:
019: private String reference = null;
020:
021: private String state = null;
022:
023: private String role = null;
024:
025: private int type;
026:
027: private boolean anticipable = false;
028:
029: private Collection deadlines = new ArrayList();
030:
031: private Collection relativeDeadlines = new ArrayList();
032:
033: private Collection properties = new ArrayList();
034:
035: private Collection hooks = new ArrayList();
036:
037: private Collection interHooks = new ArrayList();
038:
039: private Collection inEdges = new ArrayList();
040:
041: private Collection outEdges = new ArrayList();
042:
043: private String description = "Not description yet";
044:
045: private String executor = "This activity is not executing";
046:
047: private BonitaPerformerValue performer = null;
048:
049: // ----------------------------------------------------------- Properties
050:
051: public String getProjectName() {
052: return (projectName);
053: }
054:
055: public void setProjectName(String projectName) {
056: this .projectName = projectName;
057: }
058:
059: public String getProjectParent() {
060: return (projectParent);
061: }
062:
063: public void setProjectParent(String projectParent) {
064: this .projectParent = projectParent;
065: }
066:
067: public Collection getInEdges() {
068: return (inEdges);
069: }
070:
071: public void setInEdges(Collection inEdges) {
072: this .inEdges = inEdges;
073: }
074:
075: public Collection getOutEdges() {
076: return (outEdges);
077: }
078:
079: public void setOutEdges(Collection outEdges) {
080: this .outEdges = outEdges;
081: }
082:
083: public String getName() {
084: return (name);
085: }
086:
087: public void setName(String name) {
088: this .name = name;
089: }
090:
091: public String getCreator() {
092: return (creator);
093: }
094:
095: public void setCreator(String creator) {
096: this .creator = creator;
097: }
098:
099: public String getReference() {
100: return (reference);
101: }
102:
103: public void setReference(String reference) {
104: this .reference = reference;
105: }
106:
107: public String getState() {
108: return (state);
109: }
110:
111: public void setState(String state) {
112: this .state = state;
113: }
114:
115: public int getType() {
116: return (type);
117: }
118:
119: public void setType(int type) {
120: this .type = type;
121: }
122:
123: public String getRole() {
124: return (role);
125: }
126:
127: public void setRole(String role) {
128: this .role = role;
129: }
130:
131: public boolean getAnticipable() {
132: return (anticipable);
133: }
134:
135: public void setAnticipable(boolean anticipable) {
136: this .anticipable = anticipable;
137: }
138:
139: public Collection getDeadlines() {
140: return (deadlines);
141: }
142:
143: public void setDeadlines(Collection deadlines) {
144: this .deadlines = deadlines;
145: }
146:
147: public Collection getRelativeDeadlines() {
148: return (relativeDeadlines);
149: }
150:
151: public void setRelativeDeadlines(Collection relativeDeadlines) {
152: this .relativeDeadlines = relativeDeadlines;
153: }
154:
155: public Collection getProperties() {
156: return (properties);
157: }
158:
159: public void setProperties(Collection properties) {
160: this .properties = properties;
161: }
162:
163: public Collection getHooks() {
164: return (this .hooks);
165: }
166:
167: public void setHooks(Collection hooks) {
168: this .hooks = hooks;
169: }
170:
171: public Collection getInterHooks() {
172: return (this .interHooks);
173: }
174:
175: public void setInterHooks(Collection interHooks) {
176: this .interHooks = interHooks;
177: }
178:
179: public String getDescription() {
180: return (description);
181: }
182:
183: public void setDescription(String description) {
184: this .description = description;
185: }
186:
187: public String getExecutor() {
188: return (executor);
189: }
190:
191: public void setExecutor(String executor) {
192: this .executor = executor;
193: }
194:
195: public BonitaPerformerValue getPerformer() {
196: return (performer);
197: }
198:
199: public void setPerformer(BonitaPerformerValue performer) {
200: this .performer = performer;
201: }
202:
203: public BonitaNodeValue() {
204: }
205:
206: }
|