|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.asdf.plugins.pokergames.texasholdem.parser.TexasEventMessage
public class TexasEventMessage
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 |
---|
public TexasEventMessage()
Method Detail |
---|
public java.util.List<java.lang.Integer> getCardPositions()
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
public ActionMessage getAction()
ActionMessage
public void setAction(ActionMessage value)
value
- allowed object is
ActionMessage
public int getType()
public void setType(int value)
public double getAmount()
Double
public void setAmount(java.lang.Double value)
value
- allowed object is
Double
public int getSeat()
public void setSeat(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |