Class MAGRSpaceType


  • public class MAGRSpaceType
    extends java.lang.Object
    An AGR space description.
    • Field Summary

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

      Constructors 
      Constructor Description
      MAGRSpaceType()  
    • Field Detail

      • name

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

        protected java.lang.String classname
        The class name.
      • grouptypes

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

      • MAGRSpaceType

        public MAGRSpaceType()
    • Method Detail

      • getName

        public java.lang.String getName()
        Get the name.
        Returns:
        The name.
      • setName

        public void setName​(java.lang.String name)
        Set the name.
        Parameters:
        name - The name to set.
      • getClassName

        public java.lang.String getClassName()
        Get the classname.
        Returns:
        the classname.
      • setClassName

        public void setClassName​(java.lang.String classname)
        Set the classname.
        Parameters:
        classname - The classname to set.
      • getMGroupTypes

        public MGroupType[] getMGroupTypes()
        Get the group types of this space type.
        Returns:
        An array of group types (if any).
      • addMGroupType

        public void addMGroupType​(MGroupType grouptype)
        Add a group type to this space type.
        Parameters:
        grouptype - The group type to add.
      • removeMGroupType

        public void removeMGroupType​(MGroupType grouptype)
        Remove a group type from this space type.
        Parameters:
        grouptype - The group type to remove.
      • getGroupType

        public MGroupType getGroupType​(java.lang.String name)
        Get a group type by name.
      • toString

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