org.kuali.rice.kim.impl.jaxb
Class RolesXmlDTO

java.lang.Object
  extended by org.kuali.rice.kim.impl.jaxb.RolesXmlDTO
All Implemented Interfaces:
Serializable, RiceXmlListAdditionListener<RoleXmlDTO>, RiceXmlListGetterListener<RoleXmlDTO,Object>

public class RolesXmlDTO
extends Object
implements RiceXmlListAdditionListener<RoleXmlDTO>, RiceXmlListGetterListener<RoleXmlDTO,Object>, Serializable

This class represents a <roles> element.

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

Constructor Summary
RolesXmlDTO()
           
RolesXmlDTO(List<? extends Object> rolesToExport)
           
 
Method Summary
 List<RoleXmlDTO> getRoles()
           
 RoleXmlDTO gettingNextItem(Object nextItem, int index)
          A listener method that converts the given item into the one expected by the list.
 void newItemAdded(RoleXmlDTO item)
          This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.
 void setRoles(List<RoleXmlDTO> roles)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RolesXmlDTO

public RolesXmlDTO()

RolesXmlDTO

public RolesXmlDTO(List<? extends Object> rolesToExport)
Method Detail

getRoles

public List<RoleXmlDTO> getRoles()

setRoles

public void setRoles(List<RoleXmlDTO> roles)

newItemAdded

public void newItemAdded(RoleXmlDTO 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<RoleXmlDTO>
Parameters:
item - The unmarshalled element (or adapter-generated object) to be processed.
See Also:
RiceXmlListAdditionListener.newItemAdded(java.lang.Object)

gettingNextItem

public RoleXmlDTO gettingNextItem(Object 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<RoleXmlDTO,Object>
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.
See Also:
RiceXmlListGetterListener.gettingNextItem(java.lang.Object, int)


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