jadex.examples.hunterprey
Class FoodData
java.lang.Object
jadex.examples.hunterprey.WorldObjectData
jadex.examples.hunterprey.WorldObject
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 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. |
FoodData
public FoodData()
- Default Constructor.
Create a new Food
.
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 attributev
- the value of the attribute
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.