KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > eventaudit > data > HibernateProcessStateEventAudit


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

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

14 public class HibernateProcessStateEventAudit extends HibernateObjectUtil implements HibernateGeneric {
15
16     private String JavaDoc keyValue;
17     private String JavaDoc name;
18     
19     private int dbId = -1;
20     
21     public int getDbId() {
22         return dbId;
23     }
24
25     public void setDbId(int dbId) {
26         this.dbId = dbId;
27     }
28
29     public HibernateProcessStateEventAudit() {
30     }
31
32     public String JavaDoc getKeyValue() {
33         return keyValue;
34     }
35
36     public String JavaDoc getName() {
37         return name;
38     }
39
40     public void setKeyValue(String JavaDoc string) {
41         keyValue = string;
42     }
43
44     public void setName(String JavaDoc string) {
45         name = string;
46     }
47
48 }
49
Popular Tags