01: package org.apache.ojb.odmg.shared;
02:
03: import java.io.Serializable;
04:
05: /**
06: * the facade to all TestCases in this package.
07: * @author Thomas Mahler
08: */
09: public class DetailFKnoPK implements Serializable {
10: public Integer masterId;
11: public Integer detailId;
12: public String detailText;
13: public Master master;
14:
15: public DetailFKnoPK(Integer dId, Integer mId, String text) {
16: masterId = mId;
17: detailId = dId;
18: detailText = text;
19: }
20:
21: public DetailFKnoPK() {
22: super ();
23: }
24:
25: public String toString() {
26: return " DetailFKnoPK detailId = " + detailId + " masterId = "
27: + masterId;
28: }
29:
30: /**
31: * Gets the detailId.
32: * @return Returns a Integer
33: */
34: public Integer getDetailId() {
35: return detailId;
36: }
37:
38: /**
39: * Sets the detailId.
40: * @param detailId The detailId to set
41: */
42: public void setDetailId(Integer detailId) {
43: this .detailId = detailId;
44: }
45:
46: /**
47: * Gets the detailText.
48: * @return Returns a String
49: */
50: public String getDetailText() {
51: return detailText;
52: }
53:
54: /**
55: * Sets the detailText.
56: * @param detailText The detailText to set
57: */
58: public void setDetailText(String detailText) {
59: this .detailText = detailText;
60: }
61:
62: /**
63: * Gets the master.
64: * @return Returns a Master
65: */
66: public Master getMaster() {
67: return master;
68: }
69:
70: /**
71: * Sets the master.
72: * @param master The master to set
73: */
74: public void setMaster(Master master) {
75: this .master = master;
76: }
77:
78: /**
79: * Gets the masterId.
80: * @return Returns a Integer
81: */
82: public Integer getMasterId() {
83: return masterId;
84: }
85:
86: /**
87: * Sets the masterId.
88: * @param masterId The masterId to set
89: */
90: public void setMasterId(Integer masterId) {
91: this.masterId = masterId;
92: }
93:
94: }
|