Class Group

    • Constructor Summary

      Constructors 
      Constructor Description
      Group​(java.lang.String name)
      Constructs local group.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMemberName​(java.lang.String name)
      Adds new member.
      void delete​(java.lang.String name)
      Deletes an attribute value from this AttrSet.
      java.lang.Object get​(java.lang.String name)
      Gets an attribute value.
      java.lang.String getDescription()
      Retrieves group description.
      java.util.Enumeration<java.lang.String> getElements()
      Returns an enumeration of the names of the attributes existing within this AttrSet.
      java.lang.String getGroupID()
      Retrieves group identifier.
      java.util.Enumeration<java.lang.String> getMemberNames()
      Retrieves a list of member names.
      java.lang.String getName()
      Retrieves the group name.
      boolean isMember​(java.lang.String name)
      Checks if the given name is member of this group.
      void set​(java.lang.String name, java.lang.Object object)
      Sets an attribute value within this AttrSet.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Group

        public Group​(java.lang.String name)
        Constructs local group.
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: IGroup
        Retrieves the group name.
        Specified by:
        getName in interface IGroup
        Returns:
        the group name
      • getGroupID

        public java.lang.String getGroupID()
        Description copied from interface: IGroup
        Retrieves group identifier.
        Specified by:
        getGroupID in interface IGroup
        Returns:
        the group id
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: IGroup
        Retrieves group description.
        Specified by:
        getDescription in interface IGroup
        Returns:
        description
      • addMemberName

        public void addMemberName​(java.lang.String name)
        Description copied from interface: IGroup
        Adds new member.
        Specified by:
        addMemberName in interface IGroup
        Parameters:
        name - the given name.
      • getMemberNames

        public java.util.Enumeration<java.lang.String> getMemberNames()
        Description copied from interface: IGroup
        Retrieves a list of member names.
        Specified by:
        getMemberNames in interface IGroup
        Returns:
        a list of member names for this group.
      • isMember

        public boolean isMember​(java.lang.String name)
        Description copied from interface: IGroup
        Checks if the given name is member of this group.
        Specified by:
        isMember in interface IGroup
        Parameters:
        name - the given name
        Returns:
        true if the given name is the member of this group; otherwise false.
      • set

        public void set​(java.lang.String name,
                        java.lang.Object object)
                 throws EBaseException
        Description copied from interface: IAttrSet
        Sets an attribute value within this AttrSet.
        Specified by:
        set in interface IAttrSet
        Parameters:
        name - the name of the attribute
        object - the attribute object.
        Throws:
        EBaseException - on attribute handling errors.
      • get

        public java.lang.Object get​(java.lang.String name)
                             throws EBaseException
        Description copied from interface: IAttrSet
        Gets an attribute value.
        Specified by:
        get in interface IAttrSet
        Parameters:
        name - the name of the attribute to return.
        Throws:
        EBaseException - on attribute handling errors.
      • delete

        public void delete​(java.lang.String name)
                    throws EBaseException
        Description copied from interface: IAttrSet
        Deletes an attribute value from this AttrSet.
        Specified by:
        delete in interface IAttrSet
        Parameters:
        name - the name of the attribute to delete.
        Throws:
        EBaseException - on attribute handling errors.
      • getElements

        public java.util.Enumeration<java.lang.String> getElements()
        Description copied from interface: IAttrSet
        Returns an enumeration of the names of the attributes existing within this AttrSet.
        Specified by:
        getElements in interface IAttrSet
        Returns:
        an enumeration of the attribute names.