Class DBNewCTFieldNTO

  • All Implemented Interfaces:
    com.im.df.api.support.DFNewTypeOptions, com.im.df.api.support.DFNewTypeWellKnownOptions.FieldOptions, com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField, com.im.df.api.support.DFNewTypeWellKnownOptions.NewDBField, com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

    public final class DBNewCTFieldNTO
    extends com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO
    implements com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
    Author:
    Petr Hamernik
    • Nested Class Summary

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

        com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO.DBColumnInfoImpl
    • Field Summary

      • Fields inherited from class com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO

        PROP_DEFAULT_VALUE, PROP_REQUIRED
      • Fields inherited from class com.chemaxon.dif.db.api.field.newtype.DBAbstractFieldNTO

        entity
      • 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.NewCTField

        PROP_FORMULA, PROP_GENERIC_TYPE
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.im.df.api.ddl.DFField.Required[] getDefaultAvailableRequired()  
      com.im.df.api.ddl.DFField.Required getDefaultRequired()  
      String getFormula()  
      com.im.commons.db.ddl.GenericColumnType getGenericType()  
      int getJchemTableType()  
      List<com.im.commons.db.ddl.GenericColumnType> getSupportedGenericTypes()  
      CTFieldType getType()  
      void setFormula​(String newFormula)  
      void setFormulaSync​(String newFormula)  
      void setGenericType​(com.im.commons.db.ddl.GenericColumnType type)  
      void setGenericTypeSync​(com.im.commons.db.ddl.GenericColumnType type)  
      protected void updateStatus()  
      protected void updateStatusSync()
      Performs validation and waits for the result.
      • Methods inherited from class com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO

        getColumns, getDefaultValue, getRequired, getXAttributes, isDisctinctValues, notifyNewDFItemNameChanged, setColumnBaseName, setDefaultValue, setDisctinctValues, setNativeTypes, setRequired, updateStatus
      • Methods inherited from class com.chemaxon.dif.db.api.field.newtype.DBAbstractFieldNTO

        createInsertOptions, getConvertor, getEntity, getNTType, init
      • 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 interface com.im.df.api.support.DFNewTypeOptions

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

        createInsertOptions, getConvertor
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewDBField

        getColumns, getDefaultValue, getRequired, isDisctinctValues, setColumnBaseName, setDefaultValue, setDisctinctValues, setRequired
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

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

      • getJchemTableType

        public int getJchemTableType()
      • updateStatus

        protected void updateStatus()
        Overrides:
        updateStatus in class com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO
      • updateStatusSync

        protected void updateStatusSync()
        Performs validation and waits for the result. If the thread is interupted in the meantime, this method gives up waiting and interrupts current thread again.
      • getFormula

        public String getFormula()
        Specified by:
        getFormula in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
      • setFormula

        public void setFormula​(String newFormula)
        Specified by:
        setFormula in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
      • setFormulaSync

        public void setFormulaSync​(String newFormula)
        Specified by:
        setFormulaSync in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
      • getSupportedGenericTypes

        public List<com.im.commons.db.ddl.GenericColumnType> getSupportedGenericTypes()
        Specified by:
        getSupportedGenericTypes in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
      • setGenericType

        public void setGenericType​(com.im.commons.db.ddl.GenericColumnType type)
        Specified by:
        setGenericType in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
      • setGenericTypeSync

        public void setGenericTypeSync​(com.im.commons.db.ddl.GenericColumnType type)
        Specified by:
        setGenericTypeSync in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
      • getGenericType

        public com.im.commons.db.ddl.GenericColumnType getGenericType()
        Specified by:
        getGenericType in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewCTField
      • getDefaultAvailableRequired

        public com.im.df.api.ddl.DFField.Required[] getDefaultAvailableRequired()
        Overrides:
        getDefaultAvailableRequired in class com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO
      • getDefaultRequired

        public com.im.df.api.ddl.DFField.Required getDefaultRequired()
        Overrides:
        getDefaultRequired in class com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO