com.im.df.api 5.9

com.im.df.api.support
Interface DFNewTypeWellKnownOptions.ExistingDBEntity

All Superinterfaces:
DFNewTypeOptions, DFNewTypeWellKnownOptions.EntityDBOptions, DFNewTypeWellKnownOptions.EntityOptions, DFNewTypeWellKnownOptions.SingleDFItem
All Known Subinterfaces:
DFNewTypeWellKnownOptions.ExistingJChemEntity
Enclosing interface:
DFNewTypeWellKnownOptions

public static interface DFNewTypeWellKnownOptions.ExistingDBEntity
extends DFNewTypeWellKnownOptions.EntityDBOptions

Options for creating a standard DFEntity with DBEntityCapability where database table already exists (so called promote entity).


Field Summary
static String PROP_ID_FIELD_COLUMN
           
 
Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.EntityDBOptions
PROP_TABLE_NAME
 
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
 boolean acceptsTable(DBTableInfo table)
           
 Collection<DBColInfo> getAvailableIdColumns()
          Returns column infos suitable to serve as ID column, in no particular order.
 String getIdFieldColumn()
           
 DFNewTypeWellKnownOptions.DBColumnInfo getIdFieldColumnInfo()
           
 void setIdFieldColumn(String colName)
           
 
Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.EntityDBOptions
getTableName, setTableName
 
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
 

Field Detail

PROP_ID_FIELD_COLUMN

static final String PROP_ID_FIELD_COLUMN
See Also:
Constant Field Values
Method Detail

acceptsTable

boolean acceptsTable(DBTableInfo table)

getIdFieldColumnInfo

DFNewTypeWellKnownOptions.DBColumnInfo getIdFieldColumnInfo()

getIdFieldColumn

String getIdFieldColumn()

setIdFieldColumn

void setIdFieldColumn(String colName)

getAvailableIdColumns

Collection<DBColInfo> getAvailableIdColumns()
Returns column infos suitable to serve as ID column, in no particular order. Note that the method returns result which depend on the current table property.


com.im.df.api 5.9