Package africa.absa.inception.security
Class GroupRole
- java.lang.Object
-
- africa.absa.inception.security.GroupRole
-
- All Implemented Interfaces:
Serializable
public class GroupRole extends Object implements Serializable
The GroupRole class holds the information for a group role.- Author:
- Marcus Portmann
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetGroupName()Returns the name of the group.StringgetRoleCode()Returns the code for the role.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.voidsetRoleCode(String roleCode)Set the code for the role.voidsetUserDirectoryId(UUID userDirectoryId)Set the Universally Unique Identifier (UUID) for the user directory the group is associated with.
-
-
-
Constructor Detail
-
GroupRole
public GroupRole()
Constructs a new GroupRole.
-
GroupRole
public GroupRole(UUID userDirectoryId, String groupName, String roleCode)
Constructs a new GroupRole.- Parameters:
userDirectoryId- the Universally Unique Identifier (UUID) for the user directory the group is associated withgroupName- the name of the grouproleCode- the code for the role
-
-
Method Detail
-
getGroupName
public String getGroupName()
Returns the name of the group.- Returns:
- the name of the group
-
getRoleCode
public String getRoleCode()
Returns the code for the role.- Returns:
- the code for the role
-
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
-
setRoleCode
public void setRoleCode(String roleCode)
Set the code for the role.- Parameters:
roleCode- the code for the role
-
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
-
-