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

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

public static class RoleMembersXmlDTO.WithinRole
extends RoleMembersXmlDTO<RoleMemberXmlDTO.WithinRole>
implements RiceXmlListGetterListener<RoleMemberXmlDTO.WithinRole,String>

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

Constructor Detail

RoleMembersXmlDTO.WithinRole

public RoleMembersXmlDTO.WithinRole()

RoleMembersXmlDTO.WithinRole

public RoleMembersXmlDTO.WithinRole(String roleId)
Method Detail

getRoleMembers

public List<RoleMemberXmlDTO.WithinRole> getRoleMembers()
Specified by:
getRoleMembers in class RoleMembersXmlDTO<RoleMemberXmlDTO.WithinRole>
See Also:
RoleMembersXmlDTO.getRoleMembers()

setRoleMembers

public void setRoleMembers(List<RoleMemberXmlDTO.WithinRole> roleMembers)
Specified by:
setRoleMembers in class RoleMembersXmlDTO<RoleMemberXmlDTO.WithinRole>
See Also:
RoleMembersXmlDTO.setRoleMembers(java.util.List)

getRoleId

public String getRoleId()
Returns:
the roleId

newItemAdded

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

gettingNextItem

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


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