Jadex 0.96

jadex.examples.hunterprey
Class FoodData

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

public abstract class FoodData
extends WorldObject
implements nuggets.INugget

Java class for concept Food of hunterprey_beans ontology.


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

Constructor Detail

FoodData

public FoodData()
Default Constructor.
Create a new Food.

Method Detail

toString

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

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

_persist

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

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

_set

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

Specified by:
_set in interface nuggets.INugget
Overrides:
_set in class WorldObjectData
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.