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 Summary
Fields Modifier and Type Field Description protected java.lang.StringcomponenttypeThe agent type.protected java.lang.StringroleThe role type.
-
Constructor Summary
Constructors Constructor Description MPosition()
-
Method Summary
All 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
-
getRoleType
public java.lang.String getRoleType()
Get the role type.- Returns:
- The role type.
-
setRoleType
public void setRoleType(java.lang.String role)
Set the role type.- Parameters:
role- The role type to set.
-
getComponentType
public java.lang.String getComponentType()
Get the agent type.- Returns:
- The agent type.
-
setComponentType
public void setComponentType(java.lang.String agenttype)
Set the agent type.- Parameters:
agenttype- The agent type to set.
-
getMComponentType
public SubcomponentTypeInfo getMComponentType(IModelInfo model)
Get the agent type.- Returns:
- The agent type.
-
toString
public java.lang.String toString()
Get a string representation of this AGR position.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of this AGR position.
-
-