Package jadex.bdiv3.testcases.beliefs
Class GetterSetterBeliefBDI
- java.lang.Object
- 
- jadex.bdiv3.testcases.beliefs.GetterSetterBeliefBDI
 
- 
 public class GetterSetterBeliefBDI extends java.lang.ObjectAgent that has a getter setter belief.
- 
- 
Field SummaryFields Modifier and Type Field Description protected IInternalAccessagentThe agent.protected intnumberThe number field.
 - 
Constructor SummaryConstructors Constructor Description GetterSetterBeliefBDI()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()The agent body.voiddestroy(IInternalAccess agent)Called when agent is killed.intgetNumber()Get the number.protected voidplan()voidsetNumber(int number)Set the number.
 
- 
- 
- 
Field Detail- 
agentprotected IInternalAccess agent The agent.
 - 
numberprotected int number The number field.
 
- 
 - 
Method Detail- 
getNumberpublic int getNumber() Get the number.- Returns:
- The number.
 
 - 
setNumberpublic void setNumber(int number) Set the number.- Parameters:
- number- The number to set.
 
 - 
bodypublic void body() The agent body.
 - 
destroypublic void destroy(IInternalAccess agent) Called when agent is killed.
 - 
planprotected void plan() 
 
- 
 
-