Class ControlDefinitionBase
java.lang.Object
org.kuali.rice.krad.datadictionary.DictionaryBeanBase
org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
org.kuali.rice.kns.datadictionary.control.ControlDefinitionBase
- All Implemented Interfaces:
Serializable,Cloneable,ControlDefinition,Copyable,DataDictionaryDefinition,DictionaryBean
- Direct Known Subclasses:
ButtonControlDefinition,CheckboxControlDefinition,CurrencyControlDefinition,FileControlDefinition,HiddenControlDefinition,KualiUserControlDefinition,LinkControlDefinition,LookupHiddenControlDefinition,LookupReadonlyControlDefinition,MultivalueControlDefinitionBase,TextareaControlDefinition,TextControlDefinition,WorkflowWorkgroupControlDefinition
@Deprecated
public abstract class ControlDefinitionBase
extends DataDictionaryDefinitionBase
implements ControlDefinition
Deprecated.
Only used by KNS classes, use KRAD.
A single HTML control definition in the DataDictionary, which contains information relating to the HTML control used to realize a
specific attribute. All types of controls are represented by an instance of this class; you have to call one of the is* methods
to figure out which of the other accessors should return useful values.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntegerDeprecated.protected booleanDeprecated.protected StringDeprecated.protected booleanDeprecated.protected booleanDeprecated.protected IntegerDeprecated.protected StringDeprecated.protected IntegerDeprecated.protected StringDeprecated.Deprecated.Fields inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
embeddedDataObjectMetadata, generatedFromMetadata, idFields inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
componentCode, namespaceCode -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteValidation(Class<?> rootBusinessObjectClass, Class<?> otherBusinessObjectClass) Deprecated.Directly validate simple fieldsbooleanDeprecated.Deprecated.getCols()Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getRows()Deprecated.Deprecated.getSize()Deprecated.Deprecated.Deprecated.inthashCode()Deprecated.booleanDeprecated.booleanisButton()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanisFile()Deprecated.booleanisHidden()Deprecated.booleanDeprecated.booleanisLink()Deprecated.booleanDeprecated.booleanDeprecated.booleanDeprecated.booleanisRadio()Deprecated.booleanisRanged()Deprecated.booleanisSelect()Deprecated.booleanisText()Deprecated.booleanDeprecated.booleanDeprecated.voidsetBusinessObjectClass(String businessObjectClass) Deprecated.Used by a PersistableBusinessObjectValuesFinder to automatically query and display a list of business objects as part of a select list or set of radio buttons.voidDeprecated.Number of columns to display on a text-area widget.voidsetDatePicker(boolean datePicker) Deprecated.Whether this control should have a date picker button next to the field.voidsetDatePickerFormat(String datePickerFormat) Deprecated.voidsetExpandedTextArea(boolean eTextArea) Deprecated.Whether this control should have a expanded text area button next to the field.voidsetIncludeBlankRow(Boolean includeBlankRow) Deprecated.voidsetIncludeKeyInLabel(Boolean includeKeyInLabel) Deprecated.Whether to include the key in the label for select lists and radio buttons.voidsetKeyAttribute(String keyAttribute) Deprecated.Attribute of the given dataObjectClass to use as the value of a select list or set of radio buttons.voidsetLabelAttribute(String labelAttribute) Deprecated.Attribute of the given dataObjectClass to use as the displayed label on a select list or set of radio buttons.voidsetRanged(boolean ranged) Deprecated.Sets the control as a ranged (from and to) date field if true, or a single date field if falsevoidDeprecated.Number of rows to display on a text-area widget.voidDeprecated.JavaScript script to run when a select control's value is changed.voidDeprecated.Size of a text control.voidsetValuesFinderClass(String valuesFinderClass) Deprecated.voidsetValuesFinderProperties(Map<String, Object> valuesFinderProperties) Deprecated.Methods inherited from class org.kuali.rice.krad.datadictionary.DataDictionaryDefinitionBase
completeValidation, getId, hasEmbeddedDataObjectMetadata, setEmbeddedDataObjectMetadata, setGeneratedFromMetadata, setId, wasGeneratedFromMetadataMethods inherited from class org.kuali.rice.krad.datadictionary.DictionaryBeanBase
clone, copy, dataDictionaryPostProcessing, getComponentCode, getNamespaceCode, setComponentCode, setNamespaceCodeMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kuali.rice.krad.datadictionary.DataDictionaryDefinition
completeValidation, getIdMethods inherited from interface org.kuali.rice.krad.datadictionary.DictionaryBean
dataDictionaryPostProcessing, getComponentCode, getNamespaceCode
-
Field Details
-
datePicker
protected boolean datePickerDeprecated. -
datePickerFormat
Deprecated. -
expandedTextArea
protected boolean expandedTextAreaDeprecated. -
script
Deprecated. -
valuesFinderClass
Deprecated. -
valuesFinderProperties
Deprecated. -
size
Deprecated. -
rows
Deprecated. -
cols
Deprecated. -
ranged
protected boolean rangedDeprecated.
-
-
Constructor Details
-
ControlDefinitionBase
public ControlDefinitionBase()Deprecated.
-
-
Method Details
-
isDatePicker
public boolean isDatePicker()Deprecated.- Specified by:
isDatePickerin interfaceControlDefinition
-
setDatePicker
public void setDatePicker(boolean datePicker) Deprecated.Whether this control should have a date picker button next to the field. Valid for text fields.- Specified by:
setDatePickerin interfaceControlDefinition
-
getDatePickerFormat
Deprecated.- Specified by:
getDatePickerFormatin interfaceControlDefinition
-
setDatePickerFormat
Deprecated.- Specified by:
setDatePickerFormatin interfaceControlDefinition
-
isExpandedTextArea
public boolean isExpandedTextArea()Deprecated.- Specified by:
isExpandedTextAreain interfaceControlDefinition
-
setExpandedTextArea
public void setExpandedTextArea(boolean eTextArea) Deprecated.Whether this control should have a expanded text area button next to the field. Valid for textarea fields.- Specified by:
setExpandedTextAreain interfaceControlDefinition
-
isCheckbox
public boolean isCheckbox()Deprecated.- Specified by:
isCheckboxin interfaceControlDefinition
-
isHidden
public boolean isHidden()Deprecated.- Specified by:
isHiddenin interfaceControlDefinition
-
isRadio
public boolean isRadio()Deprecated.- Specified by:
isRadioin interfaceControlDefinition
-
isSelect
public boolean isSelect()Deprecated.- Specified by:
isSelectin interfaceControlDefinition
-
isMultiselect
public boolean isMultiselect()Deprecated.- Specified by:
isMultiselectin interfaceControlDefinition
-
isText
public boolean isText()Deprecated.- Specified by:
isTextin interfaceControlDefinition
-
isTextarea
public boolean isTextarea()Deprecated.- Specified by:
isTextareain interfaceControlDefinition
-
isCurrency
public boolean isCurrency()Deprecated.- Specified by:
isCurrencyin interfaceControlDefinition
-
isKualiUser
public boolean isKualiUser()Deprecated.- Specified by:
isKualiUserin interfaceControlDefinition
-
isWorkflowWorkgroup
public boolean isWorkflowWorkgroup()Deprecated.- Specified by:
isWorkflowWorkgroupin interfaceControlDefinition
-
isFile
public boolean isFile()Deprecated.- Specified by:
isFilein interfaceControlDefinition
-
isLookupHidden
public boolean isLookupHidden()Deprecated.- Specified by:
isLookupHiddenin interfaceControlDefinition
-
isLookupReadonly
public boolean isLookupReadonly()Deprecated.- Specified by:
isLookupReadonlyin interfaceControlDefinition
-
isButton
public boolean isButton()Deprecated.- Specified by:
isButtonin interfaceControlDefinition
-
isLink
public boolean isLink()Deprecated.- Specified by:
isLinkin interfaceControlDefinition
-
setValuesFinderClass
Deprecated.- Specified by:
setValuesFinderClassin interfaceControlDefinition
-
setValuesFinderProperties
Deprecated.- Specified by:
setValuesFinderPropertiesin interfaceControlDefinition
-
getBusinessObjectClass
Deprecated.- Specified by:
getBusinessObjectClassin interfaceControlDefinition- Returns:
- the dataObjectClass
-
setBusinessObjectClass
Deprecated.Used by a PersistableBusinessObjectValuesFinder to automatically query and display a list of business objects as part of a select list or set of radio buttons. The keyAttribute, labelAttribute, and includeKeyInLabel are used with this property.- Specified by:
setBusinessObjectClassin interfaceControlDefinition- Parameters:
businessObjectClass- the dataObjectClass to set
-
getIncludeBlankRow
Deprecated.- Specified by:
getIncludeBlankRowin interfaceControlDefinition- Returns:
- the includeBlankRow
-
setIncludeBlankRow
Deprecated.- Specified by:
setIncludeBlankRowin interfaceControlDefinition
-
getIncludeKeyInLabel
Deprecated.- Specified by:
getIncludeKeyInLabelin interfaceControlDefinition- Returns:
- the includeKeyInLabel
-
setIncludeKeyInLabel
Deprecated.Whether to include the key in the label for select lists and radio buttons.- Specified by:
setIncludeKeyInLabelin interfaceControlDefinition
-
getKeyAttribute
Deprecated.- Specified by:
getKeyAttributein interfaceControlDefinition- Returns:
- the keyAttribute
-
setKeyAttribute
Deprecated.Attribute of the given dataObjectClass to use as the value of a select list or set of radio buttons.- Specified by:
setKeyAttributein interfaceControlDefinition
-
getLabelAttribute
Deprecated.- Specified by:
getLabelAttributein interfaceControlDefinition- Returns:
- the labelAttribute
-
setLabelAttribute
Deprecated.Attribute of the given dataObjectClass to use as the displayed label on a select list or set of radio buttons.- Specified by:
setLabelAttributein interfaceControlDefinition
-
getValuesFinderClass
Deprecated.- Specified by:
getValuesFinderClassin interfaceControlDefinition
-
getValuesFinderProperties
Deprecated.- Specified by:
getValuesFinderPropertiesin interfaceControlDefinition
-
setSize
Deprecated.Size of a text control.- Specified by:
setSizein interfaceControlDefinition
-
getSize
Deprecated.- Specified by:
getSizein interfaceControlDefinition
-
hasScript
public boolean hasScript()Deprecated. -
setRows
Deprecated.Number of rows to display on a text-area widget.- Specified by:
setRowsin interfaceControlDefinition
-
getRows
Deprecated.- Specified by:
getRowsin interfaceControlDefinition
-
setCols
Deprecated.Number of columns to display on a text-area widget.- Specified by:
setColsin interfaceControlDefinition
-
getCols
Deprecated.- Specified by:
getColsin interfaceControlDefinition
-
completeValidation
Deprecated.Directly validate simple fields- Specified by:
completeValidationin interfaceDataDictionaryDefinition- Overrides:
completeValidationin classDataDictionaryDefinitionBase
-
getScript
Deprecated.- Specified by:
getScriptin interfaceControlDefinition
-
setScript
Deprecated.JavaScript script to run when a select control's value is changed.- Specified by:
setScriptin interfaceControlDefinition
-
isRanged
public boolean isRanged()Deprecated.- Specified by:
isRangedin interfaceControlDefinition
-
setRanged
public void setRanged(boolean ranged) Deprecated.Sets the control as a ranged (from and to) date field if true, or a single date field if false- Parameters:
ranged- boolean true for a ranged control, false for a single date field
-
equals
Deprecated. -
hashCode
public int hashCode()Deprecated.
-