/** * Retrieves the permission's name from the permission-name-and-namespace combo. * * @return The name of the permission, or null if the permission-name-and-namespace combo is null. */ public String getPermissionName() { return (permissionNameAndNamespace != null) ? permissionNameAndNamespace.getName() : null; }
/** * Retrieves the role's name from the role-name-and-namespace combo. * * @return The name of the role, or null if the role-name-and-namespace combo is null. */ public String getRoleName() { return (roleNameAndNamespace != null) ? roleNameAndNamespace.getName() : null; }