Package jade.domain.introspection
Class RemovedBehaviour
- java.lang.Object
-
- jade.domain.introspection.RemovedBehaviour
-
- All Implemented Interfaces:
Concept,Term,Event,Serializable,Serializable
public class RemovedBehaviour extends Object implements Event
An introspection event, recording the removal of an agent behaviour within the platform.- Version:
- $Date$ $Revision$
- Author:
- Giovanni Rimassa - Universita' di Parma
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemovedBehaviour()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AIDgetAgent()Retrieve the value of theagentslot of this event, containing the agent identifier of the agent owning the newly removed behaviour.BehaviourIDgetBehaviour()Retrieve the value of thebehaviourslot of this event, containing the behaviour identifier of the newly removed behaviour.StringgetName()Retrieve the name of this event.voidsetAgent(AID id)Set theagentslot of this event.voidsetBehaviour(BehaviourID id)Set thebehaviourslot of this event.
-
-
-
Field Detail
-
NAME
public static final String NAME
A string constant for the name of this event.- See Also:
- Constant Field Values
-
-
Method Detail
-
setAgent
public void setAgent(AID id)
Set theagentslot of this event.- Parameters:
id- The agent identifier of the agent owning the newly removed behaviour.
-
getAgent
public AID getAgent()
Retrieve the value of theagentslot of this event, containing the agent identifier of the agent owning the newly removed behaviour.- Returns:
- The value of the
agentslot, ornullif no value was set.
-
setBehaviour
public void setBehaviour(BehaviourID id)
Set thebehaviourslot of this event.- Parameters:
id- The behaviour identifier of the newly removed behaviour.
-
getBehaviour
public BehaviourID getBehaviour()
Retrieve the value of thebehaviourslot of this event, containing the behaviour identifier of the newly removed behaviour.- Returns:
- The value of the
behaviourslot, ornullif no value was set.
-
-