org.openscience.nmrshiftdb.om
Class DBBondPeer

java.lang.Object
  extended by org.apache.torque.util.BasePeer
      extended by org.openscience.nmrshiftdb.om.BaseDBBondPeer
          extended by org.openscience.nmrshiftdb.om.DBBondPeer
All Implemented Interfaces:
java.io.Serializable

public class DBBondPeer
extends BaseDBBondPeer

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openscience.nmrshiftdb.om.BaseDBBondPeer
BOND_ID, CLASS_DEFAULT, CLASSNAME_DEFAULT, DATABASE_NAME, DEGREE, IS_AROMATIC, IS_CONFIGURATION_SPECIFIED, numColumns, STEREO, TABLE_NAME
 
Fields inherited from class org.apache.torque.util.BasePeer
DEFAULT_MAP_BUILDER, IGNORE_CASE, log, ORDER_BY
 
Constructor Summary
DBBondPeer()
           
 
Method Summary
static java.util.List getBonds(int molid)
          Gets the bonds of a certain molecule orderd by bondid.
 
Methods inherited from class org.openscience.nmrshiftdb.om.BaseDBBondPeer
addSelectColumns, buildCriteria, buildCriteria, doDelete, doDelete, doDelete, doDelete, doDelete, doDelete, doInsert, doInsert, doInsert, doInsert, doSelect, doSelect, doSelect, doSelectVillageRecords, doSelectVillageRecords, doUpdate, doUpdate, doUpdate, doUpdate, getMapBuilder, getOMClass, getTableMap, populateObject, populateObjects, resultSet2Objects, retrieveByPK, retrieveByPK, retrieveByPK, retrieveByPKs, retrieveByPKs, row2Object
 
Methods inherited from class org.apache.torque.util.BasePeer
createPreparedStatement, createQueryString, deleteAll, deleteAll, doPSSelect, doPSSelect, doUpdate, doUpdate, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeQuery, executeStatement, executeStatement, executeStatement, getMapBuilder, getSelectResults, getSelectResults, getSelectResults, getSelectResults, handleMultipleRecords, hashtableToByteArray, initColumnNames, initCriteriaKeys, initTableColumns, initTableSchema, initTableSchema
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBBondPeer

public DBBondPeer()
Method Detail

getBonds

public static java.util.List getBonds(int molid)
                               throws org.apache.torque.TorqueException
Gets the bonds of a certain molecule orderd by bondid.

Parameters:
molid - The id of the molecule.
Returns:
The bonds.
Throws:
org.apache.torque.TorqueException - Database problems.