public class DefaultValuePopulationAccountingLineFieldRenderingTransformationImpl extends Object implements AccountingLineFieldRenderingTransformation
Constructor and Description |
---|
DefaultValuePopulationAccountingLineFieldRenderingTransformationImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
populateFieldWithDefault(org.kuali.rice.kns.web.ui.Field field,
org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition fieldDefinition)
Populates a maintenance field with its default value
|
void |
transformField(AccountingLine accountingLine,
org.kuali.rice.kns.web.ui.Field field,
org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition fieldDefinition,
Map unconvertedValues)
Using the data dictionary definition for the field, determines what the default value for this field would be should there be a default value defined;
note that this value may be wiped out by the value from the business object during that transformation (which presumably happends after this one)
|
public DefaultValuePopulationAccountingLineFieldRenderingTransformationImpl()
public void transformField(AccountingLine accountingLine, org.kuali.rice.kns.web.ui.Field field, org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition fieldDefinition, Map unconvertedValues)
transformField
in interface AccountingLineFieldRenderingTransformation
accountingLine
- the accounting line that is being renderedfield
- the field to transformfieldDefinition
- the accounting line definition of the accounting line being renderedunconvertedValues
- a map of unconverted valuesorg.kuali.ole.sys.document.service.AccountingLineFieldRenderingTransformation#transformField(org.kuali.ole.sys.document.web.AccountingLineViewField)
protected void populateFieldWithDefault(org.kuali.rice.kns.web.ui.Field field, org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition fieldDefinition)
field
- the field to populate with a default valuefieldDefinition
- the data dictionary definition of the field to transform
KRAD Conversion: Performs the customization of the field propertiesCopyright © 2004–2015 The Kuali Foundation. All rights reserved.