Class 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()  
    • Field Detail

      • role

        protected java.lang.String role
        The role type.
      • componenttype

        protected java.lang.String componenttype
        The agent type.
    • Constructor Detail

      • MPosition

        public MPosition()
    • 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.
      • toString

        public java.lang.String toString()
        Get a string representation of this AGR position.
        Overrides:
        toString in class java.lang.Object
        Returns:
        A string representation of this AGR position.