Class DBFieldChemicalTerms

  • All Implemented Interfaces:
    com.im.df.api.capabilities.DBFieldCapability, com.im.df.api.capabilities.DFFieldChemicalTermsCapability, com.im.df.api.capabilities.InfoCapability, com.im.df.api.ddl.DFCapability, com.im.df.api.ddl.DFField, com.im.df.api.ddl.DFItem, com.im.df.api.support.PropertiesEditingConfigurable, com.im.df.api.support.PropertiesEditingConfigurable.Extra

    public class DBFieldChemicalTerms
    extends com.chemaxon.dif.db.api.field.DBFieldAbstractImpl
    implements com.im.df.api.capabilities.DFFieldChemicalTermsCapability
    Author:
    Tim Dudgeon
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.chemaxon.dif.db.api.field.FieldAbstract

        com.chemaxon.dif.db.api.field.FieldAbstract.FUpdater
      • Nested classes/interfaces inherited from class com.chemaxon.dif.db.api.item.DBItemAbstractImpl

        com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater
      • Nested classes/interfaces inherited from interface com.im.df.api.capabilities.DBFieldCapability

        com.im.df.api.capabilities.DBFieldCapability.DBColumn
      • Nested classes/interfaces inherited from interface com.im.df.api.ddl.DFField

        com.im.df.api.ddl.DFField.Required
      • Nested classes/interfaces inherited from interface com.im.df.api.ddl.DFItem

        com.im.df.api.ddl.DFItem.Handle<T extends com.im.df.api.ddl.DFItem>
      • Nested classes/interfaces inherited from interface com.im.df.api.support.PropertiesEditingConfigurable

        com.im.df.api.support.PropertiesEditingConfigurable.Extra
    • Field Summary

      • Fields inherited from class com.chemaxon.dif.db.api.item.DBItemAbstractImpl

        DEFAULT_CHARSET
      • Fields inherited from interface com.im.df.api.capabilities.DBFieldCapability

        PROP_COLUMNS
      • Fields inherited from interface com.im.df.api.ddl.DFField

        PROP_DEFAULT_VALUE, PROP_DISTINCT_VALUES, PROP_REQUIRED
      • Fields inherited from interface com.im.df.api.capabilities.DFFieldChemicalTermsCapability

        PROP_FORMULA
      • Fields inherited from interface com.im.df.api.ddl.DFItem

        PROP_CAPABILITIES, PROP_DESCRIPTION, PROP_ID, PROP_NAME, PROP_TYPE, PROP_VALID
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl createFieldType​(String type, com.im.df.api.ddl.DFEntity entity, String[] colNames, List<com.im.ijcs.api.ddl.dto.PropInfo> xAttrs)  
      static DBFieldChemicalTerms createInstance​(com.im.df.api.ddl.DFEntity parent, com.im.ijcs.api.ddl.dto.FieldInfo dto, com.im.commons.progress.DFEnvironmentRW rw)  
      static DBFieldChemicalTerms createInstance​(com.im.df.api.ddl.DFEntity parent, String id, String name, String description, String type, String[] colNames, int tableIndex)  
      static DBFieldChemicalTerms createInstance​(com.im.df.api.ddl.DFEntity parent, String id, String name, String description, String type, String[] colNames, int tableIndex, com.im.commons.progress.DFEnvironmentRW rw)  
      com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater createUpdater()  
      com.im.commons.db.ddl.DBColInfo findDBColInfo​(int colIndex)  
      String getFormula()
      Getter for property formula.
      void handleUpdateColInfo​(int colIndex, com.im.commons.db.ddl.DBColInfo old, com.im.commons.db.ddl.DBColInfo nue)  
      void removeField​(List<com.im.ijcs.api.OperationDefinition> ops, boolean deleteDatabaseArtifacts)  
      void setFormula​(String formula, com.im.commons.progress.DFEnvironmentRW env)  
      • Methods inherited from class com.chemaxon.dif.db.api.field.DBFieldAbstractImpl

        addCommaSeparatedPropsForToString, findDBColInfo, findDBTableInfo, getColumnClasses, getColumns, getConvertor, getDBSchemaName, getDefaultValue, getEntity, getEntityImpl, getFieldClass, getHandle, getJoin, getNameValidator, getRequired, getSchema, getSchemaPlusTable, getSortColumnNames, getSortColumnsAscDesc, getTable, getTableIndex, getTableInfo, getTooltip, getType, getValidRequiredValues, getValueHandler, getXmlBean, init, initDataEdit, initType, initTypeDB, isDistinctValues, isQueryable, isSortable, setDefaultValue, setDistinctValues, setRequired, setSortColumns
      • Methods inherited from class com.chemaxon.dif.db.api.field.FieldAbstract

        getXAttributes, putXAttribute
      • Methods inherited from class com.chemaxon.dif.db.api.item.DBItemAbstractImpl

        activateItem, addCapabilitiesFromCapabilityProviders, addCapability, addPropertyChangeListener, doGetHandle, ensureValid, equals, findOwner, firePropertyChange, firePropertyChange, getCapabilities, getDescription, getId, getName, getSchemaImpl, getXAttributesImpl, handleChanges, handleOwner, handleUpdateDescription, handleUpdateName, handleXAttrs, hashCode, initXAttributes, invalidate, invalidateSubitems, isActive, isCapabilityProviderAllowed, isDifferent, isPropertyEditable, isValid, removeCapability, removePropertyChangeListener, replaceCapability, setDescription, setName, setPropertyEditable, toString
      • Methods inherited from interface com.im.df.api.ddl.DFItem

        addPropertyChangeListener, getCapabilities, getDescription, getId, getName, isValid, removePropertyChangeListener, setDescription, setName
      • Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable

        isPropertyEditable
      • Methods inherited from interface com.im.df.api.support.PropertiesEditingConfigurable.Extra

        setPropertyEditable
    • Method Detail

      • createInstance

        public static DBFieldChemicalTerms createInstance​(com.im.df.api.ddl.DFEntity parent,
                                                          String id,
                                                          String name,
                                                          String description,
                                                          String type,
                                                          String[] colNames,
                                                          int tableIndex,
                                                          com.im.commons.progress.DFEnvironmentRW rw)
      • createInstance

        public static DBFieldChemicalTerms createInstance​(com.im.df.api.ddl.DFEntity parent,
                                                          com.im.ijcs.api.ddl.dto.FieldInfo dto,
                                                          com.im.commons.progress.DFEnvironmentRW rw)
      • createFieldType

        protected com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl createFieldType​(String type,
                                                                                            com.im.df.api.ddl.DFEntity entity,
                                                                                            String[] colNames,
                                                                                            List<com.im.ijcs.api.ddl.dto.PropInfo> xAttrs)
        Specified by:
        createFieldType in class com.chemaxon.dif.db.api.field.DBFieldAbstractImpl
      • getFormula

        public String getFormula()
        Getter for property formula.
        Specified by:
        getFormula in interface com.im.df.api.capabilities.DFFieldChemicalTermsCapability
        Returns:
        Value of property formula.
      • setFormula

        public void setFormula​(String formula,
                               com.im.commons.progress.DFEnvironmentRW env)
        Specified by:
        setFormula in interface com.im.df.api.capabilities.DFFieldChemicalTermsCapability
      • handleUpdateColInfo

        public void handleUpdateColInfo​(int colIndex,
                                        com.im.commons.db.ddl.DBColInfo old,
                                        com.im.commons.db.ddl.DBColInfo nue)
        Overrides:
        handleUpdateColInfo in class com.chemaxon.dif.db.api.field.DBFieldAbstractImpl
      • createUpdater

        public com.chemaxon.dif.db.api.item.DBItemAbstractImpl.AbstractUpdater createUpdater()
        Specified by:
        createUpdater in class com.chemaxon.dif.db.api.item.DBItemAbstractImpl
      • removeField

        public void removeField​(List<com.im.ijcs.api.OperationDefinition> ops,
                                boolean deleteDatabaseArtifacts)
        Overrides:
        removeField in class com.chemaxon.dif.db.api.field.DBFieldAbstractImpl
      • findDBColInfo

        public com.im.commons.db.ddl.DBColInfo findDBColInfo​(int colIndex)
        Overrides:
        findDBColInfo in class com.chemaxon.dif.db.api.field.DBFieldAbstractImpl