Package com.im.commons.db.ddl.tablesets
Class AbstractJChemTableSetInfo
- java.lang.Object
-
- com.im.commons.db.ddl.tablesets.TableSetInfo
-
- com.im.commons.db.ddl.tablesets.AbstractJChemTableSetInfo
-
- All Implemented Interfaces:
AbstractInfo,java.io.Serializable
- Direct Known Subclasses:
JChemBaseTableSetInfo,JChemCartridgeAbstractTableSetInfo
public abstract class AbstractJChemTableSetInfo extends TableSetInfo
Abstract base class of a TableSetInfo for a JChem table (cartridge of JChemBase).- Author:
- Martin Adamek
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanabsoluteStereoprotected intnumberOfEdgesprotected intnumberOfIntsprotected intnumberOfOnesprotected SchemaQualifiedNamepropertyTableprotected java.lang.StringstandardizerConfigprotected java.lang.StringstructureColumnNameprotected inttableTypeprotected java.lang.StringtableVersionprotected booleantautomerDuplicateChecking-
Fields inherited from class com.im.commons.db.ddl.tablesets.TableSetInfo
tableInfos
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractJChemTableSetInfo()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected voidbuildToString(java.lang.StringBuilder builder)java.lang.StringgetChemicalTermsDefinitionForColumn(java.lang.String columnName)java.util.Map<java.lang.String,java.lang.String>getChemicalTermsDefinitions()A Map of the chemical terms columns definitions.abstract intgetJChemTableIndex()DBTableInfogetJChemTableInfo()Get the tableInfo for the JChemBase table.DBTableInfogetJChemTableInfoFull()intgetNumberOfEdges()intgetNumberOfInts()intgetNumberOfOnes()abstract java.lang.StringgetPropertyNamePrefixForJChemBaseTableInPropertyTable()Get the prefix that identifies this JChem table's properties in the JChem property table.SchemaQualifiedNamegetPropertyTable()java.lang.StringgetStandardizerConfig()java.lang.StringgetStructureColumnName()The name of the structure column which is used by this index.intgetTableType()The contents of the table as defined by one of theTABLE_TYPE_*constants.java.lang.StringgetTableVersion()booleanisAbsoluteStereo()booleanisTautomerDuplicateChecking()voidsetAbsoluteStereo(boolean absoluteStereo)voidsetTautomerDuplicateChecking(boolean tautomerDuplicateChecking)-
Methods inherited from class com.im.commons.db.ddl.tablesets.TableSetInfo
addToModel, clone, getJoins, getTableInfos, getTableNames, getType, removeFromModel, schemaPlusTable, toString, updateLazyTableInfos, updateTableInfos, updateTableInfosRemoveProxies
-
-
-
-
Field Detail
-
structureColumnName
protected java.lang.String structureColumnName
-
propertyTable
protected SchemaQualifiedName propertyTable
-
numberOfOnes
protected int numberOfOnes
-
numberOfInts
protected int numberOfInts
-
numberOfEdges
protected int numberOfEdges
-
tableType
protected int tableType
-
tableVersion
protected java.lang.String tableVersion
-
absoluteStereo
protected boolean absoluteStereo
-
tautomerDuplicateChecking
protected boolean tautomerDuplicateChecking
-
standardizerConfig
protected java.lang.String standardizerConfig
-
-
Method Detail
-
getPropertyTable
public final SchemaQualifiedName getPropertyTable()
-
getStructureColumnName
public final java.lang.String getStructureColumnName()
The name of the structure column which is used by this index.- Returns:
- The name of the structure column
-
getNumberOfOnes
public final int getNumberOfOnes()
-
getNumberOfInts
public final int getNumberOfInts()
-
getNumberOfEdges
public final int getNumberOfEdges()
-
getStandardizerConfig
public final java.lang.String getStandardizerConfig()
-
isAbsoluteStereo
public final boolean isAbsoluteStereo()
-
setAbsoluteStereo
public final void setAbsoluteStereo(boolean absoluteStereo)
-
isTautomerDuplicateChecking
public final boolean isTautomerDuplicateChecking()
-
setTautomerDuplicateChecking
public final void setTautomerDuplicateChecking(boolean tautomerDuplicateChecking)
-
getTableVersion
public final java.lang.String getTableVersion()
-
getTableType
public final int getTableType()
The contents of the table as defined by one of theTABLE_TYPE_*constants.- Returns:
- The table type
-
getChemicalTermsDefinitions
public final java.util.Map<java.lang.String,java.lang.String> getChemicalTermsDefinitions()
A Map of the chemical terms columns definitions. The keys are the column names and the values are the chemical terms expressions. e.g. Key: LOGP (column name). Value: logP() (chem terms function)- Returns:
- The map of the chemical terms columns definitions
-
getChemicalTermsDefinitionForColumn
public final java.lang.String getChemicalTermsDefinitionForColumn(java.lang.String columnName)
-
getJChemTableIndex
public abstract int getJChemTableIndex()
- Returns:
- The table index of the actual JChemBase table. Usually 0, but in the case of a cart index using a standard table this will be 1.
-
getJChemTableInfo
public final DBTableInfo getJChemTableInfo()
Get the tableInfo for the JChemBase table.- Returns:
- JChemBase table DBTableInfo
-
getJChemTableInfoFull
public final DBTableInfo getJChemTableInfoFull()
-
getPropertyNamePrefixForJChemBaseTableInPropertyTable
public abstract java.lang.String getPropertyNamePrefixForJChemBaseTableInPropertyTable()
Get the prefix that identifies this JChem table's properties in the JChem property table. e.g. "table.APP.PUBCHEM_DEMO." The string includes the trailing "."- Returns:
- The prefix
-
buildToString
protected void buildToString(java.lang.StringBuilder builder)
- Overrides:
buildToStringin classTableSetInfo
-
-