01: package org.enhydra.shark.api.internal.instancepersistence;
02:
03: public final class AssignmentPersistenceObject {
04:
05: private String activityId;
06: private String resourceUsername;
07:
08: // this is redundant information, but we need it because of transaction locking
09: private String managerName;
10: private String processId;
11:
12: private boolean isValid;
13: private boolean isAccepted;
14:
15: public void setActivityId(String actId) {
16: this .activityId = actId;
17: }
18:
19: public String getActivityId() {
20: return activityId;
21: }
22:
23: public void setResourceUsername(String resUsername) {
24: this .resourceUsername = resUsername;
25: }
26:
27: public String getResourceUsername() {
28: return resourceUsername;
29: }
30:
31: public void setProcessMgrName(String mgrName) {
32: this .managerName = mgrName;
33: }
34:
35: public String getProcessMgrName() {
36: return managerName;
37: }
38:
39: public void setProcessId(String procId) {
40: this .processId = procId;
41: }
42:
43: public String getProcessId() {
44: return processId;
45: }
46:
47: public void setValid(boolean isValid) {
48: this .isValid = isValid;
49: }
50:
51: public boolean isValid() {
52: return isValid;
53: }
54:
55: public void setAccepted(boolean isAccepted) {
56: this .isAccepted = isAccepted;
57: }
58:
59: public boolean isAccepted() {
60: return isAccepted;
61: }
62:
63: }
|