Package africa.absa.inception.security
Class GroupMember
java.lang.Object
africa.absa.inception.security.GroupMember
- All Implemented Interfaces:
Serializable
The GroupMember class holds the information for a group member.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new GroupMember.GroupMember(UUID userDirectoryId, String groupName, GroupMemberType memberType, String memberName) Constructs a new GroupMember. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the group.Returns the name of the group member.Returns the group member type.Returns the ID for the user directory the group is associated with.voidsetGroupName(String groupName) Set the name of the group.voidsetMemberName(String memberName) Set the name of the group member.voidsetMemberType(GroupMemberType memberType) Set the group member type.voidsetUserDirectoryId(UUID userDirectoryId) Set the ID for the user directory the group is associated with.
-
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 withgroupName- the name of the groupmemberType- the group member typememberName- the name of the group member
-
-
Method Details
-
getGroupName
Returns the name of the group.- Returns:
- the name of the group
-
getMemberName
Returns the name of the group member.- Returns:
- the name of the group member
-
getMemberType
Returns the group member type.- Returns:
- the group member type
-
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
Set the name of the group.- Parameters:
groupName- the name of the group
-
setMemberName
Set the name of the group member.- Parameters:
memberName- the name of the group member
-
setMemberType
Set the group member type.- Parameters:
memberType- the group member type
-
setUserDirectoryId
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
-