XmlTemplate¶
-
public abstract class
XmlTemplate
¶ Java class for Template complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Template"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="foodCost" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="goldCost" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="woodCost" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="timeCost" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="upgradePrerequisite" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> <sequence maxOccurs="unbounded" minOccurs="0"> <element name="unitPrerequisite" type="{http://www.w3.org/2001/XMLSchema}int"/> </sequence> </sequence> </restriction> </complexContent> </complexType>
Fields¶
Methods¶
getName¶
getUnitPrerequisite¶
-
public List<Integer>
getUnitPrerequisite
()¶ Gets the value of the unitPrerequisite 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 unitPrerequisite property.For example, to add a new item, do as follows:
getUnitPrerequisite().add(newItem);
Objects of the following type(s) are allowed in the list
Integer
getUpgradePrerequisite¶
-
public List<Integer>
getUpgradePrerequisite
()¶ Gets the value of the upgradePrerequisite 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 upgradePrerequisite property.For example, to add a new item, do as follows:
getUpgradePrerequisite().add(newItem);
Objects of the following type(s) are allowed in the list
Integer