KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > instancepersistence > DODSAssignment


1 package org.enhydra.shark.instancepersistence;
2
3
4 import org.enhydra.shark.api.internal.instancepersistence.*;
5
6 public class DODSAssignment implements AssignmentPersistenceInterface {
7
8    private String JavaDoc activityId;
9    private String JavaDoc resourceUsername;
10
11    // this is redundant information, but we need it because of transaction locking
12
private String JavaDoc managerName;
13    private String JavaDoc processId;
14
15    private boolean isValid;
16    private boolean isAccepted;
17    
18    public void setActivityId (String JavaDoc actId) {
19       this.activityId=actId;
20    }
21
22    public String JavaDoc getActivityId () {
23       return activityId;
24    }
25
26    public void setResourceUsername (String JavaDoc resUsername) {
27       this.resourceUsername=resUsername;
28    }
29
30    public String JavaDoc getResourceUsername () {
31       return resourceUsername;
32    }
33
34    public void setProcessMgrName (String JavaDoc mgrName) {
35       this.managerName=mgrName;
36    }
37
38    public String JavaDoc getProcessMgrName () {
39       return managerName;
40    }
41
42    public void setProcessId (String JavaDoc procId) {
43       this.processId=procId;
44    }
45
46    public String JavaDoc getProcessId () {
47       return processId;
48    }
49
50    public void setValid (boolean isValid) {
51       this.isValid=isValid;
52    }
53    
54    public boolean isValid () {
55       return isValid;
56    }
57       
58    public void setAccepted (boolean isAccepted) {
59       this.isAccepted=isAccepted;
60    }
61    
62    public boolean isAccepted () {
63       return isAccepted;
64    }
65
66 }
67
Popular Tags