Class DBFieldTextArrayImpl

  • All Implemented Interfaces:
    com.im.df.api.capabilities.DFFieldDataTypeCapability, com.im.df.api.capabilities.DFFieldTextArrayCapability, com.im.df.api.ddl.DFCapability

    public class DBFieldTextArrayImpl
    extends com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
    implements com.im.df.api.capabilities.DFFieldTextArrayCapability
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected com.im.commons.db.columnhandling.DBValueHandler createValueHandler​(String[] columnNames, int[] jdbcTypes, com.im.commons.db.ddl.DBDatabaseInfo.ColumnSQLType[] sqlTypes, Class assembledValueClass, Class[] disassembledValueClasses, com.im.commons.db.ddl.DBDatabaseInfo dbInfo)  
      protected com.im.df.api.support.DefaultValue determineDefaultValue​(String[] colDefaultValues)  
      Class[] getColumnClasses()
      Overridden as values are stored in text column with one value per line.
      String getDataTypeName()  
      Class getFieldClass()  
      • Methods inherited from class com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl

        addCapability, getCapabilities, getColumnNames, getColumns, getSortColumnNames, getSortColumnsAscDesc, getValueHandler, initPropsFromDB, isSortable, removeCapability, setDefaultValue, setSortColumns
      • Methods inherited from class com.chemaxon.dif.db.api.field.ColumnlessFieldDataTypeAbstractImpl

        attach, convert, getConvertor, getDefaultValue, getField, getGenerator, getRequired, getValidRequiredValues, init, setConvertor, setGenerator, setRequired
    • Constructor Detail

      • DBFieldTextArrayImpl

        public DBFieldTextArrayImpl​(String colName)
      • DBFieldTextArrayImpl

        public DBFieldTextArrayImpl​(String[] colNames)
    • Method Detail

      • getFieldClass

        public Class getFieldClass()
        Specified by:
        getFieldClass in class com.chemaxon.dif.db.api.field.ColumnlessFieldDataTypeAbstractImpl
      • getColumnClasses

        public Class[] getColumnClasses()
        Overridden as values are stored in text column with one value per line.
        Overrides:
        getColumnClasses in class com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
        Returns:
        Array of length 1 whose value is String.class
      • createValueHandler

        protected com.im.commons.db.columnhandling.DBValueHandler createValueHandler​(String[] columnNames,
                                                                                     int[] jdbcTypes,
                                                                                     com.im.commons.db.ddl.DBDatabaseInfo.ColumnSQLType[] sqlTypes,
                                                                                     Class assembledValueClass,
                                                                                     Class[] disassembledValueClasses,
                                                                                     com.im.commons.db.ddl.DBDatabaseInfo dbInfo)
        Specified by:
        createValueHandler in class com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
      • determineDefaultValue

        protected com.im.df.api.support.DefaultValue determineDefaultValue​(String[] colDefaultValues)
        Overrides:
        determineDefaultValue in class com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
      • getDataTypeName

        public String getDataTypeName()
        Specified by:
        getDataTypeName in interface com.im.df.api.capabilities.DFFieldDataTypeCapability