1 package org.apache.ojb.odmg.shared; 2 3 import java.io.Serializable ; 4 5 9 public class DetailFKnoPK implements Serializable 10 { 11 public Integer masterId; 12 public Integer detailId; 13 public String detailText; 14 public Master master; 15 16 public DetailFKnoPK(Integer dId, Integer mId, String 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 toString() 30 { 31 return " DetailFKnoPK detailId = " + detailId + " masterId = " + masterId; 32 } 33 34 38 public Integer getDetailId() 39 { 40 return detailId; 41 } 42 43 47 public void setDetailId(Integer detailId) 48 { 49 this.detailId = detailId; 50 } 51 52 56 public String getDetailText() 57 { 58 return detailText; 59 } 60 61 65 public void setDetailText(String detailText) 66 { 67 this.detailText = detailText; 68 } 69 70 74 public Master getMaster() 75 { 76 return master; 77 } 78 79 83 public void setMaster(Master master) 84 { 85 this.master = master; 86 } 87 88 92 public Integer getMasterId() 93 { 94 return masterId; 95 } 96 97 101 public void setMasterId(Integer masterId) 102 { 103 this.masterId = masterId; 104 } 105 106 } 107 | Popular Tags |