KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Created by IntelliJ IDEA.
3  * User: Matt
4  * Date: Jun 9, 2002
5  * Time: 6:51:35 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
13 public class BidirectionalAssociationObjectA implements Serializable JavaDoc
14 {
15     private String JavaDoc pk;
16     private String JavaDoc fkToB;
17     private BidirectionalAssociationObjectB relatedB;
18
19     public String JavaDoc getPk()
20     {
21         return pk;
22     }
23
24     public void setPk(String JavaDoc pk)
25     {
26         this.pk = pk;
27     }
28
29     public String JavaDoc getFkToB()
30     {
31         return fkToB;
32     }
33
34     public void setFkToB(String JavaDoc fkToB)
35     {
36         this.fkToB = fkToB;
37     }
38
39     public BidirectionalAssociationObjectB getRelatedB()
40     {
41         return relatedB;
42     }
43
44     public void setRelatedB(BidirectionalAssociationObjectB relatedB)
45     {
46         this.relatedB = relatedB;
47     }
48 }
49
Popular Tags