01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.workflow.model.instance;
09:
10: //base classes
11: import java.math.BigInteger;
12:
13: //project specific classes
14: import org.jfolder.security.audit.SecurityAudit;
15: import org.jfolder.workflow.model.WorkflowComponentUpdates;
16: import org.jfolder.workflow.model.dms.WorkflowDocumentSetUpdates;
17: import org.jfolder.workflow.model.trigger.WorkflowTriggerUpdates;
18:
19: //other classes
20:
21: public class WorkflowInstanceUpdates extends WorkflowComponentUpdates {
22:
23: //
24: private String id = null;
25: //private BigInteger stateCode = null;
26: //
27: private SecurityAudit sa = null;
28: //
29: private WorkflowTriggerUpdates wfTriggerUpdates = null;
30: private WorkflowDocumentSetUpdates wfDocSetUpdates = null;
31: //
32: private BigInteger currentStateCode = null;
33: private BigInteger nextStateCode = null;
34:
35: //
36: protected WorkflowInstanceUpdates() {
37:
38: //this.id = inId;
39: //this.currentStateCode = inStateCode;
40: }
41:
42: //
43: public void setId(String inId) {
44: this .id = inId;
45: }
46:
47: public String getId() {
48: return this .id;
49: }
50:
51: //
52: public void setCurrentStateCode(BigInteger inCurrentStateCode) {
53: this .currentStateCode = inCurrentStateCode;
54: }
55:
56: public BigInteger getCurrentStateCode() {
57: return this .currentStateCode;
58: }
59:
60: //
61: public void setNextStateCode(BigInteger inNextStateCode) {
62: this .nextStateCode = inNextStateCode;
63: }
64:
65: public BigInteger getNextStateCode() {
66: return this .nextStateCode;
67: }
68:
69: //
70: protected void setSecurityAudit(SecurityAudit inSa) {
71: this .sa = inSa;
72: }
73:
74: public SecurityAudit getSecurityAudit() {
75: return this .sa;
76: }
77:
78: //
79: public WorkflowTriggerUpdates getWorkflowTriggerUpdates() {
80: return this .wfTriggerUpdates;
81: }
82:
83: protected void setWorkflowTriggerUpdates(
84: WorkflowTriggerUpdates inTriggerDataUpdates) {
85: this .wfTriggerUpdates = inTriggerDataUpdates;
86: }
87:
88: //
89: public WorkflowDocumentSetUpdates getWorkflowDocumentSetUpdates() {
90: return this .wfDocSetUpdates;
91: }
92:
93: protected void setWorkflowDocumentSetUpdates(
94: WorkflowDocumentSetUpdates inDocumetSetUpdates) {
95: this.wfDocSetUpdates = inDocumetSetUpdates;
96: }
97: }
|