|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.rice.kns.datadictionary.DataDictionaryDefinitionBase
org.kuali.rice.kns.datadictionary.MaintainableItemDefinition
org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition
org.kuali.kfs.sys.document.datadictionary.AccountingLineViewDebitCreditAmountFieldDefinition
public class AccountingLineViewDebitCreditAmountFieldDefinition
Data dictionary meta data that represents a debit/credit amount field. By default, it expects the new line debit amount property on the form to be called "newSourceLineDebit", the debit amount on a new line to be called "newSourceLineCredit", and for the form to have a collection VoucherAccountingLineHelper implementation objects called "voucherLineHelpers", though these can be overridden.
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 | |
---|---|
AccountingLineViewDebitCreditAmountFieldDefinition()
|
Method Summary | |
---|---|
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)
Returns the TableJoining element that this definition requires to be part of the accounting line view |
String |
getAmountFieldName()
Gets the amountFieldName attribute. |
String |
getNewLineCreditAmountProperty()
Gets the newLineCreditAmountProperty attribute. |
String |
getNewLineDebitAmountProperty()
Gets the newLineDebitAmountProperty attribute. |
String |
getVoucherLineHelperProperty()
Gets the voucherLineHelpersProperty attribute. |
void |
setAmountFieldName(String amountFieldName)
Sets the amountFieldName attribute value. |
void |
setNewLineCreditAmountProperty(String newLineCreditAmountProperty)
Sets the newLineCreditAmountProperty attribute value. |
void |
setNewLineDebitAmountProperty(String newLineDebitAmountProperty)
Sets the newLineDebitAmountProperty attribute value. |
void |
setUseShortLabels(boolean useShortLabels)
Sets the useShortLabels attribute value. |
void |
setVoucherLineHelperProperty(String voucherLineHelpersProperty)
Sets the voucherLineHelpersProperty attribute value. |
boolean |
shouldUseShortLabels()
Gets the useShortLabels attribute. |
Methods inherited from class org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition |
---|
completeValidation, 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 |
---|
public AccountingLineViewDebitCreditAmountFieldDefinition()
Method Detail |
---|
public TableJoining createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
AccountingLineViewRenderableElementDefinition
createLayoutElement
in interface AccountingLineViewRenderableElementDefinition
AccountingLineViewRenderableElementDefinition.createLayoutElement(java.lang.Class)
protected org.kuali.rice.kns.web.ui.Field createFieldForPropertyName(String propertyName, Class<? extends AccountingLine> accountingLineClass)
propertyName
- the name of the property to create a Field foraccountingLineClass
- the Class of the AccountingLine we're planning on rendering
protected AccountingLineViewFieldDefinition createFieldDefinitionForProperty(String propertyName)
propertyName
- the name of the field property that we're creating a definition for
public String getNewLineCreditAmountProperty()
public void setNewLineCreditAmountProperty(String newLineCreditAmountProperty)
newLineCreditAmountProperty
- The newLineCreditAmountProperty to set.public String getNewLineDebitAmountProperty()
public void setNewLineDebitAmountProperty(String newLineDebitAmountProperty)
newLineDebitAmountProperty
- The newLineDebitAmountProperty to set.public String getVoucherLineHelperProperty()
public void setVoucherLineHelperProperty(String voucherLineHelpersProperty)
voucherLineHelpersProperty
- The voucherLineHelpersProperty to set.public boolean shouldUseShortLabels()
public void setUseShortLabels(boolean useShortLabels)
useShortLabels
- The useShortLabels to set.public String getAmountFieldName()
public void setAmountFieldName(String amountFieldName)
amountFieldName
- The amountFieldName to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |