1 package poker.data.game; 2 3 import java.util.Vector ; 4 5 17 public class PitBossVDO implements java.io.Serializable { 18 private String gameName= ""; 19 private int totalDollars = 0; 20 private int totalBankrupt = 0; 21 private int totalHandsDealt = 1; 22 private int totalHandsWon = 0; 23 24 27 public PitBossVDO(){ 28 } 29 30 public void setGameName(String gameName){ 32 this.gameName = gameName; 33 } 34 35 public void setTotalDollars(int totalDollars){ 36 this.totalDollars = totalDollars; 37 } 38 39 public void setTotalBankrupt(int totalBankrupt){ 40 this.totalBankrupt = totalBankrupt; 41 } 42 43 public void setTotalHandsDealt(int totalHandsDealt){ 44 this.totalHandsDealt = totalHandsDealt; 45 } 46 47 public void setTotalHandsWon(int totalHandsWon){ 48 this.totalHandsWon = totalHandsWon; 49 } 50 51 public String getGameName(){ 53 return gameName; 54 } 55 56 public int getTotalDollars(){ 57 return totalDollars; 58 } 59 60 public int getTotalHandsDealt(){ 61 return totalHandsDealt; 62 } 63 64 public int getTotalBankrupt(){ 65 return totalBankrupt; 66 } 67 68 public int getTotalHandsWon(){ 69 return totalHandsWon; 70 } 71 72 } 73 | Popular Tags |