monrovia.server.core
Interface GameDataStorage.ObjectData

All Known Implementing Classes:
GameDataImpl.ObjectDataImpl
Enclosing class:
GameDataStorage

public static interface GameDataStorage.ObjectData


Method Summary
 int getID()
          Get the ID of this object
 java.lang.Class getParameterType(java.lang.String pName)
          Get type for given parameter.
 void setParameter(java.lang.String pName, java.lang.Object pValue)
          Set value for a parameter in the game object
 

Method Detail

getID

public int getID()
Get the ID of this object

getParameterType

public java.lang.Class getParameterType(java.lang.String pName)
Get type for given parameter.

Parameters:
pName - The name of the parameter
Returns:
The type or null, if there is no such parameter

setParameter

public void setParameter(java.lang.String pName,
                         java.lang.Object pValue)
                  throws StorageException
Set value for a parameter in the game object

Parameters:
pName - Name of the parameter
pValue - Value of the parameter