cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor
Class GeneralDescriptor

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.ItemDescriptor
      extended by cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.GeneralDescriptor

public class GeneralDescriptor
extends ItemDescriptor

General descriptor is responsible for all items which are not by default handled by the item translator. Those are usualy user-defined items thus the user can either create its own descriptor or just take this description which contains only the mapping obtained directly from the ITCMessage.


Method Summary
 boolean contains(java.lang.String key)
           
 java.lang.Object get(java.lang.String key)
           
 java.lang.String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.translator.itemdescriptor.ItemDescriptor
doReflexion, fieldToName, firstCharToUpperCase, getAmount, getInventoryType, getItemCategory, getPickupType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

contains

public boolean contains(java.lang.String key)

get

public java.lang.Object get(java.lang.String key)

toString

public java.lang.String toString()
Overrides:
toString in class ItemDescriptor