1 37 38 package poker.data.DODS_PitBoss; 39 40 import com.lutris.dods.builder.generator.query.*; 42 43 53 public class PitBossBDO implements java.io.Serializable { 54 55 60 protected PitBossDO DO; 61 62 69 public static PitBossBDO createVirgin() throws Exception { 70 PitBossBDO bdo = new PitBossBDO (); 71 bdo.DO = PitBossDO.createVirgin(); 72 return bdo; 73 } 74 75 80 public static PitBossBDO createExisting( PitBossDO DO ) { 81 PitBossBDO bdo = new PitBossBDO (); 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 getGameName () 105 throws DataObjectException { 106 return DO.getGameName (); 107 } 108 109 114 115 public void setGameName ( String GameName ) 116 throws DataObjectException { 117 DO.setGameName ( GameName ); 118 } 119 120 121 126 public int getTotalDollars () 127 throws DataObjectException { 128 return DO.getTotalDollars (); 129 } 130 131 136 137 public void setTotalDollars ( int TotalDollars ) 138 throws DataObjectException { 139 DO.setTotalDollars ( TotalDollars ); 140 } 141 142 143 148 public int getTotalBankrupt () 149 throws DataObjectException { 150 return DO.getTotalBankrupt (); 151 } 152 153 158 159 public void setTotalBankrupt ( int TotalBankrupt ) 160 throws DataObjectException { 161 DO.setTotalBankrupt ( TotalBankrupt ); 162 } 163 164 165 170 public int getTotalHandsDealt () 171 throws DataObjectException { 172 return DO.getTotalHandsDealt (); 173 } 174 175 180 181 public void setTotalHandsDealt ( int TotalHandsDealt ) 182 throws DataObjectException { 183 DO.setTotalHandsDealt ( TotalHandsDealt ); 184 } 185 186 187 192 public int getTotalHandsWon () 193 throws DataObjectException { 194 return DO.getTotalHandsWon (); 195 } 196 197 202 203 public void setTotalHandsWon ( int TotalHandsWon ) 204 throws DataObjectException { 205 DO.setTotalHandsWon ( TotalHandsWon ); 206 } 207 208 209 } 210 | Popular Tags |