XmlHistory¶
-
public class
XmlHistory
¶ Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="fogOfWar" type="{http://www.w3.org/2001/XMLSchema}boolean"/> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="playerHistories" type="{}PlayerHistory"/> </sequence> <element name="observerHistory" type="{}PlayerHistory"/> </sequence> </restriction> </complexContent> </complexType>
Fields¶
observerHistory¶
-
protected XmlPlayerHistory
observerHistory
¶
playerHistories¶
-
protected List<XmlPlayerHistory>
playerHistories
¶
Methods¶
getObserverHistory¶
-
public XmlPlayerHistory
getObserverHistory
()¶ Gets the value of the observerHistory property.
Returns: possible object is XmlPlayerHistory
getPlayerHistories¶
-
public List<XmlPlayerHistory>
getPlayerHistories
()¶ Gets the value of the playerHistories 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 playerHistories property.For example, to add a new item, do as follows:
getPlayerHistories().add(newItem);
Objects of the following type(s) are allowed in the list
XmlPlayerHistory
setObserverHistory¶
-
public void
setObserverHistory
(XmlPlayerHistory value)¶ Sets the value of the observerHistory property.
Parameters: - value – allowed object is
XmlPlayerHistory
- value – allowed object is