public class ItemDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
static ItemDescriptor |
NONE |
Constructor and Description |
---|
ItemDescriptor() |
Modifier and Type | Method and Description |
---|---|
protected void |
doReflexion(Object configMsg,
Class<? extends ItemDescriptor> clazz)
This method does the mapping from a map of attributes contained it ITCMsg and the attributes of the descriptor.
|
protected String |
fieldToName(String string)
Converts a fully qualified field name (e.g.
|
protected String |
firstCharToUpperCase(String input) |
int |
getAmount() |
String |
getInventoryType() |
ItemType.Category |
getItemCategory() |
ItemType |
getPickupType() |
String |
toString() |
public static final ItemDescriptor NONE
public int getAmount()
public String getInventoryType()
public ItemType getPickupType()
public ItemType.Category getItemCategory()
protected String fieldToName(String string)
string
- - complete identifier of a field in a classprotected void doReflexion(Object configMsg, Class<? extends ItemDescriptor> clazz)
configMsg
- Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.