KickJava   Java API By Example, From Geeks To Geeks.

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


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 DetailFKnoPK 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 DetailFKnoPK(Integer JavaDoc dId, Integer JavaDoc mId, String JavaDoc text)
17     {
18         masterId = mId;
19         detailId = dId;
20         detailText = text;
21     }
22     
23     public DetailFKnoPK()
24     {
25         super();
26     }
27     
28     
29     public String JavaDoc toString()
30     {
31         return " DetailFKnoPK detailId = " + detailId + " masterId = " + masterId;
32     }
33     
34     /**
35      * Gets the detailId.
36      * @return Returns a Integer
37      */

38     public Integer JavaDoc getDetailId()
39     {
40         return detailId;
41     }
42
43     /**
44      * Sets the detailId.
45      * @param detailId The detailId to set
46      */

47     public void setDetailId(Integer JavaDoc detailId)
48     {
49         this.detailId = detailId;
50     }
51
52     /**
53      * Gets the detailText.
54      * @return Returns a String
55      */

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

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

74     public Master getMaster()
75     {
76         return master;
77     }
78
79     /**
80      * Sets the master.
81      * @param master The master to set
82      */

83     public void setMaster(Master master)
84     {
85         this.master = master;
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