KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > broker > LockedByVersion


1 package org.apache.ojb.broker;
2
3 import java.io.Serializable JavaDoc;
4 import java.util.List JavaDoc;
5
6 public class LockedByVersion implements Serializable JavaDoc
7 {
8     private Integer JavaDoc id;
9     private String JavaDoc value;
10     private int version;
11     private Integer JavaDoc fk;
12     private List JavaDoc childs;
13
14     public LockedByVersion()
15     {
16     }
17
18     /**
19      * Gets the id.
20      * @return Returns a int
21      */

22     public Integer JavaDoc getId()
23     {
24         return id;
25     }
26
27     /**
28      * Sets the id.
29      * @param id The id to set
30      */

31     public void setId(Integer JavaDoc id)
32     {
33         this.id = id;
34     }
35
36     /**
37      * Gets the value.
38      * @return Returns a String
39      */

40     public String JavaDoc getValue()
41     {
42         return value;
43     }
44
45     /**
46      * Sets the value.
47      * @param value The value to set
48      */

49     public void setValue(String JavaDoc value)
50     {
51         this.value = value;
52     }
53
54     /**
55      * Gets the version.
56      * @return Returns a long
57      */

58     public int getVersion()
59     {
60         return version;
61     }
62
63     /**
64      * Sets the version.
65      * @param version The version to set
66      */

67     public void setVersion(int version)
68     {
69         this.version = version;
70     }
71
72     public Integer JavaDoc getFk()
73     {
74         return fk;
75     }
76
77     public void setFk(Integer JavaDoc fk)
78     {
79         this.fk = fk;
80     }
81
82     public List JavaDoc getChilds()
83     {
84         return childs;
85     }
86
87     public void setChilds(List JavaDoc childs)
88     {
89         this.childs = childs;
90     }
91 }
92
Popular Tags