Package 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
Fields Modifier and Type Field Description static java.lang.String
PROP_ID_FIELD_COLUMN
-
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.EntityDBOptions
PROP_TABLE_NAME
-
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 Modifier and Type Method Description boolean
acceptsTable(com.im.commons.db.ddl.DBTableInfo table)
java.util.Collection<com.im.commons.db.ddl.DBColInfo>
getAvailableIdColumns()
Returns column infos suitable to serve as ID column, in no particular order.java.lang.String
getIdFieldColumn()
DFNewTypeWellKnownOptions.DBColumnInfo
getIdFieldColumnInfo()
void
setIdFieldColumn(java.lang.String colName)
-
Methods inherited from interface com.im.df.api.support.DFNewTypeOptions
addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
-
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
-
-
-
-
Field Detail
-
PROP_ID_FIELD_COLUMN
static final java.lang.String PROP_ID_FIELD_COLUMN
- See Also:
- Constant Field Values
-
-
Method Detail
-
acceptsTable
boolean acceptsTable(com.im.commons.db.ddl.DBTableInfo table)
-
getIdFieldColumnInfo
DFNewTypeWellKnownOptions.DBColumnInfo getIdFieldColumnInfo()
-
getIdFieldColumn
java.lang.String getIdFieldColumn()
-
setIdFieldColumn
void setIdFieldColumn(java.lang.String colName)
-
getAvailableIdColumns
java.util.Collection<com.im.commons.db.ddl.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.
-
-