KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > ojb > odmg > shared > DetailFKinPK


1 package org.apache.ojb.odmg.shared;
2
3 import java.io.Serializable JavaDoc;
4
5 /**
6  * the facade to all TestCases in this package.
7  * @author Thomas Mahler
8  */

9 public class DetailFKinPK implements Serializable JavaDoc
10 {
11     public Integer JavaDoc masterId;
12     public Integer JavaDoc detailId;
13     public String JavaDoc detailText;
14     public Master master;
15     
16     public DetailFKinPK(Integer JavaDoc mId, Integer JavaDoc dId, String JavaDoc text)
17     {
18         masterId = mId;
19         detailId = dId;
20         detailText = text;
21     }
22     
23     public DetailFKinPK()
24     {
25         super();
26     }
27     
28     
29     public String JavaDoc toString()
30     {
31         return " DetailFKinPK detailId = " + detailId + " masterId = " + masterId;
32     }
33     
34     /**
35      * Gets the aMaster.
36      * @return Returns a Master
37      */

38     public Master getMaster()
39     {
40         return master;
41     }
42
43     /**
44      * Sets the aMaster.
45      * @param aMaster The aMaster to set
46      */

47     public void setMaster(Master aMaster)
48     {
49         this.master = aMaster;
50     }
51
52     /**
53      * Gets the detailId.
54      * @return Returns a Integer
55      */

56     public Integer JavaDoc getDetailId()
57     {
58         return detailId;
59     }
60
61     /**
62      * Sets the detailId.
63      * @param detailId The detailId to set
64      */

65     public void setDetailId(Integer JavaDoc detailId)
66     {
67         this.detailId = detailId;
68     }
69
70     /**
71      * Gets the detailText.
72      * @return Returns a String
73      */

74     public String JavaDoc getDetailText()
75     {
76         return detailText;
77     }
78
79     /**
80      * Sets the detailText.
81      * @param detailText The detailText to set
82      */

83     public void setDetailText(String JavaDoc detailText)
84     {
85         this.detailText = detailText;
86     }
87
88     /**
89      * Gets the masterId.
90      * @return Returns a Integer
91      */

92     public Integer JavaDoc getMasterId()
93     {
94         return masterId;
95     }
96
97     /**
98      * Sets the masterId.
99      * @param masterId The masterId to set
100      */

101     public void setMasterId(Integer JavaDoc masterId)
102     {
103         this.masterId = masterId;
104     }
105
106 }
107
Popular Tags