//J-
package com.whippy.poker.common.beans;


public class ClientTable {

        private ClientSeat[] seats;
        private int id;
        private TableState state;
        private int dealerPosition;
        private int currentPot;

        public ClientTable(ClientSeat[] seats, int id, TableState state, int dealerPosition, int currentPot) {
                this.seats = seats;
                this.id = id;
                this.state = state;
                this.dealerPosition = dealerPosition;
                this.currentPot = currentPot;
        }

        public void setSeats(ClientSeat[] seats) {
                this.seats = seats;
        }

        public void setId(int id) {
                this.id = id;
        }

        public void setState(TableState state) {
                this.state = state;
        }

        public void setDealerPosition(int dealerPosition) {
                this.dealerPosition = dealerPosition;
        }

        public ClientTable(){

        }

        public ClientSeat[] getSeats() {
                return seats;
        }

        public int getId() {
                return id;
        }

        public TableState getState() {
                return state;
        }

        public int getDealerPosition() {
                return dealerPosition;
        }

}
//J+

@@ -38,16 +38,39 @@
 beans;%0A%0A
+import java.util.List;%0A
 %0Apublic 
@@ -251,16 +251,57 @@
 rentPot;
+%0A        private List%3CCard%3E currentCards;
 %0A%0A      
@@ -401,16 +401,41 @@
 rrentPot
+, List%3CCard%3E currentCards
 ) %7B%0A    
@@ -611,31 +611,83 @@
 his.
-currentPot = currentPot
+setCurrentPot(currentPot);%0A                this.currentCards = currentCards
 ;%0A  
@@ -1453,15 +1453,425 @@
      %7D%0A%0A
+        public int getCurrentPot() %7B%0A                return currentPot;%0A        %7D%0A%0A        public void setCurrentPot(int currentPot) %7B%0A                this.currentPot = currentPot;%0A        %7D%0A%0A        public List%3CCard%3E getCurrentCards() %7B%0A                return currentCards;%0A        %7D%0A%0A        public void setCurrentCards(List%3CCard%3E currentCards) %7B%0A                this.currentCards = currentCards;%0A        %7D%0A%0A
 %7D%0A//J+%0A

Add current pot and cards to client table representation