com.im.commons.db 5.9.2

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

java.lang.Object
  extended by com.im.commons.db.ddl.tablesets.TableSetInfo
      extended by com.im.commons.db.ddl.tablesets.AbstractJChemTableSetInfo
          extended by com.im.commons.db.ddl.tablesets.JChemCartridgeAbstractTableSetInfo
              extended by com.im.commons.db.ddl.tablesets.JChemCartridgeJChemBaseTableSetInfo
All Implemented Interfaces:
AbstractInfo, Serializable

public class JChemCartridgeJChemBaseTableSetInfo
extends JChemCartridgeAbstractTableSetInfo

See Also:
Serialized Form

Field Summary
static String TABLE_TYPE
           
 
Fields inherited from class com.im.commons.db.ddl.tablesets.JChemCartridgeAbstractTableSetInfo
indexName
 
Fields inherited from class com.im.commons.db.ddl.tablesets.AbstractJChemTableSetInfo
absoluteStereo, numberOfEdges, numberOfInts, numberOfOnes, propertyTable, standardizerConfig, structureColumnName, tableType, tableVersion, tautomerDuplicateChecking
 
Fields inherited from class com.im.commons.db.ddl.tablesets.TableSetInfo
tableInfos
 
Constructor Summary
protected JChemCartridgeJChemBaseTableSetInfo()
           
 
Method Summary
 TableSetInfo clone()
           
 int getJChemTableIndex()
           
 SQLJoin[] getJoins()
          The joins for each of the tables used by this set of tables.
 String getPropertyNamePrefixForJChemBaseTableInPropertyTable()
          Get the prefix that identifies this JChem table's properties in the JChem property table.
 String getType()
          A string that identifies the table type.
 
Methods inherited from class com.im.commons.db.ddl.tablesets.JChemCartridgeAbstractTableSetInfo
buildToString, getIndexName
 
Methods inherited from class com.im.commons.db.ddl.tablesets.AbstractJChemTableSetInfo
getChemicalTermsDefinitionForColumn, getChemicalTermsDefinitions, getJChemTableInfo, getJChemTableInfoFull, getNumberOfEdges, getNumberOfInts, getNumberOfOnes, getPropertyTable, getStandardizerConfig, getStructureColumnName, getTableType, getTableVersion, isAbsoluteStereo, isTautomerDuplicateChecking, setAbsoluteStereo, setTautomerDuplicateChecking, toString
 
Methods inherited from class com.im.commons.db.ddl.tablesets.TableSetInfo
addToModel, getTableInfos, getTableNames, removeFromModel, schemaPlusTable, updateLazyTableInfos, updateTableInfos, updateTableInfosRemoveProxies
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TABLE_TYPE

public static final String TABLE_TYPE
See Also:
Constant Field Values
Constructor Detail

JChemCartridgeJChemBaseTableSetInfo

protected JChemCartridgeJChemBaseTableSetInfo()
Method Detail

getType

public String getType()
Description copied from class: TableSetInfo
A string that identifies the table type. The value will be one of the TABLE_TYPE_* constants

Specified by:
getType in class TableSetInfo
Returns:
The table type

getJoins

public SQLJoin[] getJoins()
Description copied from class: TableSetInfo
The joins for each of the tables used by this set of tables. The joins information must be supplied in the same order as the tables in TableSetInfo.getTableNames() e.g. the second element in the list of joins corresponds to the join between the master table and the second element in the getTableNames() list. Join information allows data (e.g. a field) to be present in a separate table and provides the information necessary to retreive that information By definition the join for the first element must be a SQLJoin with has a zero length path (e.g. new SQLJoin(new SQLJoin.Path[0]) ), but joins for the other tables can optionally be defined. A join will be defined where the row(s) in the secondary table can be related to those in the master table by means of a join. Not all tables will have such a join, and in these cases the list should contain null for that element in the list.

Specified by:
getJoins in class TableSetInfo
Returns:
SQLJoin array

getJChemTableIndex

public int getJChemTableIndex()
Specified by:
getJChemTableIndex in class AbstractJChemTableSetInfo
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.

getPropertyNamePrefixForJChemBaseTableInPropertyTable

public String getPropertyNamePrefixForJChemBaseTableInPropertyTable()
Description copied from class: AbstractJChemTableSetInfo
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 "."

Specified by:
getPropertyNamePrefixForJChemBaseTableInPropertyTable in class AbstractJChemTableSetInfo
Returns:
The prefix

clone

public TableSetInfo clone()
Specified by:
clone in class TableSetInfo

com.im.commons.db 5.9.2