1 37 38 package poker.data.DODS_GameData; 39 40 import com.lutris.dods.builder.generator.query.DataObjectException; 41 42 52 public class GameDataBDO implements java.io.Serializable { 53 54 59 protected GameDataDO DO; 60 61 68 public static GameDataBDO createVirgin() throws Exception { 69 GameDataBDO bdo = new GameDataBDO (); 70 bdo.DO = GameDataDO.createVirgin(); 71 return bdo; 72 } 73 74 79 public static GameDataBDO createExisting( GameDataDO DO ) { 80 GameDataBDO bdo = new GameDataBDO (); 81 bdo.DO = DO; 82 return bdo; 83 } 84 85 94 protected void beforeAnyGet() {} 95 protected void beforeAnySet() {} 96 protected void afterAnySet() {} 97 98 103 public int getCash () 104 throws DataObjectException { 105 return DO.getCash (); 106 } 107 108 113 114 public void setCash ( int Cash ) 115 throws DataObjectException { 116 DO.setCash ( Cash ); 117 } 118 119 120 125 public String getDeck () 126 throws DataObjectException { 127 return DO.getDeck (); 128 } 129 130 135 136 public void setDeck ( String Deck ) 137 throws DataObjectException { 138 DO.setDeck ( Deck ); 139 } 140 141 142 147 public String getEmail () 148 throws DataObjectException { 149 return DO.getEmail (); 150 } 151 152 157 158 public void setEmail ( String Email ) 159 throws DataObjectException { 160 DO.setEmail ( Email ); 161 } 162 163 164 169 public int getLargestBet () 170 throws DataObjectException { 171 return DO.getLargestBet (); 172 } 173 174 179 180 public void setLargestBet ( int LargestBet ) 181 throws DataObjectException { 182 DO.setLargestBet ( LargestBet ); 183 } 184 185 186 191 public String getName () 192 throws DataObjectException { 193 return DO.getName (); 194 } 195 196 201 202 public void setName ( String Name ) 203 throws DataObjectException { 204 DO.setName ( Name ); 205 } 206 207 208 213 public String getPassword () 214 throws DataObjectException { 215 return DO.getPassword (); 216 } 217 218 223 224 public void setPassword ( String Password ) 225 throws DataObjectException { 226 DO.setPassword ( Password ); 227 } 228 229 230 235 public int getSmallestBet () 236 throws DataObjectException { 237 return DO.getSmallestBet (); 238 } 239 240 245 246 public void setSmallestBet ( int SmallestBet ) 247 throws DataObjectException { 248 DO.setSmallestBet ( SmallestBet ); 249 } 250 251 252 257 public int getTotalPlayed () 258 throws DataObjectException { 259 return DO.getTotalPlayed (); 260 } 261 262 267 268 public void setTotalPlayed ( int TotalPlayed ) 269 throws DataObjectException { 270 DO.setTotalPlayed ( TotalPlayed ); 271 } 272 273 274 279 public int getTotalWon () 280 throws DataObjectException { 281 return DO.getTotalWon (); 282 } 283 284 289 290 public void setTotalWon ( int TotalWon ) 291 throws DataObjectException { 292 DO.setTotalWon ( TotalWon ); 293 } 294 295 296 } 297 | Popular Tags |