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:
  • Constructor Details

    • GroupRole

      public GroupRole()
      Constructs a new GroupRole.
    • GroupRole

      public GroupRole(UUID userDirectoryId, String groupName, String roleCode)
      Constructs a new GroupRole.
      Parameters:
      userDirectoryId - the ID for the user directory the group is associated with
      groupName - the name of the group
      roleCode - the code for the role
  • Method Details

    • 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 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
    • 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 ID for the user directory the group is associated with.
      Parameters:
      userDirectoryId - the ID for the user directory the group is associated with