com.im.df.api 5.9

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.DFNewTypeWellKnownOptions.SingleDFItem
PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
 
Fields inherited from interface com.im.df.api.support.DFNewTypeOptions
PROP_ERROR_MESSAGE, PROP_VALID
 
Method Summary
 DFNewTypeWellKnownOptions.DBColumnInfo[] getColumns()
          Getter for columns info array.
 DefaultValue getDefaultValue()
           
 DFField.Required getRequired()
           
 boolean isDisctinctValues()
           
 void setColumnBaseName(String name)
          Set a base name for the columns.
 void setDefaultValue(DefaultValue defaultValue)
           
 void setDisctinctValues(boolean disctinctValues)
           
 void setRequired(DFField.Required required)
           
 
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
 
Methods inherited from interface com.im.df.api.support.DFNewTypeOptions
addPropertyChangeListener, getErrorMessage, isValid, removeAllPropertyChangeListener, removePropertyChangeListener
 

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(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)

com.im.df.api 5.9