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
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(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
boolean isDisctinctValues()
setDisctinctValues
void setDisctinctValues(boolean disctinctValues)
getRequired
DFField.Required getRequired()
setRequired
void setRequired(DFField.Required required)