All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jadex.bdi.examples.spaceworld3d.RequestCarry Maven / Gradle / Ivy

Go to download

The Jadex BDI applications package contain several example applications, benchmarks and testcases using BDI agents.

There is a newer version: 2.4
Show newest version
package jadex.bdi.examples.spaceworld3d;

import jadex.bridge.fipa.IComponentAction;
import jadex.extension.envsupport.environment.ISpaceObject;


/**
 *  Java class for concept RequestCarry of mars_beans ontology.
 */
public class RequestCarry implements IComponentAction
{
	//-------- attributes ----------

	/** Attribute for slot target. */
	protected ISpaceObject	target;

	//-------- constructors --------

	/**
	 *  Default Constructor.
	 *  Create a new RequestCarry.
	 */
	public RequestCarry()
	{
	}

	/**
	 *  Default Constructor.
	 *  Create a new RequestCarry.
	 */
	public RequestCarry(ISpaceObject target)
	{
		this();
		setTarget(target);
	}

	//-------- accessor methods --------

	/**
	 *  Get the target of this RequestCarry.
	 * @return target
	 */
	public ISpaceObject getTarget()
	{
		return this.target;
	}

	/**
	 *  Set the target of this RequestCarry.
	 * @param target the value to be set
	 */
	public void setTarget(ISpaceObject target)
	{
		this.target = target;
	}

	//-------- object methods --------

	/**
	 *  Get a string representation of this RequestCarry.
	 *  @return The string representation.
	 */
	public String toString()
	{
		return "RequestCarry("+target+")";
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy