public class ItemHandle
extends java.lang.Object
The ItemHandle class is used by the ItemManager to store the unique ID and name of an Item.
Constructor and Description |
---|
ItemHandle(java.lang.Integer itemID,
java.lang.String itemName)
The constructor.
|
public ItemHandle(java.lang.Integer itemID, java.lang.String itemName)
The constructor.
itemID
- The ID of the Item represented by this ItemHandle.
itemName
- The name of the Item represented by this ItemHandle.
public java.lang.String getID()
This operation returns the ID of the Item represented by this ItemHandle.
The ID of the Item represented by this ItemHandle.
public java.lang.String getName()
This operation returns the name of the Item represented by this ItemHandle.
The name of the Item represented by this ItemHandle.