Package africa.absa.inception.security
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupMember()Constructs a new GroupMember.GroupMember(UUID userDirectoryId, String groupName, GroupMemberType memberType, String memberName)Constructs a new GroupMember.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGroupName()Returns the name of the group.StringgetMemberName()Returns the name of the group member.GroupMemberTypegetMemberType()Returns the group member type.UUIDgetUserDirectoryId()Returns the Universally Unique Identifier (UUID) 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 Universally Unique Identifier (UUID) for the user directory the group is associated with.
-
-
-
Constructor Detail
-
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 Universally Unique Identifier (UUID) 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 Detail
-
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 Universally Unique Identifier (UUID) for the user directory the group is associated with.- Returns:
- the Universally Unique Identifier (UUID) 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 Universally Unique Identifier (UUID) for the user directory the group is associated with.- Parameters:
userDirectoryId- the Universally Unique Identifier (UUID) for the user directory the group is associated with
-
-