public class AccountingLineViewFieldDefinition extends org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition implements AccountingLineViewRenderableElementDefinition
additionalDisplayAttributeName, alternateDisplayAttributeName, defaultValue, defaultValueFinderClass, fieldLevelHelpUrl, lookupReadOnly, noLookup, overrideFieldConversions, overrideLookupClass, readOnlyAfterAdd, required, showFieldLevelHelp, template, triggerOnChange, unconditionallyReadOnly, webUILeaveFieldCallbackFunction, webUILeaveFieldFunction, webUILeaveFieldFunctionParameters
Constructor and Description |
---|
AccountingLineViewFieldDefinition() |
Modifier and Type | Method and Description |
---|---|
TableJoining |
createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
Returns the TableJoining element that this definition requires to be part of the accounting line view
|
Class<? extends AccountingLineViewField> |
getAccountingLineViewFieldClass()
Gets the accountingLineViewFieldClass attribute.
|
String |
getDynamicLabelProperty()
Gets the dynamicLabelProperty attribute.
|
DynamicNameLabelGenerator |
getDynamicNameLabelGenerator()
Returns the dynamicNameLabelGenerator for this field definition, if it has one
|
String |
getDynamicNameLabelGeneratorBeanName()
Gets the dynamicNameLabelGeneratorBeanName attribute.
|
protected List<AccountingLineViewOverrideField> |
getFieldsForOverrideFields(AccountingLineViewField parentField,
Class<? extends AccountingLine> accountingLineClass)
For each defined override field within this definition, creates a Field and puts them together as a List
|
org.kuali.rice.kns.web.ui.Field |
getKNSFieldForDefinition(Class<? extends AccountingLine> accountingLineClass)
Creates a KNS Field for an AccountingLineViewField definition
|
protected AccountingLineViewField |
getNewAccountingLineViewField()
Creates a new instance of the accounting line view field class this definition uses
|
int |
getOverrideColSpan()
Gets the overrideColSpan attribute.
|
List<AccountingLineViewOverrideFieldDefinition> |
getOverrideFields()
Gets the overrideFields attribute.
|
String |
getOverrideLookupParameters()
Gets the overrideLookupParameters attribute.
|
boolean |
isHidden()
Gets the hidden attribute.
|
void |
setAccountingLineViewFieldClass(Class<? extends AccountingLineViewField> accountingLineViewFieldClass)
Sets the accountingLineViewFieldClass attribute value.
|
void |
setDynamicLabelProperty(String dynamicLabelProperty)
Sets the dynamicLabelProperty attribute value.
|
void |
setDynamicNameLabelGeneratorBeanName(String dynamicNameLabelGeneratorBeanName)
Sets the dynamicNameLabelGeneratorBeanName attribute value.
|
void |
setHidden(boolean hidden)
Sets the hidden attribute value.
|
void |
setOverrideColSpan(int overrideColSpan)
Sets the overrideColSpan attribute value.
|
void |
setOverrideFields(List<AccountingLineViewOverrideFieldDefinition> overrideFields)
Sets the overrideFields attribute value.
|
void |
setOverrideLookupParameters(String overrideLookupParameters)
Sets the overrideLookupParameters attribute value.
|
void |
setUseShortLabel(boolean useShortLabel)
Sets the useShortLabel attribute value.
|
boolean |
shouldUseShortLabel()
Gets the useShortLabel attribute.
|
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
getName, setName
afterPropertiesSet, getId, setId
copy, copyProperties, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCode
public AccountingLineViewFieldDefinition()
public String getDynamicLabelProperty()
public void setDynamicLabelProperty(String dynamicLabelProperty)
dynamicLabelProperty
- The dynamicLabelProperty to set.public boolean shouldUseShortLabel()
public void setUseShortLabel(boolean useShortLabel)
useShortLabel
- The useShortLabel to set.public boolean isHidden()
public void setHidden(boolean hidden)
hidden
- The hidden to set.public List<AccountingLineViewOverrideFieldDefinition> getOverrideFields()
public void setOverrideFields(List<AccountingLineViewOverrideFieldDefinition> overrideFields)
overrideFields
- The overrideFields to set.public String getDynamicNameLabelGeneratorBeanName()
public void setDynamicNameLabelGeneratorBeanName(String dynamicNameLabelGeneratorBeanName)
dynamicNameLabelGeneratorBeanName
- The dynamicNameLabelGeneratorBeanName to set.public int getOverrideColSpan()
public void setOverrideColSpan(int overrideColSpan)
overrideColSpan
- The overrideColSpan to set.public Class<? extends AccountingLineViewField> getAccountingLineViewFieldClass()
public void setAccountingLineViewFieldClass(Class<? extends AccountingLineViewField> accountingLineViewFieldClass)
accountingLineViewFieldClass
- The accountingLineViewFieldClass to set.public DynamicNameLabelGenerator getDynamicNameLabelGenerator()
public TableJoining createLayoutElement(Class<? extends AccountingLine> accountingLineClass)
AccountingLineViewRenderableElementDefinition
createLayoutElement
in interface AccountingLineViewRenderableElementDefinition
org.kuali.ole.sys.document.datadictionary.AccountingLineViewRenderableElementDefinition#createLayoutElement()
protected AccountingLineViewField getNewAccountingLineViewField()
public org.kuali.rice.kns.web.ui.Field getKNSFieldForDefinition(Class<? extends AccountingLine> accountingLineClass)
accountingLineClass
- the class of the accounting line used by this definitionprotected List<AccountingLineViewOverrideField> getFieldsForOverrideFields(AccountingLineViewField parentField, Class<? extends AccountingLine> accountingLineClass)
parentField
- the AccountingLineViewField which will own all of the override fieldsaccountingLineClass
- the class of accounting lines which will be renderedpublic String getOverrideLookupParameters()
public void setOverrideLookupParameters(String overrideLookupParameters)
overrideLookupParameters
- The overrideLookupParameters to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.