예제 #1
0
 /**
  * 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;
 }
예제 #2
0
 /**
  * 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;
 }