org.kuali.student.common.assembly
Class BaseDTOAssemblyNode<E,T>

java.lang.Object
  extended by org.kuali.student.common.assembly.BaseDTOAssemblyNode<E,T>

public class BaseDTOAssemblyNode<E,T>
extends Object

A node in the sorted map of disassembled base DTOs. The node provides the data for the base DTO along with the operation information on the data. The consumer of the map of these nodes is required to process the nodes in sorted order to guarantee data integrity within the base DTOs.

Author:
Kuali Student Team

Nested Class Summary
static class BaseDTOAssemblyNode.NodeOperation
           
 
Field Summary
protected  BOAssembler<E,T> assembler
           
protected  E businessDTORef
           
protected  List<BaseDTOAssemblyNode<?,?>> childNodes
           
protected  T nodeData
           
protected  BaseDTOAssemblyNode.NodeOperation operation
           
 
Constructor Summary
BaseDTOAssemblyNode(BOAssembler<E,T> assembler)
           
 
Method Summary
 BOAssembler<E,T> getAssembler()
           
 E getBusinessDTORef()
           
 List<BaseDTOAssemblyNode<?,?>> getChildNodes()
           
 T getNodeData()
           
 BaseDTOAssemblyNode.NodeOperation getOperation()
           
 void setAssembler(BOAssembler<E,T> assembler)
           
 void setBusinessDTORef(E businessDTORef)
           
 void setChildNodes(List<BaseDTOAssemblyNode<?,?>> childNodes)
           
 void setNodeData(T nodeData)
           
 void setOperation(BaseDTOAssemblyNode.NodeOperation operation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

operation

protected BaseDTOAssemblyNode.NodeOperation operation

businessDTORef

protected E businessDTORef

nodeData

protected T nodeData

assembler

protected BOAssembler<E,T> assembler

childNodes

protected List<BaseDTOAssemblyNode<?,?>> childNodes
Constructor Detail

BaseDTOAssemblyNode

public BaseDTOAssemblyNode(BOAssembler<E,T> assembler)
Method Detail

getNodeData

public T getNodeData()
Returns:
the nodeData

setNodeData

public void setNodeData(T nodeData)
Parameters:
nodeData - the nodeData to set

getOperation

public BaseDTOAssemblyNode.NodeOperation getOperation()
Returns:
the operation

setOperation

public void setOperation(BaseDTOAssemblyNode.NodeOperation operation)
Parameters:
operation - the operation to set

getChildNodes

public List<BaseDTOAssemblyNode<?,?>> getChildNodes()

setChildNodes

public void setChildNodes(List<BaseDTOAssemblyNode<?,?>> childNodes)

getAssembler

public BOAssembler<E,T> getAssembler()
Returns:
the assembler

setAssembler

public void setAssembler(BOAssembler<E,T> assembler)
Parameters:
assembler - the assembler to set

getBusinessDTORef

public E getBusinessDTORef()
Returns:
the businessDTORef

setBusinessDTORef

public void setBusinessDTORef(E businessDTORef)
Parameters:
businessDTORef - the businessDTORef to set


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