Class MGroupType


  • public class MGroupType
    extends java.lang.Object
    An AGR group type.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String name
      The name.
      protected java.util.List roles
      The roles.
    • Constructor Summary

      Constructors 
      Constructor Description
      MGroupType()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMRoleType​(MRoleType role)
      Add a role to this group type.
      MRoleType[] getMRoleTypes()
      Get the roles of this group type.
      java.lang.String getName()
      Get the name of the group type.
      void removeMRoleType​(MRoleType role)
      Remove a role from this group type.
      void setName​(java.lang.String name)
      Set the name of the group type.
      java.lang.String toString()
      Get a string representation of this group type.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • name

        protected java.lang.String name
        The name.
      • roles

        protected java.util.List roles
        The roles.
    • Constructor Detail

      • MGroupType

        public MGroupType()
    • Method Detail

      • setName

        public void setName​(java.lang.String name)
        Set the name of the group type.
        Parameters:
        name - The name of the group type.
      • getName

        public java.lang.String getName()
        Get the name of the group type.
        Returns:
        The name of the group type.
      • getMRoleTypes

        public MRoleType[] getMRoleTypes()
        Get the roles of this group type.
        Returns:
        An array of roles (if any).
      • addMRoleType

        public void addMRoleType​(MRoleType role)
        Add a role to this group type.
        Parameters:
        role - The role to add.
      • removeMRoleType

        public void removeMRoleType​(MRoleType role)
        Remove a role from this group type.
        Parameters:
        role - The role to remove.
      • toString

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