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