org.kuali.rice.core.impl.jaxb
Class DataXmlDTO

java.lang.Object
  extended by org.kuali.rice.core.api.mo.AbstractDataTransferObject
      extended by org.kuali.rice.core.impl.jaxb.DataXmlDTO
All Implemented Interfaces:
Serializable, ModelObjectBasic, ModelObjectComplete, RiceXmlListAdditionListener<Element>

public class DataXmlDTO
extends AbstractDataTransferObject
implements RiceXmlListAdditionListener<Element>

This class represents the root <data> XML element.

Please see the Javadocs for PermissionDataXmlDTO and RoleDataXmlDTO for more information on their expected structure.

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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
AbstractDataTransferObject.Constants
 
Constructor Summary
DataXmlDTO()
           
DataXmlDTO(PermissionDataXmlDTO permissionData, RoleDataXmlDTO roleData)
           
 
Method Summary
 PermissionDataXmlDTO getPermissionData()
           
 RoleDataXmlDTO getRoleData()
           
 void newItemAdded(Element item)
          This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.
 void setPermissionData(PermissionDataXmlDTO permissionData)
           
 void setRoleData(RoleDataXmlDTO roleData)
           
 
Methods inherited from class org.kuali.rice.core.api.mo.AbstractDataTransferObject
afterUnmarshal, beforeUnmarshal, equals, equalsExcludeFields, getDefaultHashCodeEqualsExcludeFields, hashCode, hashCodeExcludeFields, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DataXmlDTO

public DataXmlDTO()

DataXmlDTO

public DataXmlDTO(PermissionDataXmlDTO permissionData,
                  RoleDataXmlDTO roleData)
Method Detail

getPermissionData

public PermissionDataXmlDTO getPermissionData()
Returns:
the permissionData

setPermissionData

public void setPermissionData(PermissionDataXmlDTO permissionData)
Parameters:
permissionData - the permissionData to set

getRoleData

public RoleDataXmlDTO getRoleData()
Returns:
the roleData

setRoleData

public void setRoleData(RoleDataXmlDTO roleData)
Parameters:
roleData - the roleData to set

newItemAdded

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


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