01: package org.apache.ojb.broker;
02:
03: import java.io.Serializable;
04: import java.util.List;
05:
06: public class LockedByVersion implements Serializable {
07: private Integer id;
08: private String value;
09: private int version;
10: private Integer fk;
11: private List childs;
12:
13: public LockedByVersion() {
14: }
15:
16: /**
17: * Gets the id.
18: * @return Returns a int
19: */
20: public Integer getId() {
21: return id;
22: }
23:
24: /**
25: * Sets the id.
26: * @param id The id to set
27: */
28: public void setId(Integer id) {
29: this .id = id;
30: }
31:
32: /**
33: * Gets the value.
34: * @return Returns a String
35: */
36: public String getValue() {
37: return value;
38: }
39:
40: /**
41: * Sets the value.
42: * @param value The value to set
43: */
44: public void setValue(String value) {
45: this .value = value;
46: }
47:
48: /**
49: * Gets the version.
50: * @return Returns a long
51: */
52: public int getVersion() {
53: return version;
54: }
55:
56: /**
57: * Sets the version.
58: * @param version The version to set
59: */
60: public void setVersion(int version) {
61: this .version = version;
62: }
63:
64: public Integer getFk() {
65: return fk;
66: }
67:
68: public void setFk(Integer fk) {
69: this .fk = fk;
70: }
71:
72: public List getChilds() {
73: return childs;
74: }
75:
76: public void setChilds(List childs) {
77: this.childs = childs;
78: }
79: }
|