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

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

public class AccountingLineViewCurrentBaseAmountFieldDefinition
extends org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition
implements AccountingLineViewRenderableElementDefinition

The definition for an amount field which reports both current and base amounts

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition
additionalDisplayAttributeName, alternateDisplayAttributeName, defaultValue, defaultValueFinderClass, fieldLevelHelpUrl, lookupReadOnly, noLookup, overrideFieldConversions, overrideLookupClass, readOnlyAfterAdd, required, showFieldLevelHelp, template, triggerOnChange, unconditionallyReadOnly, webUILeaveFieldCallbackFunction, webUILeaveFieldFunction, webUILeaveFieldFunctionParameters
 
Fields inherited from class org.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
id
 
Constructor Summary
AccountingLineViewCurrentBaseAmountFieldDefinition()
           
 
Method Summary
 void completeValidation(Class rootBusinessObjectClass, Class otherBusinessObjectClass)
           
protected  AccountingLineViewFieldDefinition createFieldDefinitionForProperty(String propertyName)
          Creates an AccountingLineViewFieldDefinition for the given property name
protected  org.kuali.rice.kns.web.ui.Field createFieldForPropertyName(String propertyName, Class<? extends AccountingLine> accountingLineClass)
          Creates a field for the given AccountingLine class and property name
 TableJoining createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
          Creates a property initiated AccountingLineViewCurrentBaseAmount element
 String getBaseAmountPropertyName()
          Gets the baseAmountPropertyName attribute.
 String getCurrentAmountPropertyName()
          Gets the currentAmountPropertyName attribute.
 boolean isUseShortLabels()
          Gets the useShortLabels attribute.
 void setBaseAmountPropertyName(String baseAmountPropertyName)
          Sets the baseAmountPropertyName attribute value.
 void setCurrentAmountPropertyName(String currentAmountPropertyName)
          Sets the currentAmountPropertyName attribute value.
 void setUseShortLabels(boolean useShortLabels)
          Sets the useShortLabels attribute value.
 
Methods inherited from class org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition
getAdditionalDisplayAttributeName, getAlternateDisplayAttributeName, getDefaultValue, getDefaultValueFinderClass, getFieldLevelHelpUrl, getOverrideFieldConversions, getOverrideLookupClass, getTemplate, getWebUILeaveFieldCallbackFunction, getWebUILeaveFieldFunction, getWebUILeaveFieldFunctionParameters, isLookupReadOnly, isNoLookup, isReadOnlyAfterAdd, isRequired, isShowFieldLevelHelp, isTriggerOnChange, isUnconditionallyReadOnly, setAdditionalDisplayAttributeName, setAlternateDisplayAttributeName, setDefaultValue, setDefaultValueFinderClass, setFieldLevelHelpUrl, setLookupReadOnly, setNoLookup, setOverrideFieldConversions, setOverrideLookupClass, setReadOnlyAfterAdd, setRequired, setShowFieldLevelHelp, setTemplate, setTriggerOnChange, setUnconditionallyReadOnly, setWebUILeaveFieldCallbackFunction, setWebUILeaveFieldFunction, setWebUILeaveFieldFunctionParameters, toString
 
Methods inherited from class org.kuali.rice.kns.datadictionary.MaintainableItemDefinition
getName, setName
 
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, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kns.datadictionary.FieldDefinitionI
getName
 

Constructor Detail

AccountingLineViewCurrentBaseAmountFieldDefinition

public AccountingLineViewCurrentBaseAmountFieldDefinition()
Method Detail

createLayoutElement

public TableJoining createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
Creates a property initiated AccountingLineViewCurrentBaseAmount element

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

createFieldForPropertyName

protected org.kuali.rice.kns.web.ui.Field createFieldForPropertyName(String propertyName,
                                                                     Class<? extends AccountingLine> accountingLineClass)
Creates a field for the given AccountingLine class and property name

Parameters:
propertyName - the name of the property to create a Field for
accountingLineClass - the Class of the AccountingLine we're planning on rendering
Returns:
an appropriately created Field

createFieldDefinitionForProperty

protected AccountingLineViewFieldDefinition createFieldDefinitionForProperty(String propertyName)
Creates an AccountingLineViewFieldDefinition for the given property name

Parameters:
propertyName - the name of the field property that we're creating a definition for
Returns:
an appropriately created AccountingLineViewFieldDefinition

completeValidation

public void completeValidation(Class rootBusinessObjectClass,
                               Class otherBusinessObjectClass)
Specified by:
completeValidation in interface org.kuali.rice.kns.datadictionary.DataDictionaryDefinition
Overrides:
completeValidation in class org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition
See Also:
MaintainableFieldDefinition.completeValidation(java.lang.Class, java.lang.Class)

getBaseAmountPropertyName

public String getBaseAmountPropertyName()
Gets the baseAmountPropertyName attribute.

Returns:
Returns the baseAmountPropertyName.

setBaseAmountPropertyName

public void setBaseAmountPropertyName(String baseAmountPropertyName)
Sets the baseAmountPropertyName attribute value.

Parameters:
baseAmountPropertyName - The baseAmountPropertyName to set.

getCurrentAmountPropertyName

public String getCurrentAmountPropertyName()
Gets the currentAmountPropertyName attribute.

Returns:
Returns the currentAmountPropertyName.

setCurrentAmountPropertyName

public void setCurrentAmountPropertyName(String currentAmountPropertyName)
Sets the currentAmountPropertyName attribute value.

Parameters:
currentAmountPropertyName - The currentAmountPropertyName to set.

isUseShortLabels

public boolean isUseShortLabels()
Gets the useShortLabels attribute.

Returns:
Returns the useShortLabels.

setUseShortLabels

public void setUseShortLabels(boolean useShortLabels)
Sets the useShortLabels attribute value.

Parameters:
useShortLabels - The useShortLabels to set.


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