org.kuali.rice.kim.impl.jaxb
Class RolePermissionsXmlDTO.WithinRole

java.lang.Object
  extended by org.kuali.rice.kim.impl.jaxb.RolePermissionsXmlDTO<RolePermissionXmlDTO.WithinRole>
      extended by org.kuali.rice.kim.impl.jaxb.RolePermissionsXmlDTO.WithinRole
All Implemented Interfaces:
Serializable, RiceXmlListAdditionListener<RolePermissionXmlDTO.WithinRole>, RiceXmlListGetterListener<RolePermissionXmlDTO.WithinRole,String>
Enclosing class:
RolePermissionsXmlDTO<T extends RolePermissionXmlDTO>

public static class RolePermissionsXmlDTO.WithinRole
extends RolePermissionsXmlDTO<RolePermissionXmlDTO.WithinRole>
implements RiceXmlListGetterListener<RolePermissionXmlDTO.WithinRole,String>

This class represents a <rolePermissions> element that is a child 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.RolePermissionsXmlDTO
RolePermissionsXmlDTO.OutsideOfRole, RolePermissionsXmlDTO.WithinRole
 
Constructor Summary
RolePermissionsXmlDTO.WithinRole()
           
RolePermissionsXmlDTO.WithinRole(String roleId)
           
 
Method Summary
 String getRoleId()
           
 List<RolePermissionXmlDTO.WithinRole> getRolePermissions()
           
 RolePermissionXmlDTO.WithinRole gettingNextItem(String nextItem, int index)
          A listener method that converts the given item into the one expected by the list.
 void newItemAdded(RolePermissionXmlDTO.WithinRole item)
          This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.
 void setRolePermissions(List<RolePermissionXmlDTO.WithinRole> rolePermissions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolePermissionsXmlDTO.WithinRole

public RolePermissionsXmlDTO.WithinRole()

RolePermissionsXmlDTO.WithinRole

public RolePermissionsXmlDTO.WithinRole(String roleId)
Method Detail

getRolePermissions

public List<RolePermissionXmlDTO.WithinRole> getRolePermissions()
Specified by:
getRolePermissions in class RolePermissionsXmlDTO<RolePermissionXmlDTO.WithinRole>

setRolePermissions

public void setRolePermissions(List<RolePermissionXmlDTO.WithinRole> rolePermissions)
Specified by:
setRolePermissions in class RolePermissionsXmlDTO<RolePermissionXmlDTO.WithinRole>

getRoleId

public String getRoleId()

newItemAdded

public void newItemAdded(RolePermissionXmlDTO.WithinRole item)
Description copied from interface: RiceXmlListAdditionListener
This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.

Specified by:
newItemAdded in interface RiceXmlListAdditionListener<RolePermissionXmlDTO.WithinRole>
Parameters:
item - The unmarshalled element (or adapter-generated object) to be processed.

gettingNextItem

public RolePermissionXmlDTO.WithinRole gettingNextItem(String nextItem,
                                                       int index)
Description copied from interface: RiceXmlListGetterListener
A listener method that converts the given item into the one expected by the list. It is invoked whenever the associated list's "get" method is called.

Specified by:
gettingNextItem in interface RiceXmlListGetterListener<RolePermissionXmlDTO.WithinRole,String>
Parameters:
nextItem - The item to convert.
index - The index being accessed on the RiceXmlExportList instance.
Returns:
The converted element that the list is expected to return.


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