KickJava   Java API By Example, From Geeks To Geeks.

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


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 HibernateNextXPDLVersion {
12
13     private int id;
14     private String JavaDoc XPDLId = null;
15     private String JavaDoc nextVersion = null;
16     
17     public HibernateNextXPDLVersion() {
18     }
19
20     public int getId() {
21         return id;
22     }
23
24     public void setId(int id) {
25         this.id = id;
26     }
27     
28     public String JavaDoc getXPDLId() {
29         return XPDLId;
30     }
31
32     public void setXPDLId(String JavaDoc id) {
33         XPDLId = id;
34     }
35
36     public String JavaDoc getNextVersion() {
37         return nextVersion;
38     }
39
40     public void setNextVersion(String JavaDoc nextVersion) {
41         this.nextVersion = nextVersion;
42     }
43
44     public String JavaDoc toString() {
45         String JavaDoc retVal = "";
46         retVal += "\nXPDLId = "+this.XPDLId;
47         retVal += "\nnextVersion = "+this.nextVersion;
48         retVal += "\nid = "+this.id;
49         return retVal;
50     }
51
52 }
Popular Tags