|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.introspection.ChangedBehaviourState
public class ChangedBehaviourState
An introspection event, recording the change of the state of an agent behaviour within the platform.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
A string constant for the name of this event. |
| Constructor Summary | |
|---|---|
ChangedBehaviourState()
Default constructor. |
|
| Method Summary | |
|---|---|
AID |
getAgent()
Retrieve the value of the agent slot of this
event, containing the agent identifier of the agent whose
behaviour state changed. |
BehaviourID |
getBehaviour()
Retrieve the value of the behaviour slot of this
event, containing the behaviour identifier of the behaviour
whose state changed. |
java.lang.String |
getFrom()
Retrieve the value of the from slot of this event,
containing the name of the state the behaviour was in before
this event occurred. |
java.lang.String |
getName()
Retrieve the name of this event. |
java.lang.String |
getTo()
Retrieve the value of the to slot of this event,
containing the name of the state the behaviour was in after
this event occurred. |
void |
setAgent(AID id)
Set the agent slot of this event. |
void |
setBehaviour(BehaviourID id)
Set the behaviour slot of this event. |
void |
setFrom(java.lang.String s)
Set the from slot of this event. |
void |
setTo(java.lang.String s)
Set the to slot of this event. |
java.lang.String |
toString()
Retrieve an SL0-like string representation for this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String NAME
| Constructor Detail |
|---|
public ChangedBehaviourState()
| Method Detail |
|---|
public void setAgent(AID id)
agent slot of this event.
id - The agent identifier of the agent whose behaviour
state changed.public AID getAgent()
agent slot of this
event, containing the agent identifier of the agent whose
behaviour state changed.
agent slot, or
null if no value was set.public void setBehaviour(BehaviourID id)
behaviour slot of this event.
id - The behaviour identifier of the behaviour whose state
changed.public BehaviourID getBehaviour()
behaviour slot of this
event, containing the behaviour identifier of the behaviour
whose state changed.
behaviour slot, or
null if no value was set.public void setFrom(java.lang.String s)
from slot of this event.
s - The name of the state the behaviour was in before this
event occurred.public java.lang.String getFrom()
from slot of this event,
containing the name of the state the behaviour was in before
this event occurred.
from slot, or
null if no value was set.public void setTo(java.lang.String s)
to slot of this event.
s - The name of the state the behaviour was in after this
event occurred.public java.lang.String getTo()
to slot of this event,
containing the name of the state the behaviour was in after
this event occurred.
to slot, or
null if no value was set.public java.lang.String getName()
getName in interface Eventpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||