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

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

public class AccountingLineViewLineDefinition
extends org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
implements AccountingLineViewLineFillingDefinition

Data dictionary definition of a collection of elements which will be rendered as one table row in the table of each accounting line.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
AccountingLineViewLineDefinition()
           
 
Method Summary
 void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
          Validates that: 1) there is at least one child element
 TableJoining createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
          Returns the TableJoining element that this definition requires to be part of the accounting line view
 AccountingLineViewLineFillingElement createLineFillingLayoutElement(Class<? extends AccountingLine> accountingLineClass)
          Has the definition create not just a layout element, but a line filling layout element
protected  List<RenderableElement> getChildrenRenderableElements(Class<? extends AccountingLine> accountingLineClass)
          Creates children renderable elements for all children of this line definition
 String getElementName()
          Gets the elementName attribute.
 List<? extends AccountingLineViewRenderableElementDefinition> getFields()
          Gets the fields attribute.
 void setElementName(String elementName)
          Sets the elementName attribute value.
 void setFields(List<? extends AccountingLineViewRenderableElementDefinition> fields)
          Sets the fields 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

AccountingLineViewLineDefinition

public AccountingLineViewLineDefinition()
Method Detail

completeValidation

public void completeValidation(Class rootBusinessObjectClass,
                               Class otherBusinessObjectClass)
Validates that: 1) there is at least one child element

Specified by:
completeValidation in interface org.kuali.rice.kns.datadictionary.DataDictionaryDefinition
See Also:
DataDictionaryDefinition.completeValidation(java.lang.Class, java.lang.Class)

getFields

public List<? extends AccountingLineViewRenderableElementDefinition> getFields()
Gets the fields attribute.

Returns:
Returns the fields.

setFields

public void setFields(List<? extends AccountingLineViewRenderableElementDefinition> fields)
Sets the fields attribute value.

Parameters:
fields - The fields to set.

getElementName

public String getElementName()
Gets the elementName attribute.

Returns:
Returns the elementName.

setElementName

public void setElementName(String elementName)
Sets the elementName attribute value.

Parameters:
elementName - The elementName to set.

createLayoutElement

public TableJoining createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
Description copied from interface: AccountingLineViewRenderableElementDefinition
Returns the TableJoining element that this definition requires to be part of the accounting line view

Specified by:
createLayoutElement in interface AccountingLineViewRenderableElementDefinition
Returns:
a properly created TableJoining element
See Also:
AccountingLineViewRenderableElementDefinition.createLayoutElement(java.lang.Class)

getChildrenRenderableElements

protected List<RenderableElement> getChildrenRenderableElements(Class<? extends AccountingLine> accountingLineClass)
Creates children renderable elements for all children of this line definition

Parameters:
accountingLineClass - accounting line class to pass through
Returns:
a List of renderable children elements

createLineFillingLayoutElement

public AccountingLineViewLineFillingElement createLineFillingLayoutElement(Class<? extends AccountingLine> accountingLineClass)
Description copied from interface: AccountingLineViewLineFillingDefinition
Has the definition create not just a layout element, but a line filling layout element

Specified by:
createLineFillingLayoutElement in interface AccountingLineViewLineFillingDefinition
Parameters:
accountingLineClass - the class of the accounting line being rendered
Returns:
an AccountingLineViewLineFillingElement based off of this definition
See Also:
AccountingLineViewLineFillingDefinition.createLineFillingLayoutElement(java.lang.Class)


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