jadex.bdi.examples.marsworld.RequestProduction 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.
/*
* RequestProduction.java Generated by Protege plugin Beanynizer. Changes will
* be lost!
*/
package jadex.bdi.examples.marsworld;
import jadex.application.space.envsupport.environment.ISpaceObject;
import jadex.base.fipa.IComponentAction;
/**
* Java class for concept RequestProduction of mars_beans ontology.
*/
public class RequestProduction implements IComponentAction
{
//-------- attributes ----------
/** Attribute for slot target. */
protected ISpaceObject target;
//-------- constructors --------
/**
* Default Constructor.
* Create a new RequestProduction.
*/
public RequestProduction()
{
}
/**
* Create a new RequestProduction.
*/
public RequestProduction(ISpaceObject target)
{
this();
setTarget(target);
}
//-------- accessor methods --------
/**
* Get the target of this RequestProduction.
* @return target
*/
public ISpaceObject getTarget()
{
return this.target;
}
/**
* Set the target of this RequestProduction.
* @param target the value to be set
*/
public void setTarget(ISpaceObject target)
{
this.target = target;
}
//-------- object methods --------
/**
* Get a string representation of this RequestProduction.
* @return The string representation.
*/
public String toString()
{
return "RequestProduction("+target+")";
}
}