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

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

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

Defines a set of lines of are displayed within a hide/show block

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
AccountingLineViewHideShowLinesDefinition()
           
 
Method Summary
 void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
          Validates that name has been set and that at least one line element has been specified
 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
 String getLabel()
          Gets the label attribute.
 List<AccountingLineViewLineFillingDefinition> getLines()
          Gets the lines attribute.
 String getName()
          Gets the name attribute.
 void setLabel(String label)
          Sets the label attribute value.
 void setLines(List<AccountingLineViewLineFillingDefinition> lines)
          Sets the lines attribute value.
 void setName(String name)
          Sets the name 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

AccountingLineViewHideShowLinesDefinition

public AccountingLineViewHideShowLinesDefinition()
Method Detail

completeValidation

public void completeValidation(Class rootBusinessObjectClass,
                               Class otherBusinessObjectClass)
Validates that name has been set and that at least one line element has been specified

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

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)

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)

getLabel

public String getLabel()
Gets the label attribute.

Returns:
Returns the label.

setLabel

public void setLabel(String label)
Sets the label attribute value.

Parameters:
label - The label to set.

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.

getName

public String getName()
Gets the name attribute.

Returns:
Returns the name.

setName

public void setName(String name)
Sets the name attribute value.

Parameters:
name - The name to set.


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