org.kuali.rice.kim.impl.jaxb
Class RolePermissionXmlDTO.OutsideOfRole

java.lang.Object
  extended by org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO
      extended by org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO.OutsideOfRole
All Implemented Interfaces:
Serializable
Enclosing class:
RolePermissionXmlDTO

public static class RolePermissionXmlDTO.OutsideOfRole
extends RolePermissionXmlDTO

This class represents a <rolePermission> element that is not a descendant of a <role> element.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO
RolePermissionXmlDTO.OutsideOfRole, RolePermissionXmlDTO.WithinRole
 
Constructor Summary
RolePermissionXmlDTO.OutsideOfRole()
           
RolePermissionXmlDTO.OutsideOfRole(PermissionContract permission, String roleId, boolean populateIds)
           
 
Method Summary
 String getRoleId()
          Retrieves the ID of the role that the permission is assigned to.
 String getRoleName()
          Retrieves the role name from the role-name-and-namespace combo.
 NameAndNamespacePair getRoleNameAndNamespace()
           
 String getRoleNamespaceCode()
          Retrieves the role namespace code from the role-name-and-namespace combo.
 void setRoleId(String roleId)
           
 void setRoleNameAndNamespace(NameAndNamespacePair roleNameAndNamespace)
           
 
Methods inherited from class org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO
getPermissionId, getPermissionName, getPermissionNameAndNamespace, getPermissionNamespaceCode, setPermissionId, setPermissionNameAndNamespace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolePermissionXmlDTO.OutsideOfRole

public RolePermissionXmlDTO.OutsideOfRole()

RolePermissionXmlDTO.OutsideOfRole

public RolePermissionXmlDTO.OutsideOfRole(PermissionContract permission,
                                          String roleId,
                                          boolean populateIds)
Method Detail

getRoleId

public String getRoleId()
Description copied from class: RolePermissionXmlDTO
Retrieves the ID of the role that the permission is assigned to. Subclasses are responsible for implementing this method so that it does so.

Specified by:
getRoleId in class RolePermissionXmlDTO
Returns:
The role ID of the role that the permission is assigned to.
See Also:
RolePermissionXmlDTO.getRoleId()

setRoleId

public void setRoleId(String roleId)
Parameters:
roleId - the roleId to set

getRoleNameAndNamespace

public NameAndNamespacePair getRoleNameAndNamespace()
Returns:
the roleNameAndNamespace

setRoleNameAndNamespace

public void setRoleNameAndNamespace(NameAndNamespacePair roleNameAndNamespace)
Parameters:
roleNameAndNamespace - the roleNameAndNamespace to set

getRoleName

public String getRoleName()
Retrieves the role name from the role-name-and-namespace combo.

Returns:
The name of the role that is assigned to the permission, or null if the role-name-and-namespace combo is null.

getRoleNamespaceCode

public String getRoleNamespaceCode()
Retrieves the role namespace code from the role-name-and-namespace combo.

Returns:
The namespace code of the role that is assigned to the permission, or null if the role-name-and-namespace combo is null.


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.