Jadex 0.96

jadex.examples.hunterprey
Class CurrentVision

java.lang.Object
  extended by jadex.examples.hunterprey.CurrentVision
All Implemented Interfaces:
nuggets.INugget

public class CurrentVision
extends Object
implements nuggets.INugget

Java class for concept CurrentVision of hunterprey_beans ontology.


Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Constructor Summary
CurrentVision()
          Default Constructor.
CurrentVision(Creature creature, Vision vision)
          Init Constructor.
 
Method Summary
 void _persist(nuggets.ICruncher c)
          Persist this CurrentVision using the nuggets utility.
 void _set(String a, Object v)
          Restore this CurrentVision
 Creature getCreature()
          Get the creature of this CurrentVision.
 Vision getVision()
          Get the vision of this CurrentVision.
 void setCreature(Creature creature)
          Set the creature of this CurrentVision.
 void setVision(Vision vision)
          Set the vision of this CurrentVision.
 String toString()
          Get a string representation of this CurrentVision.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CurrentVision

public CurrentVision()
Default Constructor.
Create a new CurrentVision.


CurrentVision

public CurrentVision(Creature creature,
                     Vision vision)
Init Constructor.
Create a new CurrentVision.
Initializes the object with required attributes.

Parameters:
creature -
vision -
Method Detail

getCreature

public Creature getCreature()
Get the creature of this CurrentVision. The creature.

Returns:
creature

setCreature

public void setCreature(Creature creature)
Set the creature of this CurrentVision. The creature.

Parameters:
creature - the value to be set

getVision

public Vision getVision()
Get the vision of this CurrentVision. The current vision of the creature.

Returns:
vision

setVision

public void setVision(Vision vision)
Set the vision of this CurrentVision. The current vision of the creature.

Parameters:
vision - the value to be set

toString

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

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

_persist

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

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

_set

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

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.