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 String
PROP_ID_COLUMN_NAME
static String
PROP_ID_COLUMN_TYPE_INT
static String
PROP_ID_COLUMN_TYPE_STR
static String
PROP_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 String
getIdColumnName()
String
getSql()
com.chemaxon.ijc.db.dao.data.generators.DFValueGenerator.Factory[]
getValueGeneratorFactories()
boolean
isIdColumnTypeInt()
boolean
isIdColumnTypeStr()
void
setIdColumnName(String idColumnName)
void
setIdColumnTypeInt(boolean idColumnTypeInt)
void
setIdColumnTypeStr(boolean idColumnTypeStr)
void
setSql(String sql)
protected void
updateStatus()
-
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:
getValueGeneratorFactories
in classcom.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
-
getIdColumnName
public String getIdColumnName()
- Specified by:
getIdColumnName
in classcom.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
-
setIdColumnName
public void setIdColumnName(String idColumnName)
- Specified by:
setIdColumnName
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
getSql
public String getSql()
-
setSql
public void setSql(String sql)
- Specified by:
setSql
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
isIdColumnTypeInt
public boolean isIdColumnTypeInt()
-
setIdColumnTypeInt
public void setIdColumnTypeInt(boolean idColumnTypeInt)
- Specified by:
setIdColumnTypeInt
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
isIdColumnTypeStr
public boolean isIdColumnTypeStr()
-
setIdColumnTypeStr
public void setIdColumnTypeStr(boolean idColumnTypeStr)
- Specified by:
setIdColumnTypeStr
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.NewSQLEntity
-
updateStatus
protected void updateStatus()
- Overrides:
updateStatus
in classcom.chemaxon.dif.db.api.entity.newtype.DBNewEntityAbstractNTO
-
-