Class GroupMember

java.lang.Object
africa.absa.inception.security.GroupMember
All Implemented Interfaces:
Serializable

public class GroupMember extends Object implements Serializable
The GroupMember class holds the information for a group member.
Author:
Marcus Portmann
See Also:
  • Constructor Details

    • GroupMember

      public GroupMember()
      Constructs a new GroupMember.
    • GroupMember

      public GroupMember(UUID userDirectoryId, String groupName, GroupMemberType memberType, String memberName)
      Constructs a new GroupMember.
      Parameters:
      userDirectoryId - the ID for the user directory the group is associated with
      groupName - the name of the group
      memberType - the group member type
      memberName - the name of the group member
  • Method Details

    • getGroupName

      public String getGroupName()
      Returns the name of the group.
      Returns:
      the name of the group
    • getMemberName

      public String getMemberName()
      Returns the name of the group member.
      Returns:
      the name of the group member
    • getMemberType

      public GroupMemberType getMemberType()
      Returns the group member type.
      Returns:
      the group member type
    • getUserDirectoryId

      public UUID getUserDirectoryId()
      Returns the ID for the user directory the group is associated with.
      Returns:
      the ID for the user directory the group is associated with
    • setGroupName

      public void setGroupName(String groupName)
      Set the name of the group.
      Parameters:
      groupName - the name of the group
    • setMemberName

      public void setMemberName(String memberName)
      Set the name of the group member.
      Parameters:
      memberName - the name of the group member
    • setMemberType

      public void setMemberType(GroupMemberType memberType)
      Set the group member type.
      Parameters:
      memberType - the group member type
    • setUserDirectoryId

      public void setUserDirectoryId(UUID userDirectoryId)
      Set the ID for the user directory the group is associated with.
      Parameters:
      userDirectoryId - the ID for the user directory the group is associated with