Package jadex.extension.agr
Class MPosition
- java.lang.Object
- 
- jadex.extension.agr.MPosition
 
- 
 public class MPosition extends java.lang.ObjectA positions represents an instance of a role in a group instance.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.StringcomponenttypeThe agent type.protected java.lang.StringroleThe role type.
 - 
Constructor SummaryConstructors Constructor Description MPosition()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetComponentType()Get the agent type.SubcomponentTypeInfogetMComponentType(IModelInfo model)Get the agent type.java.lang.StringgetRoleType()Get the role type.voidsetComponentType(java.lang.String agenttype)Set the agent type.voidsetRoleType(java.lang.String role)Set the role type.java.lang.StringtoString()Get a string representation of this AGR position.
 
- 
- 
- 
Method Detail- 
getRoleTypepublic java.lang.String getRoleType() Get the role type.- Returns:
- The role type.
 
 - 
setRoleTypepublic void setRoleType(java.lang.String role) Set the role type.- Parameters:
- role- The role type to set.
 
 - 
getComponentTypepublic java.lang.String getComponentType() Get the agent type.- Returns:
- The agent type.
 
 - 
setComponentTypepublic void setComponentType(java.lang.String agenttype) Set the agent type.- Parameters:
- agenttype- The agent type to set.
 
 - 
getMComponentTypepublic SubcomponentTypeInfo getMComponentType(IModelInfo model) Get the agent type.- Returns:
- The agent type.
 
 - 
toStringpublic java.lang.String toString() Get a string representation of this AGR position.- Overrides:
- toStringin class- java.lang.Object
- Returns:
- A string representation of this AGR position.
 
 
- 
 
-