
jadex.bdi.examples.blackjack.RequestFinished 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!
/*
* $class.javaName.java Generated by Protege plugin Beanynizer. This class implements the functionality of RequestFinished. Feel free to change.
*/
package jadex.bdi.examples.blackjack;
import jadex.bridge.fipa.IComponentAction;
/**
* Editable Java class for concept RequestFinished
of blackjack_beans ontology.
*/
public class RequestFinished implements IComponentAction
{
//-------- attributes ----------
/** Attribute for slot gameresult. */
protected GameResult gameresult;
//-------- constructors --------
/**
* Default Constructor.
* Create a new RequestFinished
.
*/
public RequestFinished()
{
// Empty constructor required for JavaBeans (do not remove).
}
/**
* Clone Constructor.
* Create a new RequestFinished
.
* Copy all attributes from proto
to this instance.
*
* @param proto The prototype instance.
*/
public RequestFinished(RequestFinished proto)
{
}
//-------- accessor methods --------
/**
* Get the gameresult of this RequestFinished.
* @return gameresult
*/
public GameResult getGameresult()
{
return this.gameresult;
}
/**
* Set the gameresult of this RequestFinished.
* @param gameresult the value to be set
*/
public void setGameresult(GameResult gameresult)
{
this.gameresult = gameresult;
}
//-------- object methods -----
/**
* Get a string representation of this RequestFinished
.
* @return The string representation.
*/
public String toString()
{
return "RequestFinished(" + ")";
}
/**
* Get a clone of this RequestFinished
.
* @return a shalow copy of this instance.
*/
public Object clone()
{
return new RequestFinished(this);
}
/**
* Test the equality of this RequestFinished
* and an object obj
.
*
* @param obj the object this test will be performed with
* @return false if obj
is not of RequestFinished
class,
* true if all attributes are equal.
*/
public boolean equals(Object obj)
{
if(obj instanceof RequestFinished)
{
// RequestFinished cmp = (RequestFinished)obj;
return true;
}
return false;
}
/**
*
*/
public int hashCode()
{
final int prime = 31;
int result = 1;
result = prime * result + ((gameresult == null) ? 0 : gameresult.hashCode());
return result;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy