jadex.application.space.agr
Class MPosition

java.lang.Object
  extended by jadex.application.space.agr.MPosition

public class MPosition
extends Object

A positions represents an instance of a role in a group instance.


Field Summary
protected  String componenttype
          The agent type.
protected  String role
          The role type.
 
Constructor Summary
MPosition()
           
 
Method Summary
 String getComponentType()
          Get the agent type.
 MComponentType getMComponentType(MApplicationType apptype)
          Get the agent type.
 String getRoleType()
          Get the role type.
 void setComponentType(String agenttype)
          Set the agent type.
 void setRoleType(String role)
          Set the role type.
 String toString()
          Get a string representation of this AGR position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

role

protected String role
The role type.


componenttype

protected String componenttype
The agent type.

Constructor Detail

MPosition

public MPosition()
Method Detail

getRoleType

public String getRoleType()
Get the role type.

Returns:
The role type.

setRoleType

public void setRoleType(String role)
Set the role type.

Parameters:
role - The role type to set.

getComponentType

public String getComponentType()
Get the agent type.

Returns:
The agent type.

setComponentType

public void setComponentType(String agenttype)
Set the agent type.

Parameters:
agenttype - The agent type to set.

getMComponentType

public MComponentType getMComponentType(MApplicationType apptype)
Get the agent type.

Returns:
The agent type.

toString

public String toString()
Get a string representation of this AGR position.

Overrides:
toString in class Object
Returns:
A string representation of this AGR position.


Copyright © 2010. All Rights Reserved.