Class DBNewStdFieldNTO

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

    public class DBNewStdFieldNTO
    extends com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO
    • 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.SingleDFItem

        PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      DBNewStdFieldNTO​(com.chemaxon.dif.db.api.field.DBFieldsContainer fieldsContainer, String defaultName, String ntType)  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DBNewStdFieldNTO create​(com.chemaxon.dif.db.api.field.DBFieldsContainer fieldsContainer, String defaultName, String ntType, com.im.commons.db.ddl.DBDatabaseInfo.NativeType[] nativeTypes)
      Factory method for a single column field.
      • Methods inherited from class com.chemaxon.dif.db.api.field.newtype.DBNewFieldNTO

        getColumns, getDefaultAvailableRequired, getDefaultRequired, getDefaultValue, getRequired, getXAttributes, isDisctinctValues, notifyNewDFItemNameChanged, setColumnBaseName, setDefaultValue, setDisctinctValues, setNativeTypes, setRequired, updateStatus, 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.SingleDFItem

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

      • DBNewStdFieldNTO

        public DBNewStdFieldNTO​(com.chemaxon.dif.db.api.field.DBFieldsContainer fieldsContainer,
                                String defaultName,
                                String ntType)
    • Method Detail

      • create

        public static DBNewStdFieldNTO create​(com.chemaxon.dif.db.api.field.DBFieldsContainer fieldsContainer,
                                              String defaultName,
                                              String ntType,
                                              com.im.commons.db.ddl.DBDatabaseInfo.NativeType[] nativeTypes)
        Factory method for a single column field.
        Parameters:
        fieldsContainer -
        defaultName -
        ntType - The field newType
        nativeTypes - Array of possible native column types. e.g. VARCHAR, CHAR...
        Returns: