1 37 38 package poker.data.DODS_Fortune; 39 40 import com.lutris.dods.builder.generator.query.*; 42 43 53 public class FortuneBDO implements java.io.Serializable { 54 55 60 protected FortuneDO DO; 61 62 69 public static FortuneBDO createVirgin() throws Exception { 70 FortuneBDO bdo = new FortuneBDO (); 71 bdo.DO = FortuneDO.createVirgin(); 72 return bdo; 73 } 74 75 80 public static FortuneBDO createExisting( FortuneDO DO ) { 81 FortuneBDO bdo = new FortuneBDO (); 82 bdo.DO = DO; 83 return bdo; 84 } 85 86 95 protected void beforeAnyGet() {} 96 protected void beforeAnySet() {} 97 protected void afterAnySet() {} 98 99 104 public String getFortune () 105 throws DataObjectException { 106 return DO.getFortune (); 107 } 108 109 114 115 public void setFortune ( String Fortune ) 116 throws DataObjectException { 117 DO.setFortune ( Fortune ); 118 } 119 120 121 126 public java.math.BigDecimal getFortuneNumber () 127 throws DataObjectException { 128 return DO.getFortuneNumber (); 129 } 130 131 136 137 public void setFortuneNumber ( java.math.BigDecimal FortuneNumber ) 138 throws DataObjectException { 139 DO.setFortuneNumber ( FortuneNumber ); 140 } 141 142 143 148 public boolean getHasBeenUsed () 149 throws DataObjectException { 150 return DO.getHasBeenUsed (); 151 } 152 153 158 159 public void setHasBeenUsed ( boolean HasBeenUsed ) 160 throws DataObjectException { 161 DO.setHasBeenUsed ( HasBeenUsed ); 162 } 163 164 165 } 166 | Popular Tags |