
jadex.bdi.examples.hunterprey_classic.RequestVision Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-applications-bdi Show documentation
Show all versions of jadex-applications-bdi Show documentation
The Jadex BDI applications package contain
several example applications, benchmarks and
testcases using BDI agents.
The newest version!
/*
* RequestVision.java Generated by Protege plugin Beanynizer. Changes will be lost!
*/
package jadex.bdi.examples.hunterprey_classic;
import jadex.bridge.fipa.IComponentAction;
/**
* Java class for concept RequestVision of hunterprey_beans ontology.
*/
public class RequestVision implements IComponentAction
{
//-------- attributes ----------
/** The current vision of the creature. */
protected Vision vision;
/** The creature. */
protected Creature creature;
//-------- constructors --------
/**
* Default Constructor.
* Create a new RequestVision
.
*/
public RequestVision()
{
}
/**
* Init Constructor.
* Create a new RequestVision.
* Initializes the object with required attributes.
* @param creature
*/
public RequestVision(Creature creature)
{
this();
setCreature(creature);
}
//-------- accessor methods --------
/**
* Get the vision of this RequestVision.
* The current vision of the creature.
* @return vision
*/
public Vision getVision()
{
return this.vision;
}
/**
* Set the vision of this RequestVision.
* The current vision of the creature.
* @param vision the value to be set
*/
public void setVision(Vision vision)
{
this.vision = vision;
}
/**
* Get the creature of this RequestVision.
* The creature.
* @return creature
*/
public Creature getCreature()
{
return this.creature;
}
/**
* Set the creature of this RequestVision.
* The creature.
* @param creature the value to be set
*/
public void setCreature(Creature creature)
{
this.creature = creature;
}
//-------- object methods --------
/**
* Get a string representation of this RequestVision.
* @return The string representation.
*/
public String toString()
{
return "RequestVision(" + "creature=" + getCreature() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy