Package africa.absa.inception.security
Class GroupRole
java.lang.Object
africa.absa.inception.security.GroupRole
- All Implemented Interfaces:
Serializable
The GroupRole class holds the information for a group role.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the group.Returns the code for the role.Returns the ID 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 ID for the user directory the group is associated with.
-
Constructor Details
-
GroupRole
public GroupRole()Constructs a new GroupRole. -
GroupRole
Constructs a new GroupRole.- Parameters:
userDirectoryId- the ID for the user directory the group is associated withgroupName- the name of the grouproleCode- the code for the role
-
-
Method Details
-
getGroupName
Returns the name of the group.- Returns:
- the name of the group
-
getRoleCode
Returns the code for the role.- Returns:
- the code for the role
-
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
-
setRoleCode
Set the code for the role.- Parameters:
roleCode- the code for the role
-
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
-