com.ibm.itim.dataservices.model.domain

Class Group

  • All Implemented Interfaces:
    ProtectedObject, com.ibm.itim.util.Sortable, com.ibm.itim.util.xml.objectstream.Importable, java.io.Serializable


    public class Group
    extends DirectoryObject
    implements com.ibm.itim.util.xml.objectstream.Importable
    This is the value object for the service group.
    Since:
    Tivoli Identity Governance 5.1
    See Also:
    Serialized Form
    • Field Detail

      • GROUP_ATTR_ID

        public static final java.lang.String GROUP_ATTR_ID
        Constant for the group attribute id.
        See Also:
        Constant Field Values
      • GROUP_ATTR_NAME

        public static final java.lang.String GROUP_ATTR_NAME
        Constant for the group attribute name.
        See Also:
        Constant Field Values
      • GROUP_ATTR_DESC

        public static final java.lang.String GROUP_ATTR_DESC
        Constant for the group attribute description.
        See Also:
        Constant Field Values
    • Constructor Detail

      • Group

        public Group(java.lang.String profileName,
                     AttributeValues attributes)
        Constructs object with profile and attribute information.

        Warning: the purpose of this constructor is to provide clients with the ability to create value objects for creation in the data store. Do not use this constructor to create value objects that represent existing entities. See the GroupSearch object for achieving that.

        Parameters:
        profileName - name of the profile for the group. Use ObjectProfileSearch.getProfilesInCategory to get a list of profile names for the group category in the system. Profile name cannot be NULL or empty.

        For example, use "PosAixGroupProfile" as profileName to construct a Posix AIX group object.

        attributes - list of AttributeValues that hold group information. It cannot be NULL or empty.
        See Also:
        ObjectProfileSearch.getProfilesInCategory, ObjectProfileCategoryConstant
      • Group

        public Group(Group group)
        Copy Constructor Reference copy is used for Java object except for String and other primary types
      • Group

        public Group()
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the unique identification of the group. The value is stored on the attribute that ergroupid is mapped to.
      • setId

        public void setId(java.lang.String id)
        Set the unique identification of the group. The value is stored on the attribute that ergroupid is mapped to.
        Parameters:
        id - A value that is uniquely identified the group.
      • getName

        public java.lang.String getName()
        Returns the name of the group. The value is stored on the attribute that ergroupname is mapped to.
        Overrides:
        getName in class DirectoryObject
        Returns:
        String representing logical name of the object or null.
      • setName

        public void setName(java.lang.String name)
        Set the name of the group. The value is stored on the attribute that ergroupname is mapped to.
        Parameters:
        name - the name of the group.
      • getDescription

        public java.lang.String getDescription()
        Returns the description of the group. The value is stored on the attribute that ergroupdescription is mapped to.
      • setDescription

        public void setDescription(java.lang.String desc)
        Sets the group description The value is stored on the attribute that ergroupdescription is mapped to.
        Parameters:
        desc - the group description
      • getService

        public DistinguishedName getService()
        Returns the distinguished name of the service.