|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.asdf.plugins.pokergames.texasholdem.parser.ActionMessage
public class ActionMessage
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 |
|---|
public ActionMessage()
| Method Detail |
|---|
public java.lang.Integer getIndex()
Integerpublic void setIndex(java.lang.Integer value)
value - allowed object is
Integerpublic java.lang.Double getAmount()
Doublepublic void setAmount(java.lang.Double value)
value - allowed object is
Doublepublic java.lang.Integer getDiscards()
Integerpublic void setDiscards(java.lang.Integer value)
value - allowed object is
Integerpublic java.util.List<java.lang.Integer> getDiscarded()
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
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is
Stringpublic java.lang.Integer getSeat()
Integerpublic void setSeat(java.lang.Integer value)
value - allowed object is
Integer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||