Package com.im.ijc.df.impl.db.entity
Class DBNewEntitySqlNTO
- java.lang.Object
-
- com.chemaxon.dif.db.api.item.newtype.AbstractNTOImpl
-
- com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO
-
- com.chemaxon.dif.db.api.entity.newtype.DBEntityAbstractNTO
-
- com.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
-
- com.im.ijc.df.impl.db.entity.DBNewEntitySqlNTO
-
- All Implemented Interfaces:
com.im.df.api.support.DFNewTypeOptions,com.im.df.api.support.DFNewTypeWellKnownOptions.EntityDBOptions,com.im.df.api.support.DFNewTypeWellKnownOptions.EntityOptions,com.im.df.api.support.DFNewTypeWellKnownOptions.NewDBEntity,com.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity,com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem,PropertyChangeListener,EventListener
public final class DBNewEntitySqlNTO extends com.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO implements com.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
-
Field Summary
Fields Modifier and Type Field Description static StringPROP_ID_COLUMN_NAMEstatic StringPROP_ID_COLUMN_TYPE_INTstatic StringPROP_ID_COLUMN_TYPE_STRstatic StringPROP_SQL-
Fields inherited from class com.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
PROP_VALUE_GENERATOR_OPTIONS
-
Fields inherited from interface com.im.df.api.support.DFNewTypeOptions
PROP_ERROR_MESSAGE, PROP_VALID
-
-
Constructor Summary
Constructors Constructor Description DBNewEntitySqlNTO(com.chemaxon.dif.db.api.entity.DBEntitiesContainer dBEntitiesContainer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetIdColumnName()StringgetSql()com.chemaxon.ijc.db.dao.data.generators.DFValueGenerator.Factory[]getValueGeneratorFactories()booleanisIdColumnTypeInt()booleanisIdColumnTypeStr()voidsetIdColumnName(String idColumnName)voidsetIdColumnTypeInt(boolean idColumnTypeInt)voidsetIdColumnTypeStr(boolean idColumnTypeStr)voidsetSql(String sql)protected voidupdateStatus()-
Methods inherited from class com.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
assignDefaultValueGenerator, getTableName, getValueGeneratorOptions, isCreatedByImport, notifyNewDFItemNameChanged, notifyTableNameChanged, propertyChange, setCreatedByImport, setTableName, setValueGeneratorOptions
-
Methods inherited from class com.chemaxon.dif.db.api.entity.newtype.DBEntityAbstractNTO
getDBSchema, getSchema, getSchemaImpl
-
Methods inherited from class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO
getDescription, getNewDFItemName, getParentContainer, normalizeDFItemName, setDescription, setNewDFItemName, setNewDFItemNameSafe
-
Methods inherited from class com.chemaxon.dif.db.api.item.newtype.AbstractNTOImpl
addPropertyChangeListener, firePropertyChange, getErrorMessage, isValid, removePropertyChangeListener, setErrorMessage, setValid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.im.df.api.support.DFNewTypeOptions
addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
-
-
-
-
Field Detail
-
PROP_SQL
public static final String PROP_SQL
- See Also:
- Constant Field Values
-
PROP_ID_COLUMN_NAME
public static final String PROP_ID_COLUMN_NAME
- See Also:
- Constant Field Values
-
PROP_ID_COLUMN_TYPE_INT
public static final String PROP_ID_COLUMN_TYPE_INT
- See Also:
- Constant Field Values
-
PROP_ID_COLUMN_TYPE_STR
public static final String PROP_ID_COLUMN_TYPE_STR
- See Also:
- Constant Field Values
-
-
Method Detail
-
getValueGeneratorFactories
public com.chemaxon.ijc.db.dao.data.generators.DFValueGenerator.Factory[] getValueGeneratorFactories()
- Overrides:
getValueGeneratorFactoriesin classcom.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
-
getIdColumnName
public String getIdColumnName()
- Specified by:
getIdColumnNamein classcom.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
-
setIdColumnName
public void setIdColumnName(String idColumnName)
- Specified by:
setIdColumnNamein interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
getSql
public String getSql()
-
setSql
public void setSql(String sql)
- Specified by:
setSqlin interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
isIdColumnTypeInt
public boolean isIdColumnTypeInt()
-
setIdColumnTypeInt
public void setIdColumnTypeInt(boolean idColumnTypeInt)
- Specified by:
setIdColumnTypeIntin interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
isIdColumnTypeStr
public boolean isIdColumnTypeStr()
-
setIdColumnTypeStr
public void setIdColumnTypeStr(boolean idColumnTypeStr)
- Specified by:
setIdColumnTypeStrin interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
updateStatus
protected void updateStatus()
- Overrides:
updateStatusin classcom.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
-
-