01: package org.apache.ojb.broker;
02:
03: /* Copyright 2002-2005 The Apache Software Foundation
04: *
05: * Licensed under the Apache License, Version 2.0 (the "License");
06: * you may not use this file except in compliance with the License.
07: * You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS,
13: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14: * See the License for the specific language governing permissions and
15: * limitations under the License.
16: */
17:
18: import java.io.Serializable;
19: import java.util.Date;
20:
21: public class Version implements Serializable {
22: private String pk;
23: private String fkToContract;
24: private String versionValue1;
25: private int versionValue2;
26:
27: public String getPk() {
28: return pk;
29: }
30:
31: public void setPk(String pk) {
32: this .pk = pk;
33: }
34:
35: public String getFkToContract() {
36: return fkToContract;
37: }
38:
39: public void setFkToContract(String fkToContract) {
40: this .fkToContract = fkToContract;
41: }
42:
43: public String getVersionValue1() {
44: return versionValue1;
45: }
46:
47: public void setVersionValue1(String versionValue1) {
48: this .versionValue1 = versionValue1;
49: }
50:
51: public int getVersionValue2() {
52: return versionValue2;
53: }
54:
55: public void setVersionValue2(int versionValue2) {
56: this .versionValue2 = versionValue2;
57: }
58:
59: public Date getVersionValue3() {
60: return versionValue3;
61: }
62:
63: public void setVersionValue3(Date versionValue3) {
64: this .versionValue3 = versionValue3;
65: }
66:
67: public Contract getContract() {
68: return contract;
69: }
70:
71: public void setContract(Contract contract) {
72: this .contract = contract;
73: }
74:
75: private Date versionValue3;
76: private Contract contract;
77: }
|