KickJava   Java API By Example, From Geeks To Geeks.

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


1 /*
2  * Created by IntelliJ IDEA.
3  * User: Matt
4  * Date: Jun 9, 2002
5  * Time: 6:51:40 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 BidirectionalAssociationObjectB implements Serializable JavaDoc
14 {
15     private String JavaDoc pk;
16     private String JavaDoc fkToA;
17     private BidirectionalAssociationObjectA relatedA;
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 getFkToA()
30     {
31         return fkToA;
32     }
33
34     public void setFkToA(String JavaDoc fkToA)
35     {
36         this.fkToA = fkToA;
37     }
38
39     public BidirectionalAssociationObjectA getRelatedA()
40     {
41         return relatedA;
42     }
43
44     public void setRelatedA(BidirectionalAssociationObjectA relatedA)
45     {
46         this.relatedA = relatedA;
47     }
48 }
49
Popular Tags