Package com.im.df.api.support
Interface DFNewTypeWellKnownOptions.NewDBField
-
- All Superinterfaces:
DFNewTypeOptions,DFNewTypeWellKnownOptions.FieldOptions,DFNewTypeWellKnownOptions.SingleDFItem
- All Known Subinterfaces:
DFNewTypeWellKnownOptions.NewCalulatedField,DFNewTypeWellKnownOptions.NewCTField,DFNewTypeWellKnownOptions.NewDynamicURLField,DFNewTypeWellKnownOptions.NewMimeTypeField
- Enclosing interface:
- DFNewTypeWellKnownOptions
public static interface DFNewTypeWellKnownOptions.NewDBField extends DFNewTypeWellKnownOptions.FieldOptions
Options for creating a new DFField with DBFieldCapability
-
-
Field Summary
-
Fields inherited from interface com.im.df.api.support.DFNewTypeOptions
PROP_ERROR_MESSAGE, PROP_VALID
-
Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem
PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DFNewTypeWellKnownOptions.DBColumnInfo[]getColumns()Getter for columns info array.DefaultValuegetDefaultValue()DFField.RequiredgetRequired()booleanisDisctinctValues()Deprecated.As of release 6.3, replaced withDFFieldPickListCapabilityvoidsetColumnBaseName(java.lang.String name)Set a base name for the columns.voidsetDefaultValue(DefaultValue defaultValue)voidsetDisctinctValues(boolean distinctValues)Deprecated.As of release 6.3, replaced withDFFieldPickListCapabilityvoidsetRequired(DFField.Required required)-
Methods inherited from interface com.im.df.api.support.DFNewTypeOptions
addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
-
Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.FieldOptions
createInsertOptions, getConvertor
-
Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem
getDescription, getNewDFItemName, setDescription, setNewDFItemName, setNewDFItemNameSafe
-
-
-
-
Method Detail
-
getColumns
DFNewTypeWellKnownOptions.DBColumnInfo[] getColumns()
Getter for columns info array. Each column has own info (typical field with only one column returns array length == 1). There is no setter for columns, if you want to set up properties of DBColumnInfo(s) just use the returned instances and call setters on this instance.
-
setColumnBaseName
void setColumnBaseName(java.lang.String name)
Set a base name for the columns. This may be the same as the field name. Each column will be given an appropriate name based on the based name e.g name_1, name_2 etc.
-
getDefaultValue
DefaultValue getDefaultValue()
-
setDefaultValue
void setDefaultValue(DefaultValue defaultValue)
-
isDisctinctValues
@Deprecated boolean isDisctinctValues()
Deprecated.As of release 6.3, replaced withDFFieldPickListCapability
-
setDisctinctValues
@Deprecated void setDisctinctValues(boolean distinctValues)
Deprecated.As of release 6.3, replaced withDFFieldPickListCapability
-
getRequired
DFField.Required getRequired()
-
setRequired
void setRequired(DFField.Required required)
-
-