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

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

public class AccountingLineViewLinesDefinition
extends org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
implements AccountingLineViewRenderableElementDefinition

Data dictionary definition for a group of multiple lines to render. This also renders blocks - though each block will be rendered as a line with an embedded table

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
AccountingLineViewLinesDefinition()
           
 
Method Summary
 void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
          Validates that: 1) there is at least one child line
 TableJoining createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
          Returns the TableJoining element that this definition requires to be part of the accounting line view
 String getElementName()
          Gets the elementName attribute.
protected  List<AccountingLineViewLineFillingElement> getLayoutElementsForLines(Class<? extends AccountingLine> accountingLineClass)
          Generates layout elements for all the child lines of this lines definition
 List<AccountingLineViewLineFillingDefinition> getLines()
          Gets the lines attribute.
 void setElementName(String elementName)
          Sets the elementName attribute value.
 void setLines(List<AccountingLineViewLineFillingDefinition> lines)
          Sets the lines 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

AccountingLineViewLinesDefinition

public AccountingLineViewLinesDefinition()
Method Detail

completeValidation

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

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

getLines

public List<AccountingLineViewLineFillingDefinition> getLines()
Gets the lines attribute.

Returns:
Returns the lines.

setLines

public void setLines(List<AccountingLineViewLineFillingDefinition> lines)
Sets the lines attribute value.

Parameters:
lines - The lines 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:
org.kuali.kfs.sys.document.datadictionary.AccountingLineViewRenderableElementDefinition#createLayoutElement()

getLayoutElementsForLines

protected List<AccountingLineViewLineFillingElement> getLayoutElementsForLines(Class<? extends AccountingLine> accountingLineClass)
Generates layout elements for all the child lines of this lines definition

Returns:
a List with the line elements for all child lines of this element definition


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