public class AgentClassElement4SimStart
extends java.lang.Object
SimulationSetup
Constructor and Description |
---|
AgentClassElement4SimStart()
Deprecated.
because of the JAXB-context
|
AgentClassElement4SimStart(java.lang.Class<? extends jade.core.Agent> agentClass,
java.lang.String listMembership)
Constructor of this class by using the Class which extends Agent.
|
AgentClassElement4SimStart(ClassElement2Display classElement2Display,
java.lang.String listMembership)
Constructor of this class by using an AgentClassElement-Object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAgentClassReference()
This method returns the class reference of the agent.
|
java.lang.Class<? extends jade.core.Agent> |
getElementClass()
Returns the class of the current Agent.
|
java.lang.String |
getListMembership()
Returns the listType this entry belongs to.
|
java.lang.Integer |
getPostionNo()
Returns the position of the currently configured agent in the current list.
|
java.lang.String[] |
getStartArguments()
This method will return the serialized start arguments of the current agent.
|
java.lang.String[] |
getStartArgumentsBase64()
This method returns the agent's start arguments in Base64 encoded form.
|
java.lang.String |
getStartAsName()
Returns the local name of the agent like ((AID)agentAID).getLocalname()
|
void |
setAgentClassReference(java.lang.String agentClassReference)
Here the class reference of the agent can be set.
|
void |
setListMembership(java.lang.String listMembership)
Sets the type of the list this entry belongs to.
|
void |
setPostionNo(java.lang.Integer postionNo)
Sets the position number of the current agent.
|
void |
setStartArguments(java.lang.String[] startArguments)
This method can be used in order to save the start arguments of the current agent.
|
void |
setStartAsName(java.lang.String startAsName)
Here the local name for the agent can be set similar to ((AID)agentAID).getLocalname()
|
java.lang.String |
toString() |
@Deprecated public AgentClassElement4SimStart()
public AgentClassElement4SimStart(java.lang.Class<? extends jade.core.Agent> agentClass, java.lang.String listMembership)
agentClass
- the agent classlistMembership
- the list membershippublic AgentClassElement4SimStart(ClassElement2Display classElement2Display, java.lang.String listMembership)
classElement2Display
- a ClassElement2Display
listMembership
- the list membershippublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.Class<? extends jade.core.Agent> getElementClass()
public java.lang.Integer getPostionNo()
public void setPostionNo(java.lang.Integer postionNo)
postionNo
- the postionNo to setpublic java.lang.String getListMembership()
public void setListMembership(java.lang.String listMembership)
listMembership
- the listType to setpublic java.lang.String getStartAsName()
public void setStartAsName(java.lang.String startAsName)
startAsName
- the startAsName to setpublic java.lang.String getAgentClassReference()
public void setAgentClassReference(java.lang.String agentClassReference)
agentClassReference
- the agentClassReference to setpublic java.lang.String[] getStartArguments()
SimulationSetup
public void setStartArguments(java.lang.String[] startArguments)
startArguments
- the startInstances to set for the agent start upSimulationSetup
public java.lang.String[] getStartArgumentsBase64()