|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.introspection.AddedBehaviour
public class AddedBehaviour
An introspection event, recording that a behaviour was added to an agent.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
A string constant for the name of this event. |
| Constructor Summary | |
|---|---|
AddedBehaviour()
Default constructor. |
|
| Method Summary | |
|---|---|
AID |
getAgent()
Retrieve the value of the agent slot of this
event, containing the agent identifier of the agent the
behaviour was added to. |
BehaviourID |
getBehaviour()
Retrieve the value of the behaviour slot of this
event, containing the behaviour identifier of the newly added
behaviour. |
java.lang.String |
getName()
Retrieve the name of this event. |
void |
setAgent(AID id)
Set the agent of this event. |
void |
setBehaviour(BehaviourID id)
Set the behaviour of this event. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public AddedBehaviour()
| Method Detail |
|---|
public void setAgent(AID id)
agent of this event.
id - The agent identifier of the agent the behaviour was
added to.public AID getAgent()
agent slot of this
event, containing the agent identifier of the agent the
behaviour was added to.
agent slot, or
null if no value was set.public void setBehaviour(BehaviourID id)
behaviour of this event.
id - The behaviour identifier of the newly added
behaviour.public BehaviourID getBehaviour()
behaviour slot of this
event, containing the behaviour identifier of the newly added
behaviour.
behaviour slot, or
null if no value was set.public java.lang.String getName()
getName in interface Event
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||