Package com.im.ijc.df.impl.db.entity
Class DBExistingEntityAbstractJChemNTO
- 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.DBExistingEntityNTO
-
- com.im.ijc.df.impl.db.entity.DBExistingEntityAbstractJChemNTO
-
- 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.ExistingDBEntity
,com.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
,com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem
,PropertyChangeListener
,EventListener
- Direct Known Subclasses:
DBExistingEntityJChemBaseNTO
,DBExistingEntityJChemCartJChemBaseNTO
,DBExistingEntityJChemCartStandardNTO
public abstract class DBExistingEntityAbstractJChemNTO extends com.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO implements com.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
- Author:
- Tim Dudgeon
-
-
Field Summary
-
Fields inherited from class com.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO
availableTables, knownTables, PROP_VALUE_GENERATOR_OPTIONS
-
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.ExistingDBEntity
PROP_ID_FIELD_COLUMN
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DBExistingEntityAbstractJChemNTO(com.chemaxon.dif.db.api.entity.DBEntitiesContainer container, String defaultName, String type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description com.im.commons.db.util.SchemaQualifiedName
getJChemPropertyTable()
protected DBSchemaJChemImpl
getJChemSchema()
int
getJChemTableType()
protected abstract com.im.commons.db.ddl.tablesets.AbstractJChemTableSetInfo
getJChemTSI()
abstract String
getStructureColumnName()
boolean
isAbsoluteStereo()
protected boolean
isAcceptableID(String entity, com.im.commons.db.ddl.DBColInfo column)
boolean
isDuplicateFiltering()
Getter for property duplicateFiltering.boolean
isEmptyStructuresAllowed()
Getter for property emptyStructuresAllowed.boolean
isTautomerDuplicateChecking()
void
setDuplicateFiltering(boolean duplicateFiltering)
Setter for property duplicateFiltering.void
setEmptyStructuresAllowed(boolean emptyStructuresAllowed)
Setter for property emptyStructuresAllowed.void
setTableName(com.im.commons.db.util.SchemaQualifiedName tableName)
protected abstract void
tableNameUpdated(com.im.commons.db.util.SchemaQualifiedName tableName)
protected void
updateStatus()
-
Methods inherited from class com.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO
acceptsTable, createColumnNameValidator, getAvailableIdColumns, getAvailableTables, getIdFieldColumn, getIdFieldColumnInfo, getIdFieldType, getTableName, getValueGeneratorFactories, getValueGeneratorOptions, init, loadTableNames, propertyChange, setIdFieldColumn, 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, notifyNewDFItemNameChanged, 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
-
Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.EntityDBOptions
getTableName
-
-
-
-
Method Detail
-
tableNameUpdated
protected abstract void tableNameUpdated(com.im.commons.db.util.SchemaQualifiedName tableName)
-
getJChemTSI
protected abstract com.im.commons.db.ddl.tablesets.AbstractJChemTableSetInfo getJChemTSI()
-
getStructureColumnName
public abstract String getStructureColumnName()
-
isDuplicateFiltering
public final boolean isDuplicateFiltering()
Getter for property duplicateFiltering.- Specified by:
isDuplicateFiltering
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
- Returns:
- Value of property duplicateFiltering.
-
isTautomerDuplicateChecking
public final boolean isTautomerDuplicateChecking()
- Specified by:
isTautomerDuplicateChecking
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
-
isAbsoluteStereo
public final boolean isAbsoluteStereo()
-
setDuplicateFiltering
public final void setDuplicateFiltering(boolean duplicateFiltering)
Setter for property duplicateFiltering.- Specified by:
setDuplicateFiltering
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
- Parameters:
duplicateFiltering
- New value of property duplicateFiltering.
-
isEmptyStructuresAllowed
public final boolean isEmptyStructuresAllowed()
Getter for property emptyStructuresAllowed.- Specified by:
isEmptyStructuresAllowed
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
- Returns:
- Value of property emptyStructuresAllowed.
-
setEmptyStructuresAllowed
public final void setEmptyStructuresAllowed(boolean emptyStructuresAllowed)
Setter for property emptyStructuresAllowed.- Specified by:
setEmptyStructuresAllowed
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
- Parameters:
emptyStructuresAllowed
- New value of property emptyStructuresAllowed.
-
setTableName
public final void setTableName(com.im.commons.db.util.SchemaQualifiedName tableName)
- Specified by:
setTableName
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.EntityDBOptions
- Overrides:
setTableName
in classcom.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO
-
getJChemPropertyTable
public final com.im.commons.db.util.SchemaQualifiedName getJChemPropertyTable()
- Specified by:
getJChemPropertyTable
in interfacecom.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
-
getJChemTableType
public final int getJChemTableType()
-
updateStatus
protected final void updateStatus()
- Overrides:
updateStatus
in classcom.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO
-
getJChemSchema
protected final DBSchemaJChemImpl getJChemSchema()
-
isAcceptableID
protected final boolean isAcceptableID(String entity, com.im.commons.db.ddl.DBColInfo column)
- Overrides:
isAcceptableID
in classcom.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO
-
-