Package jadex.extension.agr
Class MPosition
- java.lang.Object
-
- jadex.extension.agr.MPosition
-
public class MPosition extends java.lang.Object
A positions represents an instance of a role in a group instance.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
componenttype
The agent type.protected java.lang.String
role
The role type.
-
Constructor Summary
Constructors Constructor Description MPosition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getComponentType()
Get the agent type.SubcomponentTypeInfo
getMComponentType(IModelInfo model)
Get the agent type.java.lang.String
getRoleType()
Get the role type.void
setComponentType(java.lang.String agenttype)
Set the agent type.void
setRoleType(java.lang.String role)
Set the role type.java.lang.String
toString()
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:
toString
in classjava.lang.Object
- Returns:
- A string representation of this AGR position.
-
-