com.im.commons.db 5.9.2

com.im.commons.db.ddl.tablesets
Class AbstractJChemTableSetInfo

java.lang.Object
  extended by com.im.commons.db.ddl.tablesets.TableSetInfo
      extended by com.im.commons.db.ddl.tablesets.AbstractJChemTableSetInfo
All Implemented Interfaces:
AbstractInfo, 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)

See Also:
Serialized Form

Field Summary
protected  boolean absoluteStereo
           
protected  int numberOfEdges
           
protected  int numberOfInts
           
protected  int numberOfOnes
           
protected  SchemaQualifiedName propertyTable
           
protected  String standardizerConfig
           
protected  String structureColumnName
           
protected  int tableType
           
protected  int tableVersion
           
protected  boolean tautomerDuplicateChecking
           
 
Fields inherited from class com.im.commons.db.ddl.tablesets.TableSetInfo
tableInfos
 
Constructor Summary
protected AbstractJChemTableSetInfo()
           
 
Method Summary
protected  void buildToString(StringBuilder builder)
           
 String getChemicalTermsDefinitionForColumn(String columnName)
           
 Map<String,String> getChemicalTermsDefinitions()
          A Map of the chemical terms columns definitions.
abstract  int getJChemTableIndex()
           
 DBTableInfo getJChemTableInfo()
          Get the tableInfo for the JChemBase table.
 DBTableInfo getJChemTableInfoFull()
           
 int getNumberOfEdges()
           
 int getNumberOfInts()
           
 int getNumberOfOnes()
           
abstract  String getPropertyNamePrefixForJChemBaseTableInPropertyTable()
          Get the prefix that identifies this JChem table's properties in the JChem property table.
 SchemaQualifiedName getPropertyTable()
           
 String getStandardizerConfig()
           
 String getStructureColumnName()
          The name of the structure column which is used by this index
 int getTableType()
          The contents of the table as defined by one of the (@link chemaxon.jchem.db.TableTypeConstants) TABLE_TYPE_* constants
 int getTableVersion()
           
 boolean isAbsoluteStereo()
           
 boolean isTautomerDuplicateChecking()
           
 void setAbsoluteStereo(boolean absoluteStereo)
           
 void setTautomerDuplicateChecking(boolean tautomerDuplicateChecking)
           
 String toString()
           
 
Methods inherited from class com.im.commons.db.ddl.tablesets.TableSetInfo
addToModel, clone, getJoins, getTableInfos, getTableNames, getType, removeFromModel, schemaPlusTable, updateLazyTableInfos, updateTableInfos, updateTableInfosRemoveProxies
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

structureColumnName

protected String structureColumnName

propertyTable

protected SchemaQualifiedName propertyTable

numberOfOnes

protected int numberOfOnes

numberOfInts

protected int numberOfInts

numberOfEdges

protected int numberOfEdges

tableType

protected int tableType

tableVersion

protected int tableVersion

absoluteStereo

protected boolean absoluteStereo

tautomerDuplicateChecking

protected boolean tautomerDuplicateChecking

standardizerConfig

protected String standardizerConfig
Constructor Detail

AbstractJChemTableSetInfo

protected AbstractJChemTableSetInfo()
Method Detail

getPropertyTable

public SchemaQualifiedName getPropertyTable()

getStructureColumnName

public String getStructureColumnName()
The name of the structure column which is used by this index

Returns:
The name of the structure column

getNumberOfOnes

public int getNumberOfOnes()

getNumberOfInts

public int getNumberOfInts()

getNumberOfEdges

public int getNumberOfEdges()

getStandardizerConfig

public String getStandardizerConfig()

isAbsoluteStereo

public boolean isAbsoluteStereo()

setAbsoluteStereo

public void setAbsoluteStereo(boolean absoluteStereo)

isTautomerDuplicateChecking

public boolean isTautomerDuplicateChecking()

setTautomerDuplicateChecking

public void setTautomerDuplicateChecking(boolean tautomerDuplicateChecking)

getTableVersion

public int getTableVersion()

getTableType

public int getTableType()
The contents of the table as defined by one of the (@link chemaxon.jchem.db.TableTypeConstants) TABLE_TYPE_* constants

Returns:
The table type

getChemicalTermsDefinitions

public Map<String,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 String getChemicalTermsDefinitionForColumn(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 iundex using a standard table this swill be 1.

getJChemTableInfo

public DBTableInfo getJChemTableInfo()
Get the tableInfo for the JChemBase table.

Returns:
JChemBase table DBTableInfo

getJChemTableInfoFull

public DBTableInfo getJChemTableInfoFull()

toString

public String toString()
Overrides:
toString in class Object

getPropertyNamePrefixForJChemBaseTableInPropertyTable

public abstract 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(StringBuilder builder)

com.im.commons.db 5.9.2