XmlUnit¶
-
public class
XmlUnit
¶ Java class for Unit complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Unit"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <all> <element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="currentHealth" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="xPosition" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="yPosition" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="templateID" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="cargoType" type="{}ResourceType"/> <element name="cargoAmount" type="{http://www.w3.org/2001/XMLSchema}int"/> <element name="progressPrimitive" type="{}Action"/> <element name="progressAmount" type="{http://www.w3.org/2001/XMLSchema}int"/> </all> </restriction> </complexContent> </complexType>
Fields¶
cargoType¶
-
protected ResourceType
cargoType
¶
Methods¶
getCargoType¶
-
public ResourceType
getCargoType
()¶ Gets the value of the cargoType property.
Returns: possible object is String
getProgressPrimitive¶
setCargoType¶
-
public void
setCargoType
(ResourceType value)¶ Sets the value of the cargoType property.
Parameters: - value – allowed object is
String
- value – allowed object is
setCurrentHealth¶
-
public void
setCurrentHealth
(int value)¶ Sets the value of the currentHealth property.
setProgressAmount¶
-
public void
setProgressAmount
(int value)¶ Sets the value of the progressAmount property.