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

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

public class TexasEventMessage
extends java.lang.Object

Java class for TexasEventMessage complex type.

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

 <complexType name="TexasEventMessage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="CardPositions" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Action" type="{}ActionMessage" minOccurs="0"/>
       </sequence>
       <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
       <attribute name="amount" type="{http://www.w3.org/2001/XMLSchema}double" default="0.0" />
       <attribute name="seat" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
TexasEventMessage()
           
 
Method Summary
 ActionMessage getAction()
          Gets the value of the action property.
 double getAmount()
          Gets the value of the amount property.
 java.util.List<java.lang.Integer> getCardPositions()
          Gets the value of the cardPositions property.
 int getSeat()
          Gets the value of the seat property.
 int getType()
          Gets the value of the type property.
 void setAction(ActionMessage value)
          Sets the value of the action property.
 void setAmount(java.lang.Double value)
          Sets the value of the amount property.
 void setSeat(int value)
          Sets the value of the seat property.
 void setType(int value)
          Sets the value of the type property.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TexasEventMessage

public TexasEventMessage()
Method Detail

getCardPositions

public java.util.List<java.lang.Integer> getCardPositions()
Gets the value of the cardPositions 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 cardPositions property.

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

    getCardPositions().add(newItem);
 

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


getAction

public ActionMessage getAction()
Gets the value of the action property.

Returns:
possible object is ActionMessage

setAction

public void setAction(ActionMessage value)
Sets the value of the action property.

Parameters:
value - allowed object is ActionMessage

getType

public int getType()
Gets the value of the type property.


setType

public void setType(int value)
Sets the value of the type property.


getAmount

public double getAmount()
Gets the value of the amount property.

Returns:
possible object is Double

setAmount

public void setAmount(java.lang.Double value)
Sets the value of the amount property.

Parameters:
value - allowed object is Double

getSeat

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


setSeat

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