XmlUpgradeTemplate

public class XmlUpgradeTemplate extends XmlTemplate

Java class for UpgradeTemplate complex type.

The following schema fragment specifies the expected content contained within this class.

<complexType name="UpgradeTemplate">
  <complexContent>
    <extension base="{}Template">
      <sequence>
        <element name="basicAttackChange" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="piercingAttackChange" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="armorChange" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="healthChange" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="sightRangeChange" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="rangeChange" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <sequence maxOccurs="unbounded" minOccurs="0">
          <element name="affectedUnitTypes" type="{http://www.w3.org/2001/XMLSchema}int"/>
        </sequence>
      </sequence>
    </extension>
  </complexContent>
</complexType>

Fields

affectedUnitTypes

protected List<Integer> affectedUnitTypes

armorChange

protected int armorChange

basicAttackChange

protected int basicAttackChange

healthChange

protected int healthChange

piercingAttackChange

protected int piercingAttackChange

rangeChange

protected int rangeChange

sightRangeChange

protected int sightRangeChange

Methods

getAffectedUnitTypes

public List<Integer> getAffectedUnitTypes()

Gets the value of the affectedUnitTypes 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 affectedUnitTypes property.

For example, to add a new item, do as follows:

getAffectedUnitTypes().add(newItem);

Objects of the following type(s) are allowed in the list Integer

getArmorChange

public int getArmorChange()

Gets the value of the armorChange property.

getBasicAttackChange

public int getBasicAttackChange()

Gets the value of the basicAttackChange property.

getHealthChange

public int getHealthChange()

Gets the value of the healthChange property.

getPiercingAttackChange

public int getPiercingAttackChange()

Gets the value of the piercingAttackChange property.

getRangeChange

public int getRangeChange()

Gets the value of the rangeChange property.

getSightRangeChange

public int getSightRangeChange()

Gets the value of the sightRangeChange property.

setArmorChange

public void setArmorChange(int value)

Sets the value of the armorChange property.

setBasicAttackChange

public void setBasicAttackChange(int value)

Sets the value of the basicAttackChange property.

setHealthChange

public void setHealthChange(int value)

Sets the value of the healthChange property.

setPiercingAttackChange

public void setPiercingAttackChange(int value)

Sets the value of the piercingAttackChange property.

setRangeChange

public void setRangeChange(int value)

Sets the value of the rangeChange property.

setSightRangeChange

public void setSightRangeChange(int value)

Sets the value of the sightRangeChange property.