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 DetailFKinPK implements Serializable {
10: public Integer masterId;
11: public Integer detailId;
12: public String detailText;
13: public Master master;
14:
15: public DetailFKinPK(Integer mId, Integer dId, String text) {
16: masterId = mId;
17: detailId = dId;
18: detailText = text;
19: }
20:
21: public DetailFKinPK() {
22: super ();
23: }
24:
25: public String toString() {
26: return " DetailFKinPK detailId = " + detailId + " masterId = "
27: + masterId;
28: }
29:
30: /**
31: * Gets the aMaster.
32: * @return Returns a Master
33: */
34: public Master getMaster() {
35: return master;
36: }
37:
38: /**
39: * Sets the aMaster.
40: * @param aMaster The aMaster to set
41: */
42: public void setMaster(Master aMaster) {
43: this .master = aMaster;
44: }
45:
46: /**
47: * Gets the detailId.
48: * @return Returns a Integer
49: */
50: public Integer getDetailId() {
51: return detailId;
52: }
53:
54: /**
55: * Sets the detailId.
56: * @param detailId The detailId to set
57: */
58: public void setDetailId(Integer detailId) {
59: this .detailId = detailId;
60: }
61:
62: /**
63: * Gets the detailText.
64: * @return Returns a String
65: */
66: public String getDetailText() {
67: return detailText;
68: }
69:
70: /**
71: * Sets the detailText.
72: * @param detailText The detailText to set
73: */
74: public void setDetailText(String detailText) {
75: this .detailText = detailText;
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: }
|