Package org.kuali.rice.kim.impl.jaxb
Class RolePermissionsXmlDTO.WithinRole
- java.lang.Object
-
- org.kuali.rice.kim.impl.jaxb.RolePermissionsXmlDTO<RolePermissionXmlDTO.WithinRole>
-
- 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
Constructors Constructor Description WithinRole()WithinRole(String roleId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRoleId()List<RolePermissionXmlDTO.WithinRole>getRolePermissions()RolePermissionXmlDTO.WithinRolegettingNextItem(String nextItem, int index)A listener method that converts the given item into the one expected by the list.voidnewItemAdded(RolePermissionXmlDTO.WithinRole item)This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.voidsetRolePermissions(List<RolePermissionXmlDTO.WithinRole> rolePermissions)
-
-
-
Constructor Detail
-
WithinRole
public WithinRole()
-
WithinRole
public WithinRole(String roleId)
-
-
Method Detail
-
getRolePermissions
public List<RolePermissionXmlDTO.WithinRole> getRolePermissions()
- Specified by:
getRolePermissionsin classRolePermissionsXmlDTO<RolePermissionXmlDTO.WithinRole>
-
setRolePermissions
public void setRolePermissions(List<RolePermissionXmlDTO.WithinRole> rolePermissions)
- Specified by:
setRolePermissionsin classRolePermissionsXmlDTO<RolePermissionXmlDTO.WithinRole>
-
getRoleId
public String getRoleId()
-
newItemAdded
public void newItemAdded(RolePermissionXmlDTO.WithinRole item)
Description copied from interface:RiceXmlListAdditionListenerThis method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.- Specified by:
newItemAddedin interfaceRiceXmlListAdditionListener<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: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<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.
-
-