Class 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
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity

        PROP_DUPLICATE_FILTERING, PROP_EMPTY_STRUCTURES_ALLOWED, PROP_JCHEM_PROPERTY_TABLE, PROP_TAUTOMER_DUPLICATE_CHECKING
      • 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 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 interface com.im.df.api.support.DFNewTypeOptions

        addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.EntityDBOptions

        getTableName
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.ExistingDBEntity

        acceptsTable, getAvailableIdColumns, getIdFieldColumn, getIdFieldColumnInfo, setIdFieldColumn
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        getDescription, getNewDFItemName, setDescription, setNewDFItemName, setNewDFItemNameSafe
    • Constructor Detail

      • DBExistingEntityAbstractJChemNTO

        protected DBExistingEntityAbstractJChemNTO​(com.chemaxon.dif.db.api.entity.DBEntitiesContainer container,
                                                   String defaultName,
                                                   String type)
    • 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 interface com.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
        Returns:
        Value of property duplicateFiltering.
      • isTautomerDuplicateChecking

        public final boolean isTautomerDuplicateChecking()
        Specified by:
        isTautomerDuplicateChecking in interface com.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 interface com.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 interface com.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 interface com.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 interface com.im.df.api.support.DFNewTypeWellKnownOptions.EntityDBOptions
        Overrides:
        setTableName in class com.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO
      • getJChemPropertyTable

        public final com.im.commons.db.util.SchemaQualifiedName getJChemPropertyTable()
        Specified by:
        getJChemPropertyTable in interface com.im.df.api.support.DFNewTypeWellKnownOptions.ExistingJChemEntity
      • getJChemTableType

        public final int getJChemTableType()
      • updateStatus

        protected final void updateStatus()
        Overrides:
        updateStatus in class com.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO
      • isAcceptableID

        protected final boolean isAcceptableID​(String entity,
                                               com.im.commons.db.ddl.DBColInfo column)
        Overrides:
        isAcceptableID in class com.chemaxon.dif.db.api.entity.newtype.DBExistingEntityNTO