Package jadex.bdiv3.testcases.beliefs
Class GetterSetterBeliefBDI
- java.lang.Object
-
- jadex.bdiv3.testcases.beliefs.GetterSetterBeliefBDI
-
public class GetterSetterBeliefBDI extends java.lang.Object
Agent that has a getter setter belief.
-
-
Field Summary
Fields Modifier and Type Field Description protected IInternalAccess
agent
The agent.protected int
number
The number field.
-
Constructor Summary
Constructors Constructor Description GetterSetterBeliefBDI()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
body()
The agent body.void
destroy(IInternalAccess agent)
Called when agent is killed.int
getNumber()
Get the number.protected void
plan()
void
setNumber(int number)
Set the number.
-
-
-
Field Detail
-
agent
protected IInternalAccess agent
The agent.
-
number
protected int number
The number field.
-
-
Method Detail
-
getNumber
public int getNumber()
Get the number.- Returns:
- The number.
-
setNumber
public void setNumber(int number)
Set the number.- Parameters:
number
- The number to set.
-
body
public void body()
The agent body.
-
destroy
public void destroy(IInternalAccess agent)
Called when agent is killed.
-
plan
protected void plan()
-
-