Jadex 0.96

jadex.examples.hunterprey
Class WorldObjectData

java.lang.Object
  extended by jadex.examples.hunterprey.WorldObjectData
All Implemented Interfaces:
nuggets.INugget
Direct Known Subclasses:
WorldObject

public abstract class WorldObjectData
extends Object
implements nuggets.INugget

Java class for concept WorldObject of hunterprey_beans ontology.


Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Constructor Summary
WorldObjectData()
          Default Constructor.
 
Method Summary
 void _persist(nuggets.ICruncher c)
          Persist this WorldObject using the nuggets utility.
 void _set(String a, Object v)
          Restore this WorldObject
 Location getLocation()
          Get the location of this WorldObject.
 void setLocation(Location location)
          Set the location of this WorldObject.
 String toString()
          Get a string representation of this WorldObject.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WorldObjectData

public WorldObjectData()
Default Constructor.
Create a new WorldObject.

Method Detail

getLocation

public Location getLocation()
Get the location of this WorldObject. The location of the object.

Returns:
location

setLocation

public void setLocation(Location location)
Set the location of this WorldObject. The location of the object.

Parameters:
location - the value to be set

toString

public String toString()
Get a string representation of this WorldObject.

Overrides:
toString in class Object
Returns:
The string representation.

_persist

public void _persist(nuggets.ICruncher c)
Persist this WorldObject using the nuggets utility.

Specified by:
_persist in interface nuggets.INugget
Parameters:
c -

_set

public void _set(String a,
                 Object v)
Restore this WorldObject

Specified by:
_set in interface nuggets.INugget
Parameters:
a - the name of the attribute
v - the value of the attribute

Jadex 0.96

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.