Jadex 0.96

jadex.examples.hunterprey
Class RequestVision

java.lang.Object
  extended by jadex.adapter.fipa.AgentAction
      extended by jadex.examples.hunterprey.RequestVision
All Implemented Interfaces:
BeanInfo, Serializable, nuggets.INugget

public class RequestVision
extends AgentAction
implements nuggets.INugget

Java class for concept RequestVision of hunterprey_beans ontology.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface nuggets.INugget
nuggets.INugget.Helper
 
Field Summary
 
Fields inherited from interface java.beans.BeanInfo
ICON_COLOR_16x16, ICON_COLOR_32x32, ICON_MONO_16x16, ICON_MONO_32x32
 
Constructor Summary
RequestVision()
          Default Constructor.
RequestVision(Creature creature)
          Init Constructor.
 
Method Summary
 void _persist(nuggets.ICruncher c)
          Persist this RequestVision using the nuggets utility.
 void _set(String a, Object v)
          Restore this RequestVision
 Creature getCreature()
          Get the creature of this RequestVision.
 Vision getVision()
          Get the vision of this RequestVision.
 void setCreature(Creature creature)
          Set the creature of this RequestVision.
 void setVision(Vision vision)
          Set the vision of this RequestVision.
 String toString()
          Get a string representation of this RequestVision.
 
Methods inherited from class jadex.adapter.fipa.AgentAction
getAdditionalBeanInfo, getBeanDescriptor, getDefaultEventIndex, getDefaultPropertyIndex, getEventSetDescriptors, getIcon, getMethodDescriptors, getPropertyDescriptors, loadImage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RequestVision

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


RequestVision

public RequestVision(Creature creature)
Init Constructor.
Create a new RequestVision.
Initializes the object with required attributes.

Parameters:
creature -
Method Detail

getVision

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

Returns:
vision

setVision

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

Parameters:
vision - the value to be set

getCreature

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

Returns:
creature

setCreature

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

Parameters:
creature - the value to be set

toString

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

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

_persist

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

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

_set

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

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.