Package com.im.df.impl.db.field
Class DBFieldTextArrayImpl
- java.lang.Object
-
- com.chemaxon.dif.db.api.field.ColumnlessFieldDataTypeAbstractImpl
-
- com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
-
- com.im.df.impl.db.field.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
-
-
Constructor Summary
Constructors Constructor Description DBFieldTextArrayImpl(String colName)DBFieldTextArrayImpl(String[] colNames)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.im.commons.db.columnhandling.DBValueHandlercreateValueHandler(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.DefaultValuedetermineDefaultValue(String[] colDefaultValues)Class[]getColumnClasses()Overridden as values are stored in text column with one value per line.StringgetDataTypeName()ClassgetFieldClass()-
Methods inherited from class com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
addCapability, getCapabilities, getColumnNames, getColumns, getSortColumnNames, getSortColumnsAscDesc, getValueHandler, initPropsFromDB, isSortable, removeCapability, setDefaultValue, setSortColumns
-
-
-
-
Method Detail
-
getFieldClass
public Class getFieldClass()
- Specified by:
getFieldClassin classcom.chemaxon.dif.db.api.field.ColumnlessFieldDataTypeAbstractImpl
-
getColumnClasses
public Class[] getColumnClasses()
Overridden as values are stored in text column with one value per line.- Overrides:
getColumnClassesin classcom.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:
createValueHandlerin classcom.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
-
determineDefaultValue
protected com.im.df.api.support.DefaultValue determineDefaultValue(String[] colDefaultValues)
- Overrides:
determineDefaultValuein classcom.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
-
getDataTypeName
public String getDataTypeName()
- Specified by:
getDataTypeNamein interfacecom.im.df.api.capabilities.DFFieldDataTypeCapability
-
-