KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.apache.ojb.broker;
2
3 /* Copyright 2002-2005 The Apache Software Foundation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * 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 JavaDoc;
19 import java.util.Date JavaDoc;
20
21 public class Version implements Serializable JavaDoc
22 {
23     private String JavaDoc pk;
24     private String JavaDoc fkToContract;
25     private String JavaDoc versionValue1;
26     private int versionValue2;
27
28     public String JavaDoc getPk()
29     {
30         return pk;
31     }
32
33     public void setPk(String JavaDoc pk)
34     {
35         this.pk = pk;
36     }
37
38     public String JavaDoc getFkToContract()
39     {
40         return fkToContract;
41     }
42
43     public void setFkToContract(String JavaDoc fkToContract)
44     {
45         this.fkToContract = fkToContract;
46     }
47
48     public String JavaDoc getVersionValue1()
49     {
50         return versionValue1;
51     }
52
53     public void setVersionValue1(String JavaDoc versionValue1)
54     {
55         this.versionValue1 = versionValue1;
56     }
57
58     public int getVersionValue2()
59     {
60         return versionValue2;
61     }
62
63     public void setVersionValue2(int versionValue2)
64     {
65         this.versionValue2 = versionValue2;
66     }
67
68     public Date JavaDoc getVersionValue3()
69     {
70         return versionValue3;
71     }
72
73     public void setVersionValue3(Date JavaDoc versionValue3)
74     {
75         this.versionValue3 = versionValue3;
76     }
77
78     public Contract getContract()
79     {
80         return contract;
81     }
82
83     public void setContract(Contract contract)
84     {
85         this.contract = contract;
86     }
87
88     private Date JavaDoc versionValue3;
89     private Contract contract;
90 }
91
Popular Tags