Class GroupDescriptor

    • Constructor Summary

      Constructors 
      Constructor Description
      GroupDescriptor​(java.lang.String id, ObjectIdentity context, java.lang.String name, java.lang.String description)
      It is not intended or recommended that the consumer of this API construct these objects.
    • Constructor Detail

      • GroupDescriptor

        public GroupDescriptor​(java.lang.String id,
                               ObjectIdentity context,
                               java.lang.String name,
                               java.lang.String description)
        It is not intended or recommended that the consumer of this API construct these objects. They should only deal with the group descriptors returned by the API.
        Parameters:
        id - the unique identifier of the group.
        context - the context in which the group was defined.
        name - the name of the group.
        description - the description of the group.
    • Method Detail

      • getContext

        public ObjectIdentity getContext()
        Gets the context in which the group was defined.
        Returns:
        The context in which the group was defined.
      • getName

        public java.lang.String getName()
        Gets the name of the group.
        Returns:
        The name of the group.
      • setName

        public void setName​(java.lang.String name)
        Sets the name of the group.
        Parameters:
        name - the name of the group.
      • getDescription

        public java.lang.String getDescription()
        Gets the description of the group.
        Returns:
        The description of the group.
      • setDescription

        public void setDescription​(java.lang.String description)
        Sets the description of the group.
        Parameters:
        description - the description of the group.
      • getPrincipalId

        public java.lang.String getPrincipalId()
        Description copied from interface: Principal
        Returns the principal identifier of a user or group. This uniquely identifies the principal within the system.
        Specified by:
        getPrincipalId in interface Principal
        Returns:
        The principal identifier of a user or group.
      • getPrincipalName

        public java.lang.String getPrincipalName()
        Description copied from interface: Principal
        Returns the principal name of a user or group. This may not uniquely identify the principal and should only be used for display purposes.
        Specified by:
        getPrincipalName in interface Principal
        Returns:
        The principal name of a user or group.