com.asdf.plugins.pokergames.texasholdem.parser
Class ParserHand

java.lang.Object
  extended by com.asdf.plugins.pokergames.texasholdem.parser.ParserHand

public class ParserHand
extends java.lang.Object

Java class for ParserHand complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="ParserHand">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="cards" type="{}ParserCard" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="seat" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
ParserHand()
           
 
Method Summary
 java.util.List<ParserCard> getCards()
          Gets the value of the cards property.
 int getSeat()
          Gets the value of the seat property.
 void setSeat(int value)
          Sets the value of the seat property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserHand

public ParserHand()
Method Detail

getCards

public java.util.List<ParserCard> getCards()
Gets the value of the cards property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the cards property.

For example, to add a new item, do as follows:

    getCards().add(newItem);
 

Objects of the following type(s) are allowed in the list ParserCard


getSeat

public int getSeat()
Gets the value of the seat property.


setSeat

public void setSeat(int value)
Sets the value of the seat property.