org.kuali.kfs.sys.document.datadictionary
Class AccountingLineViewDefinition

java.lang.Object
  extended by org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
      extended by org.kuali.kfs.sys.document.datadictionary.AccountingLineViewDefinition
All Implemented Interfaces:
Serializable, org.kuali.rice.kns.datadictionary.DataDictionaryDefinition, org.springframework.beans.factory.InitializingBean

public class AccountingLineViewDefinition
extends org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase

Data dictionary definition of information about how to render an accounting line.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
AccountingLineViewDefinition()
           
 
Method Summary
 void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
          Checks that this accounting line view has at least one child renderable element.
 List<TableJoining> getAccountingLineLayoutElements(Class<? extends AccountingLine> accountingLineClass)
          Creates a list of layout elements for this accounting line view
 List<AccountingLineViewRenderableElementDefinition> getElements()
          Gets the elements attribute.
 void setElements(List<AccountingLineViewRenderableElementDefinition> elements)
          Sets the elements attribute value.
 
Methods inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
afterPropertiesSet, getId, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountingLineViewDefinition

public AccountingLineViewDefinition()
Method Detail

completeValidation

public void completeValidation(Class rootBusinessObjectClass,
                               Class otherBusinessObjectClass)
Checks that this accounting line view has at least one child renderable element. Also checks that none of its direct children elements are "line" elements

See Also:
DataDictionaryDefinition.completeValidation(java.lang.Class, java.lang.Class)

getElements

public List<AccountingLineViewRenderableElementDefinition> getElements()
Gets the elements attribute.

Returns:
Returns the elements.

setElements

public void setElements(List<AccountingLineViewRenderableElementDefinition> elements)
Sets the elements attribute value.

Parameters:
elements - The elements to set.

getAccountingLineLayoutElements

public List<TableJoining> getAccountingLineLayoutElements(Class<? extends AccountingLine> accountingLineClass)
Creates a list of layout elements for this accounting line view

Parameters:
accountingLineClass - the class of the accounting line to be rendered by this view
Returns:
a List of TableJoining layout elements that represent how the accounting line should be rendered


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