Package com.im.df.impl.db.field
Class DBFieldJChemStructureImpl
- java.lang.Object
-
- com.chemaxon.dif.db.api.field.ColumnlessFieldDataTypeAbstractImpl
-
- com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
-
- com.im.df.impl.db.field.DBFieldJChemStructureImpl
-
- All Implemented Interfaces:
com.im.df.api.capabilities.DFFieldDataTypeCapability
,com.im.df.api.capabilities.DFFieldStructureCapability
,com.im.df.api.ddl.DFCapability
public final class DBFieldJChemStructureImpl extends com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl implements com.im.df.api.capabilities.DFFieldStructureCapability
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DBFieldJChemStructureImpl
create(com.im.df.api.ddl.DFEntity entity, String[] columnNames)
RowMapperFactory method for creating JChem fields.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)
Class[]
getColumnClasses()
String
getDataTypeName()
Class
getFieldClass()
com.im.df.api.ddl.DFField.Required
getRequired()
boolean
isSortable()
-
Methods inherited from class com.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
addCapability, determineDefaultValue, getCapabilities, getColumnNames, getColumns, getSortColumnNames, getSortColumnsAscDesc, getValueHandler, initPropsFromDB, removeCapability, setDefaultValue, setSortColumns
-
-
-
-
Method Detail
-
create
public static DBFieldJChemStructureImpl create(com.im.df.api.ddl.DFEntity entity, String[] columnNames)
RowMapperFactory method for creating JChem fields.- Parameters:
entity
- The entity which the field belongs tocolumnNames
- The names of the columns used by the field. Usually only one, but Markush tables user to use the cd_markush column as a second column, but this is no longer the case. Old field definitions including this second column will have it removed.- Returns:
- The new field
-
getFieldClass
public Class getFieldClass()
- Specified by:
getFieldClass
in classcom.chemaxon.dif.db.api.field.ColumnlessFieldDataTypeAbstractImpl
-
getRequired
public com.im.df.api.ddl.DFField.Required getRequired()
- Overrides:
getRequired
in classcom.chemaxon.dif.db.api.field.ColumnlessFieldDataTypeAbstractImpl
-
isSortable
public boolean isSortable()
- Overrides:
isSortable
in classcom.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
-
getColumnClasses
public Class[] getColumnClasses()
- Overrides:
getColumnClasses
in classcom.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
-
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 classcom.chemaxon.dif.db.api.field.DBFieldDataTypeAbstractImpl
-
getDataTypeName
public String getDataTypeName()
- Specified by:
getDataTypeName
in interfacecom.im.df.api.capabilities.DFFieldDataTypeCapability
-
-