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

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

public class ActionMessage
extends java.lang.Object

Java class for ActionMessage complex type.

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

 <complexType name="ActionMessage">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="index" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="amount" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
         <element name="discards" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
         <element name="discarded" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="seat" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Constructor Summary
ActionMessage()
           
 
Method Summary
 java.lang.Double getAmount()
          Gets the value of the amount property.
 java.util.List<java.lang.Integer> getDiscarded()
          Gets the value of the discarded property.
 java.lang.Integer getDiscards()
          Gets the value of the discards property.
 java.lang.Integer getIndex()
          Gets the value of the index property.
 java.lang.String getName()
          Gets the value of the name property.
 java.lang.Integer getSeat()
          Gets the value of the seat property.
 void setAmount(java.lang.Double value)
          Sets the value of the amount property.
 void setDiscards(java.lang.Integer value)
          Sets the value of the discards property.
 void setIndex(java.lang.Integer value)
          Sets the value of the index property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setSeat(java.lang.Integer 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

ActionMessage

public ActionMessage()
Method Detail

getIndex

public java.lang.Integer getIndex()
Gets the value of the index property.

Returns:
possible object is Integer

setIndex

public void setIndex(java.lang.Integer value)
Sets the value of the index property.

Parameters:
value - allowed object is Integer

getAmount

public java.lang.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

getDiscards

public java.lang.Integer getDiscards()
Gets the value of the discards property.

Returns:
possible object is Integer

setDiscards

public void setDiscards(java.lang.Integer value)
Sets the value of the discards property.

Parameters:
value - allowed object is Integer

getDiscarded

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

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

    getDiscarded().add(newItem);
 

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


getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getSeat

public java.lang.Integer getSeat()
Gets the value of the seat property.

Returns:
possible object is Integer

setSeat

public void setSeat(java.lang.Integer value)
Sets the value of the seat property.

Parameters:
value - allowed object is Integer