001: package org.enhydra.shark.api.internal.instancepersistence;
002:
003: public final class ActivityPersistenceObject {
004:
005: private String id;
006: private String activitySetDefinitionId;
007: private String activityDefinitionId;
008: private String managerName;
009: private String processId;
010: private String resourceUsername;
011: private String subflowProcessId;
012: private boolean isSubflowAsynchronous;
013: private String state;
014: private String blockActivityId;
015: private String name;
016: private String description;
017: private short priority;
018: private long lastStateTime;
019: private long accepted;
020: private long activated;
021: private long limitTime;
022:
023: public void setId(String id) {
024: this .id = id;
025: }
026:
027: public String getId() {
028: return id;
029: }
030:
031: public void setActivitySetDefinitionId(String asdId) {
032: this .activitySetDefinitionId = asdId;
033: }
034:
035: public String getActivitySetDefinitionId() {
036: return activitySetDefinitionId;
037: }
038:
039: public void setActivityDefinitionId(String adId) {
040: this .activityDefinitionId = adId;
041: }
042:
043: public String getActivityDefinitionId() {
044: return activityDefinitionId;
045: }
046:
047: public void setProcessMgrName(String mgrName) {
048: this .managerName = mgrName;
049: }
050:
051: public String getProcessMgrName() {
052: return managerName;
053: }
054:
055: public void setProcessId(String procId) {
056: this .processId = procId;
057: }
058:
059: public String getProcessId() {
060: return processId;
061: }
062:
063: public void setResourceUsername(String username) {
064: this .resourceUsername = username;
065: }
066:
067: public String getResourceUsername() {
068: return resourceUsername;
069: }
070:
071: public void setSubflowProcessId(String procId) {
072: this .subflowProcessId = procId;
073: }
074:
075: public String getSubflowProcessId() {
076: return subflowProcessId;
077: }
078:
079: public void setSubflowAsynchronous(boolean isSubflowAsynchronous) {
080: this .isSubflowAsynchronous = isSubflowAsynchronous;
081: }
082:
083: public boolean isSubflowAsynchronous() {
084: return isSubflowAsynchronous;
085: }
086:
087: public void setState(String state) {
088: this .state = state;
089: }
090:
091: public String getState() {
092: return state;
093: }
094:
095: public void setBlockActivityId(String baId) {
096: blockActivityId = baId;
097: }
098:
099: public String getBlockActivityId() {
100: return blockActivityId;
101: }
102:
103: public String getName() {
104: return name;
105: }
106:
107: public void setName(String name) {
108: this .name = name;
109: }
110:
111: public String getDescription() {
112: return description;
113: }
114:
115: public void setDescription(String desc) {
116: this .description = desc;
117: }
118:
119: public short getPriority() {
120: return priority;
121: }
122:
123: public void setPriority(short priority) {
124: this .priority = priority;
125: }
126:
127: public long getLastStateTime() {
128: return lastStateTime;
129: }
130:
131: public void setLastStateTime(long timestamp) {
132: lastStateTime = timestamp;
133: }
134:
135: public long getActivatedTime() {
136: return activated;
137: }
138:
139: public void setAcceptedTime(long timestamp) {
140: accepted = timestamp;
141: }
142:
143: public long getAcceptedTime() {
144: return accepted;
145: }
146:
147: public void setActivatedTime(long timestamp) {
148: activated = timestamp;
149: }
150:
151: public long getLimitTime() {
152: return limitTime;
153: }
154:
155: public void setLimitTime(long timestamp) {
156: limitTime = timestamp;
157: }
158:
159: }
|