XmlResourceNode

public class XmlResourceNode

Java class for ResourceNode complex type.

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

<complexType name="ResourceNode">
  <complexContent>
    <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
      <sequence>
        <element name="ID" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="type" type="{}ResourceNodeType"/>
        <element name="xPosition" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="yPosition" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="initialAmount" type="{http://www.w3.org/2001/XMLSchema}int"/>
        <element name="amountRemaining" type="{http://www.w3.org/2001/XMLSchema}int"/>
      </sequence>
    </restriction>
  </complexContent>
</complexType>

Fields

amountRemaining

protected int amountRemaining

id

protected int id

initialAmount

protected int initialAmount

type

protected Type type

xPosition

protected int xPosition

yPosition

protected int yPosition

Methods

getAmountRemaining

public int getAmountRemaining()

Gets the value of the amountRemaining property.

getID

public int getID()

Gets the value of the id property.

getInitialAmount

public int getInitialAmount()

Gets the value of the initialAmount property.

getType

public Type getType()

Gets the value of the type property.

Returns:possible object is String

getXPosition

public int getXPosition()

Gets the value of the xPosition property.

getYPosition

public int getYPosition()

Gets the value of the yPosition property.

setAmountRemaining

public void setAmountRemaining(int value)

Sets the value of the amountRemaining property.

setID

public void setID(int value)

Sets the value of the id property.

setInitialAmount

public void setInitialAmount(int value)

Sets the value of the initialAmount property.

setType

public void setType(Type value)

Sets the value of the type property.

Parameters:
  • value – allowed object is String

setXPosition

public void setXPosition(int value)

Sets the value of the xPosition property.

setYPosition

public void setYPosition(int value)

Sets the value of the yPosition property.