|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjade.domain.introspection.BornAgent
public class BornAgent
An introspection event, recording the birth of a new agent within the platform.
| Field Summary | |
|---|---|
static java.lang.String |
NAME
A string constant for the name of this event. |
| Constructor Summary | |
|---|---|
BornAgent()
Default constructor. |
|
| Method Summary | |
|---|---|
AID |
getAgent()
Retrieve the value of the agent slot of this
event, containing the agent identifier of the newly born agent. |
java.lang.String |
getClassName()
|
java.lang.String |
getName()
Retrieve the name of this event. |
java.lang.String |
getOwnership()
|
java.lang.String |
getState()
Retrieve the value of the state slot of this
event, containing the initial state of the newly born agent. |
ContainerID |
getWhere()
Retrieve the value of the where slot of this
event, containing the container identifier of the container
where the newly added agent was born. |
void |
setAgent(AID id)
Set the agent slot of this event. |
void |
setClassName(java.lang.String c)
Set the className slot of this event. |
void |
setOwnership(java.lang.String o)
Set the ownership slot of this event. |
void |
setState(java.lang.String as)
Set the state slot of this event. |
void |
setWhere(ContainerID id)
Set the where slot 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 BornAgent()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Eventpublic void setWhere(ContainerID id)
where slot of this event.
id - The container identifier of the container where the
newly added agent was born.public ContainerID getWhere()
where slot of this
event, containing the container identifier of the container
where the newly added agent was born.
where slot, or
null if no value was set.public void setAgent(AID id)
agent slot of this event.
id - The agent identifier of the newly born agent.public AID getAgent()
agent slot of this
event, containing the agent identifier of the newly born agent.
agent slot, or
null if no value was set.public void setState(java.lang.String as)
state slot of this event.
as - The name of the initial state of the newly born
agent.public java.lang.String getState()
state slot of this
event, containing the initial state of the newly born agent.
state slot, or
null if no value was set.public void setOwnership(java.lang.String o)
ownership slot of this event.
o - The name of the entity owning the newly born agent.public java.lang.String getOwnership()
ownership slot of this
event, containing the name of the entity owning the newly born
agent.public void setClassName(java.lang.String c)
className slot of this event.
c - The class name of the newly born agent.public java.lang.String getClassName()
className slot of this
event, containing the class name of the newly born
agent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||