Package org.kuali.rice.kim.impl.jaxb
Class RolesXmlDTO
- java.lang.Object
-
- 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
Constructors Constructor Description RolesXmlDTO()RolesXmlDTO(List<? extends Object> rolesToExport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<RoleXmlDTO>getRoles()RoleXmlDTOgettingNextItem(Object nextItem, int index)A listener method that converts the given item into the one expected by the list.voidnewItemAdded(RoleXmlDTO item)This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.voidsetRoles(List<RoleXmlDTO> roles)
-
-
-
Method Detail
-
getRoles
public List<RoleXmlDTO> getRoles()
-
setRoles
public void setRoles(List<RoleXmlDTO> roles)
-
newItemAdded
public void newItemAdded(RoleXmlDTO item)
Description copied from interface:RiceXmlListAdditionListenerThis method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.- Specified by:
newItemAddedin interfaceRiceXmlListAdditionListener<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:RiceXmlListGetterListenerA 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:
gettingNextItemin interfaceRiceXmlListGetterListener<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)
-
-