monrovia.server.core
Class GameDataImpl.ObjectDataImpl

java.lang.Object
  |
  +--monrovia.server.core.GameDataImpl.ObjectDataImpl
All Implemented Interfaces:
GameDataStorage.ObjectData
Enclosing class:
GameDataImpl

public class GameDataImpl.ObjectDataImpl
extends java.lang.Object
implements GameDataStorage.ObjectData


Constructor Summary
GameDataImpl.ObjectDataImpl(GameObjectData pObject)
           
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GameDataImpl.ObjectDataImpl

public GameDataImpl.ObjectDataImpl(GameObjectData pObject)
Method Detail

getID

public int getID()
Description copied from interface: GameDataStorage.ObjectData
Get the ID of this object
Specified by:
getID in interface GameDataStorage.ObjectData

getParameterType

public java.lang.Class getParameterType(java.lang.String pName)
Description copied from interface: GameDataStorage.ObjectData
Get type for given parameter.

Specified by:
getParameterType in interface GameDataStorage.ObjectData
Following copied from interface: monrovia.server.core.GameDataStorage.ObjectData
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
Description copied from interface: GameDataStorage.ObjectData
Set value for a parameter in the game object

Specified by:
setParameter in interface GameDataStorage.ObjectData
Following copied from interface: monrovia.server.core.GameDataStorage.ObjectData
Parameters:
pName - Name of the parameter
pValue - Value of the parameter