KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > enhydra > shark > repositorypersistence > data > HibernateXPDLHistory


1 /*
2  * Shark Hibernate RepositoryPersistence - Open Wide
3  */

4
5 package org.enhydra.shark.repositorypersistence.data;
6
7 /**
8  * Simple POJO class, part of the repository model
9  * @author Vladislav Pernin
10  */

11 public class HibernateXPDLHistory {
12
13     private int id;
14     private String JavaDoc XPDLId = null;
15     private String JavaDoc XPDLVersion = null;
16     private byte[] XPDLContent = {0};
17     
18     public HibernateXPDLHistory() {
19     }
20
21     public int getId() {
22         return id;
23     }
24
25     public void setId(int id) {
26         this.id = id;
27     }
28     
29     public byte[] getXPDLContent() {
30         return XPDLContent;
31     }
32
33     public void setXPDLContent(byte[] content) {
34         XPDLContent = content;
35     }
36
37     public String JavaDoc getXPDLId() {
38         return XPDLId;
39     }
40
41     public void setXPDLId(String JavaDoc id) {
42         XPDLId = id;
43     }
44
45     public String JavaDoc getXPDLVersion() {
46         return XPDLVersion;
47     }
48
49     public void setXPDLVersion(String JavaDoc version) {
50         XPDLVersion = version;
51     }
52
53     public String JavaDoc toString() {
54         String JavaDoc retVal = "";
55         retVal += "\nId = "+this.id;
56         retVal += "\nXPDLId = "+this.XPDLId;
57         retVal += "\nXPDLVersion = "+this.XPDLVersion;
58         return retVal;
59     }
60
61 }
Popular Tags