KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > eventaudit > HibernateEventAudit


1 /*
2  * Shark Hibernate persistent layer - Open Wide
3  */

4
5
6 package org.enhydra.shark.eventaudit;
7
8 import org.enhydra.shark.api.internal.eventaudit.EventAuditPersistenceInterface;
9 import org.enhydra.shark.utilities.hibernate.HibernateGeneric;
10 import org.enhydra.shark.utilities.hibernate.HibernateObjectUtil;
11
12 /**
13  * Simple Hibernate POJO class
14  * @author Vladislav Pernin
15  */

16 public class HibernateEventAudit extends HibernateObjectUtil implements EventAuditPersistenceInterface, HibernateGeneric {
17
18    private String JavaDoc timeStamp;
19    private String JavaDoc eventType;
20    private String JavaDoc activityId;
21    private String JavaDoc activityName;
22    private String JavaDoc processId;
23    private String JavaDoc processName;
24    private String JavaDoc processMgrName;
25    private String JavaDoc processMgrVersion;
26    private String JavaDoc activityDefinitionId;
27    private String JavaDoc activitySetDefinitionId;
28    private String JavaDoc processDefinitionId;
29    private String JavaDoc packageId;
30
31    private int eventTypeId;
32
33    protected int dbId = -1;
34
35    public int getDbId() {
36       return dbId;
37    }
38
39    public void setDbId(int dbId) {
40       this.dbId = dbId;
41    }
42
43    public void setUTCTime(String JavaDoc time) {
44       this.timeStamp = time;
45    }
46
47    public String JavaDoc getUTCTime() {
48       return timeStamp;
49    }
50
51    public void setType(String JavaDoc type) {
52       this.eventType = type;
53    }
54
55    public String JavaDoc getType() {
56          return eventType;
57    }
58
59    public void setActivityId(String JavaDoc aId) {
60       this.activityId = aId;
61    }
62
63    public String JavaDoc getActivityId() {
64       return activityId;
65    }
66
67    public void setActivityName(String JavaDoc an) {
68       this.activityName = an;
69    }
70
71    public String JavaDoc getActivityName() {
72       return activityName;
73    }
74
75    public void setProcessId(String JavaDoc pId) {
76       this.processId = pId;
77    }
78
79    public String JavaDoc getProcessId() {
80       return processId;
81    }
82
83    public void setProcessName(String JavaDoc n) {
84       this.processName = n;
85    }
86
87    public String JavaDoc getProcessName() {
88       return processName;
89    }
90
91    public void setProcessDefinitionName(String JavaDoc pn) {
92       this.processMgrName = pn;
93    }
94
95    public String JavaDoc getProcessDefinitionName() {
96       return processMgrName;
97    }
98
99    public void setProcessDefinitionVersion(String JavaDoc pdv) {
100       this.processMgrVersion = pdv;
101    }
102
103    public String JavaDoc getProcessDefinitionVersion() {
104       return processMgrVersion;
105    }
106
107    public void setActivityDefinitionId(String JavaDoc adId) {
108       activityDefinitionId = adId;
109    }
110
111    public String JavaDoc getActivityDefinitionId() {
112       return activityDefinitionId;
113    }
114
115    public String JavaDoc getActivitySetDefinitionId () {
116       return activitySetDefinitionId;
117    }
118
119    public void setActivitySetDefinitionId (String JavaDoc asdId) {
120       activitySetDefinitionId=asdId;
121    }
122
123    public void setProcessDefinitionId(String JavaDoc pdId) {
124       processDefinitionId = pdId;
125    }
126
127    public String JavaDoc getProcessDefinitionId() {
128       return processDefinitionId;
129    }
130
131    public void setPackageId(String JavaDoc pkgId) {
132       packageId = pkgId;
133    }
134
135    public String JavaDoc getPackageId() {
136       return packageId;
137    }
138
139    public int getEventTypeId() {
140       return eventTypeId;
141    }
142
143    public void setEventTypeId(int i) {
144       eventTypeId = i;
145    }
146
147 }
148
Popular Tags