KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Created by IntelliJ IDEA.
3  * User: Matt
4  * Date: Jun 8, 2002
5  * Time: 3:20:08 PM
6  * To change template for new class use
7  * Code Style | Class Templates options (Tools | IDE Options).
8  */

9 package org.apache.ojb.broker;
10
11 import java.io.Serializable JavaDoc;
12 import java.util.Date JavaDoc;
13
14 public class Contract implements Serializable JavaDoc
15 {
16     private String JavaDoc pk;
17     private String JavaDoc contractValue1;
18     private int contractValue2;
19     private String JavaDoc contractValue3;
20     private Date JavaDoc contractValue4;
21     private String JavaDoc fkToRelated;
22     private RelatedToContract relatedToContract;
23
24     public String JavaDoc getFkToRelated()
25     {
26         return fkToRelated;
27     }
28
29     public void setFkToRelated(String JavaDoc fkToRelated)
30     {
31         this.fkToRelated = fkToRelated;
32     }
33
34     public RelatedToContract getRelatedToContract()
35     {
36         return relatedToContract;
37     }
38
39     public void setRelatedToContract(RelatedToContract relatedToContract)
40     {
41         this.relatedToContract = relatedToContract;
42     }
43
44     public String JavaDoc getPk()
45     {
46         return pk;
47     }
48
49     public void setPk(String JavaDoc pk)
50     {
51         this.pk = pk;
52     }
53
54     public String JavaDoc getContractValue1()
55     {
56         return contractValue1;
57     }
58
59     public void setContractValue1(String JavaDoc contractValue1)
60     {
61         this.contractValue1 = contractValue1;
62     }
63
64     public int getContractValue2()
65     {
66         return contractValue2;
67     }
68
69     public void setContractValue2(int contractValue2)
70     {
71         this.contractValue2 = contractValue2;
72     }
73
74     public String JavaDoc getContractValue3()
75     {
76         return contractValue3;
77     }
78
79     public void setContractValue3(String JavaDoc contractValue3)
80     {
81         this.contractValue3 = contractValue3;
82     }
83
84     public Date JavaDoc getContractValue4()
85     {
86         return contractValue4;
87     }
88
89     public void setContractValue4(Date JavaDoc contractValue4)
90     {
91         this.contractValue4 = contractValue4;
92     }
93 }
94
Popular Tags