001: package org.enhydra.shark.api.internal.instancepersistence;
002:
003: public final class ProcessPersistenceObject {
004:
005: private String id;
006: private String managerName;
007: private String extRequesterClassName;
008: private String actRequesterId;
009: private String actRequesterProcessId;
010: private String resRequesterId;
011: private String state;
012: private String name;
013: private String description;
014: private short priority;
015: private long createdTime;
016: private long startedTime;
017: private long lastStateTime;
018: private long limitTime;
019:
020: public void setId(String id) {
021: this .id = id;
022: }
023:
024: public String getId() {
025: return id;
026: }
027:
028: public void setProcessMgrName(String mgrName) {
029: this .managerName = mgrName;
030: }
031:
032: public String getProcessMgrName() {
033: return managerName;
034: }
035:
036: public void setExternalRequesterClassName(String extReqFullClassName) {
037: this .extRequesterClassName = extReqFullClassName;
038: }
039:
040: public String getExternalRequesterClassName() {
041: return extRequesterClassName;
042: }
043:
044: public void setActivityRequesterId(String actReqId) {
045: this .actRequesterId = actReqId;
046: }
047:
048: public String getActivityRequesterId() {
049: return actRequesterId;
050: }
051:
052: public void setActivityRequestersProcessId(String actReqProcId) {
053: this .actRequesterProcessId = actReqProcId;
054: }
055:
056: public String getActivityRequestersProcessId() {
057: return actRequesterProcessId;
058: }
059:
060: public void setResourceRequesterId(String resReqId) {
061: this .resRequesterId = resReqId;
062: }
063:
064: public String getResourceRequesterId() {
065: return resRequesterId;
066: }
067:
068: public void setState(String state) {
069: this .state = state;
070: }
071:
072: public String getState() {
073: return state;
074: }
075:
076: public String getName() {
077: return name;
078: }
079:
080: public void setName(String name) {
081: this .name = name;
082: }
083:
084: public String getDescription() {
085: return description;
086: }
087:
088: public void setDescription(String desc) {
089: this .description = desc;
090: }
091:
092: public short getPriority() {
093: return priority;
094: }
095:
096: public void setPriority(short priority) {
097: this .priority = priority;
098: }
099:
100: public long getLastStateTime() {
101: return lastStateTime;
102: }
103:
104: public void setLastStateTime(long timestamp) {
105: lastStateTime = timestamp;
106: }
107:
108: public long getCreatedTime() {
109: return createdTime;
110: }
111:
112: public void setCreatedTime(long timestamp) {
113: createdTime = timestamp;
114: }
115:
116: public long getStartedTime() {
117: return startedTime;
118: }
119:
120: public void setStartedTime(long timestamp) {
121: startedTime = timestamp;
122: }
123:
124: public long getLimitTime() {
125: return limitTime;
126: }
127:
128: public void setLimitTime(long timestamp) {
129: limitTime = timestamp;
130: }
131:
132: }
|