nmrshiftdb-devel Mailing List for NMRShiftDB (Page 236)
Brought to you by:
steinbeck
You can subscribe to this list here.
| 2002 |
Jan
|
Feb
(170) |
Mar
(120) |
Apr
(191) |
May
(231) |
Jun
(147) |
Jul
(202) |
Aug
(132) |
Sep
(91) |
Oct
(43) |
Nov
(87) |
Dec
(75) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(111) |
Feb
(194) |
Mar
(102) |
Apr
(107) |
May
(88) |
Jun
(121) |
Jul
(166) |
Aug
(75) |
Sep
(89) |
Oct
(116) |
Nov
(117) |
Dec
(52) |
| 2004 |
Jan
(138) |
Feb
(150) |
Mar
(144) |
Apr
(144) |
May
(54) |
Jun
(116) |
Jul
(73) |
Aug
(29) |
Sep
(135) |
Oct
(96) |
Nov
(72) |
Dec
(28) |
| 2005 |
Jan
(32) |
Feb
(9) |
Mar
(69) |
Apr
(108) |
May
(130) |
Jun
(195) |
Jul
(104) |
Aug
(116) |
Sep
(106) |
Oct
(58) |
Nov
(74) |
Dec
(64) |
| 2006 |
Jan
(110) |
Feb
(63) |
Mar
(45) |
Apr
(11) |
May
(122) |
Jun
(106) |
Jul
(26) |
Aug
(48) |
Sep
(67) |
Oct
(105) |
Nov
(81) |
Dec
(6) |
| 2007 |
Jan
|
Feb
|
Mar
|
Apr
(9) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(11) |
| 2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/map
In directory usw-pr-cvs1:/tmp/cvs-serv25746
Added Files:
AtomsMapBuilder.java BondsAtomsMapBuilder.java
BondsMapBuilder.java CanonicalNameMapBuilder.java
ChemicalNameMapBuilder.java
MeasurementConditionsMapBuilder.java MoleculeMapBuilder.java
MoleculeTurbineUserMapBuilder.java SignalAtomsMapBuilder.java
SignalMapBuilder.java SpectrumMapBuilder.java
SpectrumTypeMapBuilder.java TurbineUserMapBuilder.java
Log Message:
added torque map source files
--- NEW FILE: AtomsMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class AtomsMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.AtomsMapBuilder";
/**
* Item
* @deprecated use AtomsPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "ATOMS";
}
/**
* ATOMS.ATOMS_ID
* @deprecated use AtomsPeer.ATOMS.ATOMS_ID constant
*/
public static String getAtoms_AtomsId()
{
return "ATOMS.ATOMS_ID";
}
/**
* ATOMS.SYMBOL
* @deprecated use AtomsPeer.ATOMS.SYMBOL constant
*/
public static String getAtoms_Symbol()
{
return "ATOMS.SYMBOL";
}
/**
* ATOMS.MOLECULE_ID
* @deprecated use AtomsPeer.ATOMS.MOLECULE_ID constant
*/
public static String getAtoms_MoleculeId()
{
return "ATOMS.MOLECULE_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("ATOMS");
TableMap tMap = dbMap.getTable("ATOMS");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "ATOMS.ATOMS_ID", new Integer(0) );
tMap.addColumn ( "ATOMS.SYMBOL", new String() );
tMap.addForeignKey (
"ATOMS.MOLECULE_ID", new Integer(0) , "MOLECULE" ,
"MOLECULE_ID" );
}
}
--- NEW FILE: BondsAtomsMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class BondsAtomsMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.BondsAtomsMapBuilder";
/**
* Item
* @deprecated use BondsAtomsPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "BONDS_ATOMS";
}
/**
* BONDS_ATOMS.BONDS_ID
* @deprecated use BondsAtomsPeer.BONDS_ATOMS.BONDS_ID constant
*/
public static String getBondsAtoms_BondsId()
{
return "BONDS_ATOMS.BONDS_ID";
}
/**
* BONDS_ATOMS.ATOMS_ID
* @deprecated use BondsAtomsPeer.BONDS_ATOMS.ATOMS_ID constant
*/
public static String getBondsAtoms_AtomsId()
{
return "BONDS_ATOMS.ATOMS_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("BONDS_ATOMS");
TableMap tMap = dbMap.getTable("BONDS_ATOMS");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addForeignKey (
"BONDS_ATOMS.BONDS_ID", new Integer(0) , "BONDS" ,
"BONDS_ID" );
tMap.addForeignKey (
"BONDS_ATOMS.ATOMS_ID", new Integer(0) , "ATOMS" ,
"ATOMS_ID" );
}
}
--- NEW FILE: BondsMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class BondsMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.BondsMapBuilder";
/**
* Item
* @deprecated use BondsPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "BONDS";
}
/**
* BONDS.BONDS_ID
* @deprecated use BondsPeer.BONDS.BONDS_ID constant
*/
public static String getBonds_BondsId()
{
return "BONDS.BONDS_ID";
}
/**
* BONDS.DEGREE
* @deprecated use BondsPeer.BONDS.DEGREE constant
*/
public static String getBonds_Degree()
{
return "BONDS.DEGREE";
}
/**
* BONDS.MOLECULE_ID
* @deprecated use BondsPeer.BONDS.MOLECULE_ID constant
*/
public static String getBonds_MoleculeId()
{
return "BONDS.MOLECULE_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("BONDS");
TableMap tMap = dbMap.getTable("BONDS");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "BONDS.BONDS_ID", new Integer(0) );
tMap.addColumn ( "BONDS.DEGREE", new Integer(0) );
tMap.addForeignKey (
"BONDS.MOLECULE_ID", new Integer(0) , "MOLECULE" ,
"MOLECULE_ID" );
}
}
--- NEW FILE: CanonicalNameMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class CanonicalNameMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.CanonicalNameMapBuilder";
/**
* Item
* @deprecated use CanonicalNamePeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "CANONICAL_NAME";
}
/**
* CANONICAL_NAME.CANONICAL_NAME_ID
* @deprecated use CanonicalNamePeer.CANONICAL_NAME.CANONICAL_NAME_ID constant
*/
public static String getCanonicalName_CanonicalNameId()
{
return "CANONICAL_NAME.CANONICAL_NAME_ID";
}
/**
* CANONICAL_NAME.NAME
* @deprecated use CanonicalNamePeer.CANONICAL_NAME.NAME constant
*/
public static String getCanonicalName_Name()
{
return "CANONICAL_NAME.NAME";
}
/**
* CANONICAL_NAME.TYPE
* @deprecated use CanonicalNamePeer.CANONICAL_NAME.TYPE constant
*/
public static String getCanonicalName_Type()
{
return "CANONICAL_NAME.TYPE";
}
/**
* CANONICAL_NAME.MOLECULE_ID
* @deprecated use CanonicalNamePeer.CANONICAL_NAME.MOLECULE_ID constant
*/
public static String getCanonicalName_MoleculeId()
{
return "CANONICAL_NAME.MOLECULE_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("CANONICAL_NAME");
TableMap tMap = dbMap.getTable("CANONICAL_NAME");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "CANONICAL_NAME.CANONICAL_NAME_ID", new Integer(0) );
tMap.addColumn ( "CANONICAL_NAME.NAME", new String() );
tMap.addColumn ( "CANONICAL_NAME.TYPE", new String() );
tMap.addForeignKey (
"CANONICAL_NAME.MOLECULE_ID", new Integer(0) , "MOLECULE" ,
"MOLECULE_ID" );
}
}
--- NEW FILE: ChemicalNameMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class ChemicalNameMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.ChemicalNameMapBuilder";
/**
* Item
* @deprecated use ChemicalNamePeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "CHEMICAL_NAME";
}
/**
* CHEMICAL_NAME.CHEMICAL_NAME_ID
* @deprecated use ChemicalNamePeer.CHEMICAL_NAME.CHEMICAL_NAME_ID constant
*/
public static String getChemicalName_ChemicalNameId()
{
return "CHEMICAL_NAME.CHEMICAL_NAME_ID";
}
/**
* CHEMICAL_NAME.NAME
* @deprecated use ChemicalNamePeer.CHEMICAL_NAME.NAME constant
*/
public static String getChemicalName_Name()
{
return "CHEMICAL_NAME.NAME";
}
/**
* CHEMICAL_NAME.MOLECULE_ID
* @deprecated use ChemicalNamePeer.CHEMICAL_NAME.MOLECULE_ID constant
*/
public static String getChemicalName_MoleculeId()
{
return "CHEMICAL_NAME.MOLECULE_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("CHEMICAL_NAME");
TableMap tMap = dbMap.getTable("CHEMICAL_NAME");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "CHEMICAL_NAME.CHEMICAL_NAME_ID", new Integer(0) );
tMap.addColumn ( "CHEMICAL_NAME.NAME", new String() );
tMap.addForeignKey (
"CHEMICAL_NAME.MOLECULE_ID", new Integer(0) , "MOLECULE" ,
"MOLECULE_ID" );
}
}
--- NEW FILE: MeasurementConditionsMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class MeasurementConditionsMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.MeasurementConditionsMapBuilder";
/**
* Item
* @deprecated use MeasurementConditionsPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "MEASUREMENT_CONDITIONS";
}
/**
* MEASUREMENT_CONDITIONS.MEASUREMENT_CONDITIONS_ID
* @deprecated use MeasurementConditionsPeer.MEASUREMENT_CONDITIONS.MEASUREMENT_CONDITIONS_ID constant
*/
public static String getMeasurementConditions_MeasurementConditionsId()
{
return "MEASUREMENT_CONDITIONS.MEASUREMENT_CONDITIONS_ID";
}
/**
* MEASUREMENT_CONDITIONS.TEMPERATURE
* @deprecated use MeasurementConditionsPeer.MEASUREMENT_CONDITIONS.TEMPERATURE constant
*/
public static String getMeasurementConditions_Temperature()
{
return "MEASUREMENT_CONDITIONS.TEMPERATURE";
}
/**
* MEASUREMENT_CONDITIONS.FIELD_STRENGTH
* @deprecated use MeasurementConditionsPeer.MEASUREMENT_CONDITIONS.FIELD_STRENGTH constant
*/
public static String getMeasurementConditions_FieldStrength()
{
return "MEASUREMENT_CONDITIONS.FIELD_STRENGTH";
}
/**
* MEASUREMENT_CONDITIONS.SOLVENT
* @deprecated use MeasurementConditionsPeer.MEASUREMENT_CONDITIONS.SOLVENT constant
*/
public static String getMeasurementConditions_Solvent()
{
return "MEASUREMENT_CONDITIONS.SOLVENT";
}
/**
* MEASUREMENT_CONDITIONS.TURBINE_USER_ID
* @deprecated use MeasurementConditionsPeer.MEASUREMENT_CONDITIONS.TURBINE_USER_ID constant
*/
public static String getMeasurementConditions_TurbineUserId()
{
return "MEASUREMENT_CONDITIONS.TURBINE_USER_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("MEASUREMENT_CONDITIONS");
TableMap tMap = dbMap.getTable("MEASUREMENT_CONDITIONS");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "MEASUREMENT_CONDITIONS.MEASUREMENT_CONDITIONS_ID", new Integer(0) );
tMap.addColumn ( "MEASUREMENT_CONDITIONS.TEMPERATURE", new Double(0) );
tMap.addColumn ( "MEASUREMENT_CONDITIONS.FIELD_STRENGTH", new Integer(0) );
tMap.addColumn ( "MEASUREMENT_CONDITIONS.SOLVENT", new String() );
tMap.addForeignKey (
"MEASUREMENT_CONDITIONS.TURBINE_USER_ID", new Integer(0) , "TURBINE_USER" ,
"TURBINE_USER_ID" );
}
}
--- NEW FILE: MoleculeMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class MoleculeMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.MoleculeMapBuilder";
/**
* Item
* @deprecated use MoleculePeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "MOLECULE";
}
/**
* MOLECULE.MOLECULE_ID
* @deprecated use MoleculePeer.MOLECULE.MOLECULE_ID constant
*/
public static String getMolecule_MoleculeId()
{
return "MOLECULE.MOLECULE_ID";
}
/**
* MOLECULE.DATE
* @deprecated use MoleculePeer.MOLECULE.DATE constant
*/
public static String getMolecule_Date()
{
return "MOLECULE.DATE";
}
/**
* MOLECULE.STRUCTURE_FILE
* @deprecated use MoleculePeer.MOLECULE.STRUCTURE_FILE constant
*/
public static String getMolecule_StructureFile()
{
return "MOLECULE.STRUCTURE_FILE";
}
/**
* MOLECULE.MOLECULAR_FORMULA
* @deprecated use MoleculePeer.MOLECULE.MOLECULAR_FORMULA constant
*/
public static String getMolecule_MolecularFormula()
{
return "MOLECULE.MOLECULAR_FORMULA";
}
/**
* MOLECULE.TURBINE_USER_ID
* @deprecated use MoleculePeer.MOLECULE.TURBINE_USER_ID constant
*/
public static String getMolecule_TurbineUserId()
{
return "MOLECULE.TURBINE_USER_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("MOLECULE");
TableMap tMap = dbMap.getTable("MOLECULE");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "MOLECULE.MOLECULE_ID", new Integer(0) );
tMap.addColumn ( "MOLECULE.DATE", new Date() );
tMap.addColumn ( "MOLECULE.STRUCTURE_FILE", new Object() );
tMap.addColumn ( "MOLECULE.MOLECULAR_FORMULA", new String() );
tMap.addForeignKey (
"MOLECULE.TURBINE_USER_ID", new Integer(0) , "TURBINE_USER" ,
"TURBINE_USER_ID" );
}
}
--- NEW FILE: MoleculeTurbineUserMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class MoleculeTurbineUserMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.MoleculeTurbineUserMapBuilder";
/**
* Item
* @deprecated use MoleculeTurbineUserPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "MOLECULE_TURBINE_USER";
}
/**
* MOLECULE_TURBINE_USER.MOLECULE_ID
* @deprecated use MoleculeTurbineUserPeer.MOLECULE_TURBINE_USER.MOLECULE_ID constant
*/
public static String getMoleculeTurbineUser_MoleculeId()
{
return "MOLECULE_TURBINE_USER.MOLECULE_ID";
}
/**
* MOLECULE_TURBINE_USER.TURBINE_USER_ID
* @deprecated use MoleculeTurbineUserPeer.MOLECULE_TURBINE_USER.TURBINE_USER_ID constant
*/
public static String getMoleculeTurbineUser_TurbineUserId()
{
return "MOLECULE_TURBINE_USER.TURBINE_USER_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("MOLECULE_TURBINE_USER");
TableMap tMap = dbMap.getTable("MOLECULE_TURBINE_USER");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addForeignKey (
"MOLECULE_TURBINE_USER.MOLECULE_ID", new Integer(0) , "MOLECULE" ,
"MOLECULE_ID" );
tMap.addForeignKey (
"MOLECULE_TURBINE_USER.TURBINE_USER_ID", new Integer(0) , "TURBINE_USER" ,
"TURBINE_USER_ID" );
}
}
--- NEW FILE: SignalAtomsMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class SignalAtomsMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.SignalAtomsMapBuilder";
/**
* Item
* @deprecated use SignalAtomsPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "SIGNAL_ATOMS";
}
/**
* SIGNAL_ATOMS.SIGNAL_ID
* @deprecated use SignalAtomsPeer.SIGNAL_ATOMS.SIGNAL_ID constant
*/
public static String getSignalAtoms_SignalId()
{
return "SIGNAL_ATOMS.SIGNAL_ID";
}
/**
* SIGNAL_ATOMS.ATOMS_ID
* @deprecated use SignalAtomsPeer.SIGNAL_ATOMS.ATOMS_ID constant
*/
public static String getSignalAtoms_AtomsId()
{
return "SIGNAL_ATOMS.ATOMS_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("SIGNAL_ATOMS");
TableMap tMap = dbMap.getTable("SIGNAL_ATOMS");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addForeignKey (
"SIGNAL_ATOMS.SIGNAL_ID", new Integer(0) , "SIGNAL" ,
"SIGNAL_ID" );
tMap.addForeignKey (
"SIGNAL_ATOMS.ATOMS_ID", new Integer(0) , "ATOMS" ,
"ATOMS_ID" );
}
}
--- NEW FILE: SignalMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class SignalMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.SignalMapBuilder";
/**
* Item
* @deprecated use SignalPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "SIGNAL";
}
/**
* SIGNAL.SIGNAL_ID
* @deprecated use SignalPeer.SIGNAL.SIGNAL_ID constant
*/
public static String getSignal_SignalId()
{
return "SIGNAL.SIGNAL_ID";
}
/**
* SIGNAL.DIMENSIONALITY
* @deprecated use SignalPeer.SIGNAL.DIMENSIONALITY constant
*/
public static String getSignal_Dimensionality()
{
return "SIGNAL.DIMENSIONALITY";
}
/**
* SIGNAL.SHIFT_1
* @deprecated use SignalPeer.SIGNAL.SHIFT_1 constant
*/
public static String getSignal_Shift1()
{
return "SIGNAL.SHIFT_1";
}
/**
* SIGNAL.SHIFT_2
* @deprecated use SignalPeer.SIGNAL.SHIFT_2 constant
*/
public static String getSignal_Shift2()
{
return "SIGNAL.SHIFT_2";
}
/**
* SIGNAL.SHIFT_3
* @deprecated use SignalPeer.SIGNAL.SHIFT_3 constant
*/
public static String getSignal_Shift3()
{
return "SIGNAL.SHIFT_3";
}
/**
* SIGNAL.SHIFT_4
* @deprecated use SignalPeer.SIGNAL.SHIFT_4 constant
*/
public static String getSignal_Shift4()
{
return "SIGNAL.SHIFT_4";
}
/**
* SIGNAL.SHIFT_5
* @deprecated use SignalPeer.SIGNAL.SHIFT_5 constant
*/
public static String getSignal_Shift5()
{
return "SIGNAL.SHIFT_5";
}
/**
* SIGNAL.SPECTRUM_TYPE_ID
* @deprecated use SignalPeer.SIGNAL.SPECTRUM_TYPE_ID constant
*/
public static String getSignal_SpectrumTypeId()
{
return "SIGNAL.SPECTRUM_TYPE_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("SIGNAL");
TableMap tMap = dbMap.getTable("SIGNAL");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "SIGNAL.SIGNAL_ID", new Integer(0) );
tMap.addColumn ( "SIGNAL.DIMENSIONALITY", new Integer(0) );
tMap.addColumn ( "SIGNAL.SHIFT_1", new Double(0) );
tMap.addColumn ( "SIGNAL.SHIFT_2", new Double(0) );
tMap.addColumn ( "SIGNAL.SHIFT_3", new Double(0) );
tMap.addColumn ( "SIGNAL.SHIFT_4", new Double(0) );
tMap.addColumn ( "SIGNAL.SHIFT_5", new Double(0) );
tMap.addForeignKey (
"SIGNAL.SPECTRUM_TYPE_ID", new Integer(0) , "SPECTRUM_TYPE" ,
"SPECTRUM_TYPE_ID" );
}
}
--- NEW FILE: SpectrumMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class SpectrumMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.SpectrumMapBuilder";
/**
* Item
* @deprecated use SpectrumPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "SPECTRUM";
}
/**
* SPECTRUM.SPECTRUM_ID
* @deprecated use SpectrumPeer.SPECTRUM.SPECTRUM_ID constant
*/
public static String getSpectrum_SpectrumId()
{
return "SPECTRUM.SPECTRUM_ID";
}
/**
* SPECTRUM.DATE
* @deprecated use SpectrumPeer.SPECTRUM.DATE constant
*/
public static String getSpectrum_Date()
{
return "SPECTRUM.DATE";
}
/**
* SPECTRUM.SPECFILE
* @deprecated use SpectrumPeer.SPECTRUM.SPECFILE constant
*/
public static String getSpectrum_Specfile()
{
return "SPECTRUM.SPECFILE";
}
/**
* SPECTRUM.TURBINE_USER_ID
* @deprecated use SpectrumPeer.SPECTRUM.TURBINE_USER_ID constant
*/
public static String getSpectrum_TurbineUserId()
{
return "SPECTRUM.TURBINE_USER_ID";
}
/**
* SPECTRUM.MEASUREMENT_CONDITIONS_ID
* @deprecated use SpectrumPeer.SPECTRUM.MEASUREMENT_CONDITIONS_ID constant
*/
public static String getSpectrum_MeasurementConditionsId()
{
return "SPECTRUM.MEASUREMENT_CONDITIONS_ID";
}
/**
* SPECTRUM.SPECTRUM_TYPE_ID
* @deprecated use SpectrumPeer.SPECTRUM.SPECTRUM_TYPE_ID constant
*/
public static String getSpectrum_SpectrumTypeId()
{
return "SPECTRUM.SPECTRUM_TYPE_ID";
}
/**
* SPECTRUM.MOLECULE_ID
* @deprecated use SpectrumPeer.SPECTRUM.MOLECULE_ID constant
*/
public static String getSpectrum_MoleculeId()
{
return "SPECTRUM.MOLECULE_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("SPECTRUM");
TableMap tMap = dbMap.getTable("SPECTRUM");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "SPECTRUM.SPECTRUM_ID", new Integer(0) );
tMap.addColumn ( "SPECTRUM.DATE", new Date() );
tMap.addColumn ( "SPECTRUM.SPECFILE", new Object() );
tMap.addForeignKey (
"SPECTRUM.TURBINE_USER_ID", new Integer(0) , "TURBINE_USER" ,
"TURBINE_USER_ID" );
tMap.addForeignKey (
"SPECTRUM.MEASUREMENT_CONDITIONS_ID", new Integer(0) , "MEASUREMENT_CONDITIONS" ,
"MEASUREMENT_CONDITIONS_ID" );
tMap.addForeignKey (
"SPECTRUM.SPECTRUM_TYPE_ID", new Integer(0) , "SPECTRUM_TYPE" ,
"SPECTRUM_TYPE_ID" );
tMap.addForeignKey (
"SPECTRUM.MOLECULE_ID", new Integer(0) , "MOLECULE" ,
"MOLECULE_ID" );
}
}
--- NEW FILE: SpectrumTypeMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class SpectrumTypeMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.SpectrumTypeMapBuilder";
/**
* Item
* @deprecated use SpectrumTypePeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "SPECTRUM_TYPE";
}
/**
* SPECTRUM_TYPE.SPECTRUM_TYPE_ID
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.SPECTRUM_TYPE_ID constant
*/
public static String getSpectrumType_SpectrumTypeId()
{
return "SPECTRUM_TYPE.SPECTRUM_TYPE_ID";
}
/**
* SPECTRUM_TYPE.DIMENSIONALITY
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.DIMENSIONALITY constant
*/
public static String getSpectrumType_Dimensionality()
{
return "SPECTRUM_TYPE.DIMENSIONALITY";
}
/**
* SPECTRUM_TYPE.NAME
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.NAME constant
*/
public static String getSpectrumType_Name()
{
return "SPECTRUM_TYPE.NAME";
}
/**
* SPECTRUM_TYPE.ISOTOPE_1
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.ISOTOPE_1 constant
*/
public static String getSpectrumType_Isotope1()
{
return "SPECTRUM_TYPE.ISOTOPE_1";
}
/**
* SPECTRUM_TYPE.ISOTOPE_2
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.ISOTOPE_2 constant
*/
public static String getSpectrumType_Isotope2()
{
return "SPECTRUM_TYPE.ISOTOPE_2";
}
/**
* SPECTRUM_TYPE.ISOTOPE_3
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.ISOTOPE_3 constant
*/
public static String getSpectrumType_Isotope3()
{
return "SPECTRUM_TYPE.ISOTOPE_3";
}
/**
* SPECTRUM_TYPE.ISOTOPE_4
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.ISOTOPE_4 constant
*/
public static String getSpectrumType_Isotope4()
{
return "SPECTRUM_TYPE.ISOTOPE_4";
}
/**
* SPECTRUM_TYPE.ISOTOPE_5
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.ISOTOPE_5 constant
*/
public static String getSpectrumType_Isotope5()
{
return "SPECTRUM_TYPE.ISOTOPE_5";
}
/**
* SPECTRUM_TYPE.TURBINE_USER_ID
* @deprecated use SpectrumTypePeer.SPECTRUM_TYPE.TURBINE_USER_ID constant
*/
public static String getSpectrumType_TurbineUserId()
{
return "SPECTRUM_TYPE.TURBINE_USER_ID";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("SPECTRUM_TYPE");
TableMap tMap = dbMap.getTable("SPECTRUM_TYPE");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "SPECTRUM_TYPE.SPECTRUM_TYPE_ID", new Integer(0) );
tMap.addColumn ( "SPECTRUM_TYPE.DIMENSIONALITY", new Integer(0) );
tMap.addColumn ( "SPECTRUM_TYPE.NAME", new String() );
tMap.addColumn ( "SPECTRUM_TYPE.ISOTOPE_1", new String() );
tMap.addColumn ( "SPECTRUM_TYPE.ISOTOPE_2", new String() );
tMap.addColumn ( "SPECTRUM_TYPE.ISOTOPE_3", new String() );
tMap.addColumn ( "SPECTRUM_TYPE.ISOTOPE_4", new String() );
tMap.addColumn ( "SPECTRUM_TYPE.ISOTOPE_5", new String() );
tMap.addForeignKey (
"SPECTRUM_TYPE.TURBINE_USER_ID", new Integer(0) , "TURBINE_USER" ,
"TURBINE_USER_ID" );
}
}
--- NEW FILE: TurbineUserMapBuilder.java ---
package org.openscience.nmrshiftdb.map;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.map.MapBuilder;
import org.apache.torque.map.DatabaseMap;
import org.apache.torque.map.TableMap;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public class TurbineUserMapBuilder implements MapBuilder
{
/**
* The name of this class
*/
public static final String CLASS_NAME =
"org.openscience.nmrshiftdb.map.TurbineUserMapBuilder";
/**
* Item
* @deprecated use TurbineUserPeer.TABLE_NAME constant
*/
public static String getTable( )
{
return "TURBINE_USER";
}
/**
* TURBINE_USER.TURBINE_USER_ID
* @deprecated use TurbineUserPeer.TURBINE_USER.TURBINE_USER_ID constant
*/
public static String getTurbineUser_TurbineUserId()
{
return "TURBINE_USER.TURBINE_USER_ID";
}
/**
* TURBINE_USER.FIRST_NAME
* @deprecated use TurbineUserPeer.TURBINE_USER.FIRST_NAME constant
*/
public static String getTurbineUser_FirstName()
{
return "TURBINE_USER.FIRST_NAME";
}
/**
* TURBINE_USER.LAST_NAME
* @deprecated use TurbineUserPeer.TURBINE_USER.LAST_NAME constant
*/
public static String getTurbineUser_LastName()
{
return "TURBINE_USER.LAST_NAME";
}
/**
* TURBINE_USER.TITLE
* @deprecated use TurbineUserPeer.TURBINE_USER.TITLE constant
*/
public static String getTurbineUser_Title()
{
return "TURBINE_USER.TITLE";
}
/**
* TURBINE_USER.ADDRESS
* @deprecated use TurbineUserPeer.TURBINE_USER.ADDRESS constant
*/
public static String getTurbineUser_Address()
{
return "TURBINE_USER.ADDRESS";
}
/**
* TURBINE_USER.CITY
* @deprecated use TurbineUserPeer.TURBINE_USER.CITY constant
*/
public static String getTurbineUser_City()
{
return "TURBINE_USER.CITY";
}
/**
* TURBINE_USER.COUNTRY
* @deprecated use TurbineUserPeer.TURBINE_USER.COUNTRY constant
*/
public static String getTurbineUser_Country()
{
return "TURBINE_USER.COUNTRY";
}
/**
* TURBINE_USER.EMAIL_ADDRESS
* @deprecated use TurbineUserPeer.TURBINE_USER.EMAIL_ADDRESS constant
*/
public static String getTurbineUser_EmailAddress()
{
return "TURBINE_USER.EMAIL_ADDRESS";
}
/**
* TURBINE_USER.WEBPAGE
* @deprecated use TurbineUserPeer.TURBINE_USER.WEBPAGE constant
*/
public static String getTurbineUser_Webpage()
{
return "TURBINE_USER.WEBPAGE";
}
/**
* TURBINE_USER.AFFILIATION
* @deprecated use TurbineUserPeer.TURBINE_USER.AFFILIATION constant
*/
public static String getTurbineUser_Affiliation()
{
return "TURBINE_USER.AFFILIATION";
}
/**
* TURBINE_USER.ZIP_CODE
* @deprecated use TurbineUserPeer.TURBINE_USER.ZIP_CODE constant
*/
public static String getTurbineUser_ZipCode()
{
return "TURBINE_USER.ZIP_CODE";
}
/**
* TURBINE_USER.LAST_LOGIN
* @deprecated use TurbineUserPeer.TURBINE_USER.LAST_LOGIN constant
*/
public static String getTurbineUser_LastLogin()
{
return "TURBINE_USER.LAST_LOGIN";
}
/**
* The database map.
*/
private DatabaseMap dbMap = null;
/**
* Tells us if this DatabaseMapBuilder is built so that we
* don't have to re-build it every time.
*/
public boolean isBuilt()
{
if ( dbMap != null )
{
return true;
}
return false;
}
/**
* Gets the databasemap this map builder built.
*/
public DatabaseMap getDatabaseMap()
{
return this.dbMap;
}
/**
* The doBuild() method builds the DatabaseMap
*/
public void doBuild() throws Exception
{
dbMap = Torque.getDatabaseMap("nmrshiftdb");
dbMap.addTable("TURBINE_USER");
TableMap tMap = dbMap.getTable("TURBINE_USER");
tMap.setPrimaryKeyMethod(TableMap.ID_BROKER);
tMap.setPrimaryKeyMethodInfo(tMap.getName());
tMap.addPrimaryKey ( "TURBINE_USER.TURBINE_USER_ID", new Integer(0) );
tMap.addColumn ( "TURBINE_USER.FIRST_NAME", new String() );
tMap.addColumn ( "TURBINE_USER.LAST_NAME", new String() );
tMap.addColumn ( "TURBINE_USER.TITLE", new String() );
tMap.addColumn ( "TURBINE_USER.ADDRESS", new String() );
tMap.addColumn ( "TURBINE_USER.CITY", new String() );
tMap.addColumn ( "TURBINE_USER.COUNTRY", new String() );
tMap.addColumn ( "TURBINE_USER.EMAIL_ADDRESS", new String() );
tMap.addColumn ( "TURBINE_USER.WEBPAGE", new String() );
tMap.addColumn ( "TURBINE_USER.AFFILIATION", new String() );
tMap.addColumn ( "TURBINE_USER.ZIP_CODE", new Integer(0) );
tMap.addColumn ( "TURBINE_USER.LAST_LOGIN", new Date() );
}
}
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb
In directory usw-pr-cvs1:/tmp/cvs-serv25278
Added Files:
Atoms.java AtomsPeer.java BaseAtoms.java BaseAtomsPeer.java
BaseBonds.java BaseBondsAtoms.java BaseBondsAtomsPeer.java
BaseBondsPeer.java BaseCanonicalName.java
BaseCanonicalNamePeer.java BaseChemicalName.java
BaseChemicalNamePeer.java BaseMeasurementConditions.java
BaseMeasurementConditionsPeer.java BaseMolecule.java
BaseMoleculePeer.java BaseMoleculeTurbineUser.java
BaseMoleculeTurbineUserPeer.java BaseSignal.java
BaseSignalAtoms.java BaseSignalAtomsPeer.java
BaseSignalPeer.java BaseSpectrum.java BaseSpectrumPeer.java
BaseSpectrumType.java BaseSpectrumTypePeer.java
BaseTurbineUser.java BaseTurbineUserPeer.java Bonds.java
BondsAtoms.java BondsAtomsPeer.java BondsPeer.java
CanonicalName.java CanonicalNamePeer.java ChemicalName.java
ChemicalNamePeer.java MeasurementConditions.java
MeasurementConditionsPeer.java Molecule.java MoleculePeer.java
MoleculeTurbineUser.java MoleculeTurbineUserPeer.java
Signal.java SignalAtoms.java SignalAtomsPeer.java
SignalPeer.java Spectrum.java SpectrumPeer.java
SpectrumType.java SpectrumTypePeer.java TurbineUser.java
TurbineUserPeer.java
Log Message:
added torque source files
--- NEW FILE: Atoms.java ---
package org.openscience.nmrshiftdb;
import org.apache.torque.om.Persistent;
/**
* The skeleton for this class was autogenerated by Torque on:
*
* [Wed Jan 30 20:42:04 CET 2002]
*
* 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.
*/
public class Atoms
extends org.openscience.nmrshiftdb.BaseAtoms
implements Persistent
{
}
--- NEW FILE: AtomsPeer.java ---
package org.openscience.nmrshiftdb;
import java.util.*;
import com.workingdogs.village.*;
import org.apache.torque.map.*;
import org.apache.torque.pool.DBConnection;
// Local classes
import org.openscience.nmrshiftdb.map.*;
/**
* The skeleton for this class was autogenerated by Torque on:
*
* [Wed Jan 30 20:42:04 CET 2002]
*
* 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.
*/
public class AtomsPeer
extends org.openscience.nmrshiftdb.BaseAtomsPeer
{
}
--- NEW FILE: BaseAtoms.java ---
package org.openscience.nmrshiftdb;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.om.*;
import org.apache.torque.util.BasePeer;
import org.apache.torque.util.Criteria;
import org.apache.torque.pool.DBConnection;
import org.apache.commons.util.ObjectUtils;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
* You should not use this class directly. It should not even be
* extended all references should be to Atoms
*/
public abstract class BaseAtoms extends BaseObject
{
/** The Peer class */
private static final AtomsPeer peer =
new AtomsPeer();
/**
* The value for the atoms_id field
*/
private NumberKey atoms_id;
/**
* The value for the symbol field
*/
private String symbol;
/**
* The value for the molecule_id field
*/
private NumberKey molecule_id;
/**
* Get the AtomsId
* @return NumberKey
*/
public NumberKey getAtomsId()
{
return atoms_id;
}
/**
* Set the value of AtomsId
*/
public void setAtomsId(NumberKey v ) throws Exception
{
if (v != null && v.getValue() == null)
{
// If this is an Objectkey than this set method is
// probably storing the id of this object or some
// associated object. If the objectKey value is null
// then we convert the parameter to null so that this
// property is consistently null to indicate that no
// object is associated or defined.
v = null;
}
// update associated SignalAtoms
if (collSignalAtomss != null )
{
for (int i=0; i<collSignalAtomss.size(); i++)
{
((SignalAtoms)collSignalAtomss.get(i))
.setAtomsId(v);
}
}
// update associated BondsAtoms
if (collBondsAtomss != null )
{
for (int i=0; i<collBondsAtomss.size(); i++)
{
((BondsAtoms)collBondsAtomss.get(i))
.setAtomsId(v);
}
}
if ( !ObjectUtils.equals(this.atoms_id, v) )
{
this.atoms_id = v;
setModified(true);
}
}
/**
* Set the value of AtomsId as a string.
*/
public void setAtomsId(String v ) throws Exception
{
setAtomsId(new NumberKey(v));
}
/**
* Get the Symbol
* @return String
*/
public String getSymbol()
{
return symbol;
}
/**
* Set the value of Symbol
*/
public void setSymbol(String v )
{
if ( !ObjectUtils.equals(this.symbol, v) )
{
this.symbol = v;
setModified(true);
}
}
/**
* Get the MoleculeId
* @return NumberKey
*/
public NumberKey getMoleculeId()
{
return molecule_id;
}
/**
* Set the value of MoleculeId
*/
public void setMoleculeId(NumberKey v ) throws Exception
{
if (v != null && v.getValue() == null)
{
// If this is an Objectkey than this set method is
// probably storing the id of this object or some
// associated object. If the objectKey value is null
// then we convert the parameter to null so that this
// property is consistently null to indicate that no
// object is associated or defined.
v = null;
}
aMolecule = null;
if ( !ObjectUtils.equals(this.molecule_id, v) )
{
this.molecule_id = v;
setModified(true);
}
}
/**
* Set the value of MoleculeId as a string.
*/
public void setMoleculeId(String v ) throws Exception
{
setMoleculeId(new NumberKey(v));
}
private Molecule aMolecule;
/**
* Declares an association between this object and a Molecule object
*
* @param Molecule v
*/
public void setMolecule(Molecule v) throws Exception
{
setMoleculeId(v.getMoleculeId());
aMolecule = v;
}
public Molecule getMolecule() throws Exception
{
if ( aMolecule==null && (!ObjectUtils.equals(this.molecule_id, null)) )
{
aMolecule = MoleculePeer.retrieveByPK(this.molecule_id);
/* The following can be used instead of the line above to
guarantee the related object contains a reference
to this object, but this level of coupling
may be undesirable in many circumstances.
As it can lead to a db query with many results that may
never be used.
Molecule obj = MoleculePeer.retrieveByPK(this.molecule_id);
obj.addAtomss(this);
*/
}
return aMolecule;
}
/**
* Provides convenient way to set a relationship based on a
* ObjectKey. e.g.
* <code>bar.setFooKey(foo.getPrimaryKey())</code>
*
*/
public void setMoleculeKey(ObjectKey key) throws Exception
{
setMoleculeId((NumberKey)key);
}
/**
* Collection to store aggregation of collSignalAtomss
*/
protected Vector collSignalAtomss;
/**
* Temporary storage of collSignalAtomss to save a possible db hit in
* the event objects are add to the collection, but the
* complete collection is never requested.
*/
protected void initSignalAtomss()
{
if (collSignalAtomss == null)
{
collSignalAtomss = new Vector();
}
}
/**
* Method called to associate a SignalAtoms object to this object
* through the SignalAtoms foreign key attribute
*
* @param SignalAtoms l
*/
public void addSignalAtoms(SignalAtoms l) throws Exception
{
getSignalAtomss().add(l);
l.setAtoms((Atoms)this);
}
/**
* The criteria used to select the current contents of collSignalAtomss
*/
private Criteria lastSignalAtomssCriteria = null;
/**
* If this collection has already been initialized, returns
* the collection. Otherwise returns the results of
* getSignalAtomss(new Criteria())
*/
public Vector getSignalAtomss() throws Exception
{
if (collSignalAtomss == null)
{
collSignalAtomss = getSignalAtomss(new Criteria(10));
}
return collSignalAtomss;
}
/**
* If this collection has already been initialized with
* an identical criteria, it returns the collection.
* Otherwise if this Atoms has previously
* been saved, it will retrieve related SignalAtomss from storage.
* If this Atoms is new, it will return
* an empty collection or the current collection, the criteria
* is ignored on a new object.
*/
public Vector getSignalAtomss(Criteria criteria) throws Exception
{
if (collSignalAtomss == null)
{
if ( isNew() )
{
collSignalAtomss = new Vector();
}
else
{
criteria.add(SignalAtomsPeer.ATOMS_ID, getAtomsId() );
collSignalAtomss = SignalAtomsPeer.doSelect(criteria);
}
}
else
{
// criteria has no effect for a new object
if ( !isNew() )
{
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
criteria.add(SignalAtomsPeer.ATOMS_ID, getAtomsId() );
if ( !lastSignalAtomssCriteria.equals(criteria) )
{
collSignalAtomss = SignalAtomsPeer.doSelect(criteria);
}
}
}
lastSignalAtomssCriteria = criteria;
return collSignalAtomss;
}
/**
* If this collection has already been initialized with
* an identical criteria, it returns the collection.
* Otherwise if this Atoms is new, it will return
* an empty collection; or if this Atoms has previously
* been saved, it will retrieve related SignalAtomss from storage.
*
* This method is protected by default in order to keep the public
* api reasonable. You can provide public methods for those you
* actually need in Atoms.
*/
protected Vector getSignalAtomssJoinSignal(Criteria criteria)
throws Exception
{
if (collSignalAtomss == null)
{
if ( isNew() )
{
collSignalAtomss = new Vector();
}
else
{
criteria.add(SignalAtomsPeer.ATOMS_ID, getAtomsId() );
collSignalAtomss = SignalAtomsPeer.doSelectJoinSignal(criteria);
}
}
else
{
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
boolean newCriteria = true;
criteria.add(SignalAtomsPeer.ATOMS_ID, getAtomsId() );
if ( !lastSignalAtomssCriteria.equals(criteria) )
{
collSignalAtomss = SignalAtomsPeer.doSelectJoinSignal(criteria);
}
}
lastSignalAtomssCriteria = criteria;
return collSignalAtomss;
}
/**
* Collection to store aggregation of collBondsAtomss
*/
protected Vector collBondsAtomss;
/**
* Temporary storage of collBondsAtomss to save a possible db hit in
* the event objects are add to the collection, but the
* complete collection is never requested.
*/
protected void initBondsAtomss()
{
if (collBondsAtomss == null)
{
collBondsAtomss = new Vector();
}
}
/**
* Method called to associate a BondsAtoms object to this object
* through the BondsAtoms foreign key attribute
*
* @param BondsAtoms l
*/
public void addBondsAtoms(BondsAtoms l) throws Exception
{
getBondsAtomss().add(l);
l.setAtoms((Atoms)this);
}
/**
* The criteria used to select the current contents of collBondsAtomss
*/
private Criteria lastBondsAtomssCriteria = null;
/**
* If this collection has already been initialized, returns
* the collection. Otherwise returns the results of
* getBondsAtomss(new Criteria())
*/
public Vector getBondsAtomss() throws Exception
{
if (collBondsAtomss == null)
{
collBondsAtomss = getBondsAtomss(new Criteria(10));
}
return collBondsAtomss;
}
/**
* If this collection has already been initialized with
* an identical criteria, it returns the collection.
* Otherwise if this Atoms has previously
* been saved, it will retrieve related BondsAtomss from storage.
* If this Atoms is new, it will return
* an empty collection or the current collection, the criteria
* is ignored on a new object.
*/
public Vector getBondsAtomss(Criteria criteria) throws Exception
{
if (collBondsAtomss == null)
{
if ( isNew() )
{
collBondsAtomss = new Vector();
}
else
{
criteria.add(BondsAtomsPeer.ATOMS_ID, getAtomsId() );
collBondsAtomss = BondsAtomsPeer.doSelect(criteria);
}
}
else
{
// criteria has no effect for a new object
if ( !isNew() )
{
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
criteria.add(BondsAtomsPeer.ATOMS_ID, getAtomsId() );
if ( !lastBondsAtomssCriteria.equals(criteria) )
{
collBondsAtomss = BondsAtomsPeer.doSelect(criteria);
}
}
}
lastBondsAtomssCriteria = criteria;
return collBondsAtomss;
}
/**
* If this collection has already been initialized with
* an identical criteria, it returns the collection.
* Otherwise if this Atoms is new, it will return
* an empty collection; or if this Atoms has previously
* been saved, it will retrieve related BondsAtomss from storage.
*
* This method is protected by default in order to keep the public
* api reasonable. You can provide public methods for those you
* actually need in Atoms.
*/
protected Vector getBondsAtomssJoinBonds(Criteria criteria)
throws Exception
{
if (collBondsAtomss == null)
{
if ( isNew() )
{
collBondsAtomss = new Vector();
}
else
{
criteria.add(BondsAtomsPeer.ATOMS_ID, getAtomsId() );
collBondsAtomss = BondsAtomsPeer.doSelectJoinBonds(criteria);
}
}
else
{
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
boolean newCriteria = true;
criteria.add(BondsAtomsPeer.ATOMS_ID, getAtomsId() );
if ( !lastBondsAtomssCriteria.equals(criteria) )
{
collBondsAtomss = BondsAtomsPeer.doSelectJoinBonds(criteria);
}
}
lastBondsAtomssCriteria = criteria;
return collBondsAtomss;
}
private static Vector fieldNames_ = null;
/**
* Generate a list of field names.
*/
public static synchronized List getFieldNames()
{
if (fieldNames_ == null)
{
fieldNames_ = new Vector();
fieldNames_.add("AtomsId");
fieldNames_.add("Symbol");
fieldNames_.add("MoleculeId");
}
return fieldNames_;
}
/**
* Retrieves a field from the object by name passed in
* as a String.
*/
public Object getByName(String name)
{
if (name.equals("AtomsId"))
{
return getAtomsId();
}
if (name.equals("Symbol"))
{
return getSymbol();
}
if (name.equals("MoleculeId"))
{
return getMoleculeId();
}
return null;
}
/**
* Retrieves a field from the object by name passed in
* as a String. The String must be one of the static
* Strings defined in this Class' Peer.
*/
public Object getByPeerName(String name)
{
if (name.equals(AtomsPeer.ATOMS_ID ))
{
return getAtomsId();
}
if (name.equals(AtomsPeer.SYMBOL ))
{
return getSymbol();
}
if (name.equals(AtomsPeer.MOLECULE_ID ))
{
return getMoleculeId();
}
return null;
}
/**
* Retrieves a field from the object by Position as specified
* in the xml schema. Zero-based.
*/
public Object getByPosition(int pos)
{
if ( pos == 0 )
{
return getAtomsId();
}
if ( pos == 1 )
{
return getSymbol();
}
if ( pos == 2 )
{
return getMoleculeId();
}
return null;
}
/**
* Stores the object in the database. If the object is new,
* it inserts it; otherwise an update is performed.
*/
public void save() throws Exception
{
save(AtomsPeer.getMapBuilder()
.getDatabaseMap().getName());
}
/**
* Stores the object in the database. If the object is new,
* it inserts it; otherwise an update is performed.
* Note: this code is here because the method body is
* auto-generated conditionally and therefore needs to be
* in this file instead of in the super class, BaseObject.
*/
public void save(String dbName) throws Exception
{
DBConnection dbCon = null;
try
{
dbCon = BasePeer.beginTransaction(dbName);
save(dbCon);
}
catch(Exception e)
{
BasePeer.rollBackTransaction(dbCon);
throw e;
}
BasePeer.commitTransaction(dbCon);
}
/** flag to prevent endless save loop, if this object is referenced
by another object which falls in this transaction. */
private boolean alreadyInSave = false;
/**
* Stores the object in the database. If the object is new,
* it inserts it; otherwise an update is performed. This method
* is meant to be used as part of a transaction, otherwise use
* the save() method and the connection details will be handled
* internally
*/
public void save(DBConnection dbCon) throws Exception
{
if (!alreadyInSave)
{
alreadyInSave = true;
// If this object has been modified, then save it to the database.
if (isModified())
{
if (isNew())
{
AtomsPeer.doInsert((Atoms)this, dbCon);
setNew(false);
}
else
{
AtomsPeer.doUpdate((Atoms)this, dbCon);
}
}
if (collSignalAtomss != null )
{
for (int i=0; i<collSignalAtomss.size(); i++)
{
((SignalAtoms)collSignalAtomss.get(i)).save(dbCon);
}
}
if (collBondsAtomss != null )
{
for (int i=0; i<collBondsAtomss.size(); i++)
{
((BondsAtoms)collBondsAtomss.get(i)).save(dbCon);
}
}
alreadyInSave = false;
}
}
/**
* Set the PrimaryKey using ObjectKey.
*
* @param ObjectKey atoms_id
*/
public void setPrimaryKey(ObjectKey atoms_id)
throws Exception {
setAtomsId((NumberKey)atoms_id);
}
/**
* Set the PrimaryKey using a String.
*/
public void setPrimaryKey(String key) throws Exception
{
setAtomsId(new NumberKey(key) );
}
/**
* returns an id that differentiates this object from others
* of its class.
*/
public ObjectKey getPrimaryKey()
{
return getAtomsId();
}
/**
* Makes a copy of this object.
* It creates a new object filling in the simple attributes.
* It then fills all the association collections and sets the
* related objects to isNew=true.
*/
public Atoms copy() throws Exception
{
Atoms copyObj = new Atoms();
copyObj.setAtomsId(atoms_id);
copyObj.setSymbol(symbol);
copyObj.setMoleculeId(molecule_id);
copyObj.setNew(false);
List v = getSignalAtomss();
for (int i=0; i<v.size(); i++)
{
SignalAtoms obj = (SignalAtoms) v.get(i);
copyObj.addSignalAtoms(obj.copy());
((Persistent)v.get(i)).setNew(true);
}
v = getBondsAtomss();
for (int i=0; i<v.size(); i++)
{
BondsAtoms obj = (BondsAtoms) v.get(i);
copyObj.addBondsAtoms(obj.copy());
((Persistent)v.get(i)).setNew(true);
}
copyObj.setNew(true);
copyObj.setAtomsId((NumberKey)null);
return copyObj;
}
/**
* returns a peer instance associated with this om. Since Peer classes
* are not to have any instance attributes, this method returns the
* same instance for all member of this class. The method could therefore
* be static, but this would prevent one from overriding the behavior.
*/
public AtomsPeer getPeer()
{
return peer;
}
}
--- NEW FILE: BaseAtomsPeer.java ---
package org.openscience.nmrshiftdb;
import java.util.*;
import java.math.*;
import java.sql.*;
import com.workingdogs.village.*;
import org.apache.torque.Torque;
import org.apache.torque.util.BasePeer;
import org.apache.torque.om.*;
import org.apache.torque.util.*;
import org.apache.torque.map.*;
import org.apache.torque.pool.DBConnection;
import org.apache.torque.TorqueException;
// Local classes
import org.openscience.nmrshiftdb.map.*;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
*/
public abstract class BaseAtomsPeer
extends BasePeer
{
/** the default database name for this class */
public static final String DATABASE_NAME = "nmrshiftdb";
/** the table name for this class */
public static final String TABLE_NAME = "ATOMS";
/**
* @returns the map builder for this peer
*/
public static MapBuilder getMapBuilder()
throws Exception
{
return getMapBuilder(AtomsMapBuilder.CLASS_NAME);
}
/** the column name for the ATOMS_ID field */
public static final String ATOMS_ID;
/** the column name for the SYMBOL field */
public static final String SYMBOL;
/** the column name for the MOLECULE_ID field */
public static final String MOLECULE_ID;
static
{
ATOMS_ID = "ATOMS.ATOMS_ID";
SYMBOL = "ATOMS.SYMBOL";
MOLECULE_ID = "ATOMS.MOLECULE_ID";
if (Torque.isInit())
{
try
{
getMapBuilder();
}
catch (Exception e)
{
category.error("Could not initialize Peer", e);
}
}
else
{
Torque.registerMapBuilder(AtomsMapBuilder.CLASS_NAME);
}
}
/** number of columns for this peer */
public static final int numColumns = 3;
/** A class that can be returned by this peer. */
protected static final String CLASSNAME_DEFAULT =
"org.openscience.nmrshiftdb.Atoms";
/** A class that can be returned by this peer. */
protected static final Class CLASS_DEFAULT = initClass(CLASSNAME_DEFAULT);
/** Class object initialization method. */
private static Class initClass(String className)
{
Class c = null;
try
{
c = Class.forName(className);
}
catch (Throwable t)
{
category.error("A FATAL ERROR has occurred which should not " +
"have happened under any circumstance. Please notify " +
"the Turbine developers <tur...@ja...> " +
"and give as many details as possible (including the error " +
"stack trace).", t);
// Error objects should always be propogated.
if (t instanceof Error)
{
throw (Error) t.fillInStackTrace();
}
}
return c;
}
/**
* Get the list of objects for a ResultSet. Please not that your
* resultset MUST return columns in the right order. You can use
* getFieldNames() in BaseObject to get the correct sequence.
*/
public static Vector resultSet2Objects (java.sql.ResultSet results) throws Exception
{
QueryDataSet qds = null;
Vector rows = null;
try
{
qds = new QueryDataSet( results );
rows = getSelectResults( qds );
}
finally
{
if (qds != null) qds.close();
}
return populateObjects (rows);
}
/**
* Method to do inserts
*/
public static ObjectKey doInsert( Criteria criteria ) throws Exception
{
return BaseAtomsPeer
.doInsert( criteria, (DBConnection) null );
}
/**
* Method to do inserts. This method is to be used during a transaction,
* otherwise use the doInsert(Criteria) method. It will take care of
* the connection details internally.
*/
public static ObjectKey doInsert( Criteria criteria, DBConnection dbCon )
throws Exception
{
if ( dbCon == null )
{
// Set the correct dbName if it has not been overridden
// criteria.getDbName will return the same object if not set to
// another value so == check is okay and faster
if ( criteria.getDbName() == Torque.getDefaultDB() )
{
criteria.setDbName(DATABASE_NAME);
}
return BasePeer.doInsert( criteria );
}
else
{
return BasePeer.doInsert( criteria, dbCon );
}
}
/** Add all the columns needed to create a new object */
public static void addSelectColumns (Criteria criteria) throws Exception
{
criteria.addSelectColumn( ATOMS_ID );
criteria.addSelectColumn( SYMBOL );
criteria.addSelectColumn( MOLECULE_ID );
}
/**
* Create a new object of type cls from a resultset row starting
* from a specified offset. This is done so that you can select
* other rows than just those needed for this object. You may
* for example want to create two objects from the same row.
*/
public static Atoms row2Object (Record row,
int offset,
Class cls )
throws Exception
{
Atoms obj = (Atoms)cls.newInstance();
populateObject(row, offset, obj);
obj.setModified(false);
obj.setNew(false);
return obj;
}
/**
* Populates an object from a resultset row starting
* from a specified offset. This is done so that you can select
* other rows than just those needed for this object. You may
* for example want to create two objects from the same row.
*/
public static void populateObject (Record row,
int offset,
Atoms obj )
throws Exception
{
obj.setAtomsId(
new NumberKey(row.getValue(offset+0).asBigDecimal()));
obj.setSymbol(row.getValue(offset+1).asString());
obj.setMoleculeId(
new NumberKey(row.getValue(offset+2).asBigDecimal()));
}
/** Method to do selects */
public static Vector doSelect( Criteria criteria ) throws Exception
{
return populateObjects( doSelectVillageRecords(criteria) );
}
/** Method to do selects within a transaction */
public static Vector doSelect( Criteria criteria,
DBConnection dbCon )
throws Exception
{
return populateObjects( doSelectVillageRecords(criteria, dbCon) );
}
/**
* Grabs the raw Village records to be formed into objects.
* This method handles connections internally. The Record objects
* returned by this method should be considered readonly. Do not
* alter the data and call save(), your results may vary, but are
* certainly likely to result in hard to track MT bugs.
*/
public static Vector doSelectVillageRecords( Criteria criteria )
throws Exception
{
return BaseAtomsPeer
.doSelectVillageRecords(criteria, (DBConnection) null);
}
/**
* Grabs the raw Village records to be formed into objects.
* This method should be used for transactions
*/
public static Vector doSelectVillageRecords( Criteria criteria,
DBConnection dbCon )
throws Exception
{
if (criteria.getSelectColumns().size() == 0)
{
addSelectColumns ( criteria );
}
// BasePeer returns a Vector of Value (Village) arrays. The array
// order follows the order columns were placed in the Select clause.
if ( dbCon == null)
{
// Set the correct dbName if it has not been overridden
// criteria.getDbName will return the same object if not set to
// another value so == check is okay and faster
if ( criteria.getDbName() == Torque.getDefaultDB() )
{
criteria.setDbName(DATABASE_NAME);
}
return BasePeer.doSelect(criteria);
}
else
{
return BasePeer.doSelect(criteria, dbCon);
}
}
/**
* The returned vector will contain objects of the default type or
* objects that inherit from the default.
*/
public static Vector populateObjects(Vector records)
throws Exception
{
Vector results = new Vector(records.size());
// populate the object(s)
for ( int i=0; i<records.size(); i++ )
{
Record row = (Record)records.elementAt(i);
results.add(AtomsPeer.row2Object(row, 1,
AtomsPeer.getOMClass()));
}
return results;
}
/**
* The class that the Peer will make instances of.
* If the BO is abstract then you must implement this method
* in the BO.
*/
public static Class getOMClass()
throws Exception
{
return CLASS_DEFAULT;
}
/**
* Method to do updates.
*
* @param Criteria object containing data that is used to create the UPDATE statement.
*/
public static void doUpdate(Criteria criteria) throws Exception
{
BaseAtomsPeer
.doUpdate( criteria, (DBConnection) null );
}
/**
* Method to do updates. This method is to be used during a transaction,
* otherwise use the doUpdate(Criteria) method. It will take care of
* the connection details internally.
*
* @param Criteria object containing data that is used to create the UPDATE statement.
*/
public static void doUpdate(Criteria criteria, DBConnection dbCon) throws Exception
{
Criteria selectCriteria = new
Criteria(DATABASE_NAME, 2);
selectCriteria.put( ATOMS_ID, criteria.remove(ATOMS_ID) );
if ( dbCon == null )
{
// Set the correct dbName if it has not been overridden
// criteria.getDbName will return the same object if not set to
// another value so == check is okay and faster
if ( criteria.getDbName() == Torque.getDefaultDB() )
{
criteria.setDbName(DATABASE_NAME);
}
BasePeer.doUpdate( selectCriteria, criteria );
}
else
{
BasePeer.doUpdate( selectCriteria, criteria, dbCon );
}
}
/**
* Method to do deletes.
*
* @param Criteria object containing data that is used DELETE from database.
*/
public static void doDelete(Criteria criteria) throws Exception
{
BaseAtomsPeer
.doDelete ( criteria, (DBConnection) null );
}
/**
* Method to do deletes. This method is to be used during a transaction,
* otherwise use the doDelete(Criteria) method. It will take care of
* the connection details internally.
*
* @param Criteria object containing data that is used DELETE from database.
*/
public static void doDelete(Criteria criteria, DBConnection dbCon)
throws Exception
{
if ( dbCon == null )
{
// Set the correct dbName if it has not been overridden
// criteria.getDbName will return the same object if not set to
// another value so == check is okay and faster
if ( criteria.getDbName() == Torque.getDefaultDB() )
{
criteria.setDbName(DATABASE_NAME);
}
BasePeer.doDelete ( criteria );
}
else
{
BasePeer.doDelete ( criteria, dbCon );
}
}
/** Method to do selects */
public static Vector doSelect(Atoms obj) throws Exception
{
return doSelect(buildCriteria(obj));
}
/** Method to do inserts */
public static void doInsert( Atoms obj ) throws Exception
{
obj.setPrimaryKey(doInsert(buildCriteria(obj)));
obj.setNew(false);
obj.setModified(false);
}
/**
* @param obj the data object to update in the database.
*/
public static void doUpdate(Atoms obj) throws Exception
{
doUpdate(buildCriteria(obj));
}
/**
* @param obj the data object to delete in the database.
*/
public static void doDelete(Atoms obj) throws Exception
{
doDelete(buildCriteria(obj));
}
/**
* Method to do inserts. This method is to be used during a transaction,
* otherwise use the doInsert(Atoms) method. It will take
* care of the connection details internally.
*
* @param obj the data object to insert into the database.
*/
public static void doInsert( Atoms obj, DBConnection dbCon)
throws Exception
{
obj.setPrimaryKey(doInsert(buildCriteria(obj), dbCon));
obj.setNew(false);
obj.setModified(false);
}
/**
* Method to do update. This method is to be used during a transaction,
* otherwise use the doUpdate(Atoms) method. It will take
* care of the connection details internally.
*
* @param obj the data object to update in the database.
*/
public static void doUpdate(Atoms obj, DBConnection dbCon)
throws Exception
{
doUpdate(buildCriteria(obj), dbCon);
}
/**
* Method to delete. This method is to be used during a transaction,
* otherwise use the doDelete(Atoms) method. It will take
* care of the connection details internally.
*
* @param obj the data object to delete in the database.
*/
public static void doDelete(Atoms obj, DBConnection dbCon)
throws Exception
{
doDelete(buildCriteria(obj), dbCon);
}
/** Build a Criteria object from the data object for this peer */
public static Criteria buildCriteria( Atoms obj )
{
Criteria criteria = new Criteria();
if ( !obj.isNew() )
criteria.add( ATOMS_ID, obj.getAtomsId() );
criteria.add( SYMBOL, obj.getSymbol() );
criteria.add( MOLECULE_ID, obj.getMoleculeId() );
return criteria;
}
/**
* Retrieve a single object by pk
*
* @param ObjectKey pk
*/
public static Atoms retrieveByPK( ObjectKey pk )
throws Exception
{
DBConnection db = null;
Atoms retVal = null;
try
{
db = Torque.getConnection( DATABASE_NAME );
retVal = retrieveByPK( pk, db );
}
finally
{
if (db != null)
Torque.releaseConnection(db);
}
return(retVal);
}
/**
* Retrieve a single object by pk
*
* @param ObjectKey pk
* @param DBConnection dbcon
*/
public static Atoms retrieveByPK( ObjectKey pk, DBConnection dbcon )
throws Exception
{
Criteria criteria = new Criteria();
criteria.add( ATOMS_ID, pk );
Vector v = doSelect(criteria, dbcon);
if ( v.size() != 1)
{
throw new Exception("Failed to select one and only one row.");
}
else
{
return (Atoms)v.firstElement();
}
}
/**
* selects a collection of Atoms objects pre-filled with their
* Molecule objects.
*
* This method is protected by default in order to keep the public
* api reasonable. You can provide public methods for those you
* actually need in AtomsPeer.
*/
protected static Vector doSelectJoinMolecule(Criteria c)
throws Exception
{
// Set the correct dbName if it has not been overridden
// c.getDbName will return the same object if not set to
// another value so == check is okay and faster
if ( c.getDbName() == Torque.getDefaultDB() )
{
c.setDbName(DATABASE_NAME);
}
AtomsPeer.addSelectColumns(c);
int offset = numColumns + 1;
MoleculePeer.addSelectColumns(c);
c.addJoin(AtomsPeer.MOLECULE_ID,
MoleculePeer.MOLECULE_ID);
Vector rows = BasePeer.doSelect(c);
Vector results = new Vector();
for (int i=0; i<rows.size(); i++)
{
Record row = (Record)rows.elementAt(i);
Class omClass = AtomsPeer.getOMClass();
Atoms obj1 = (Atoms)AtomsPeer
.row2Object( row, 1, omClass);
omClass = MoleculePeer.getOMClass();
Molecule obj2 = (Molecule)MoleculePeer
.row2Object(row, offset, omClass);
boolean newObject = true;
for (int j=0; j<results.size(); j++)
{
Atoms temp_obj1 = (Atoms)results.elementAt(j);
Molecule temp_obj2 = temp_obj1.getMolecule();
if ( temp_obj2.getPrimaryKey().equals(obj2.getPrimaryKey() ) )
{
newObject = false;
temp_obj2.addAtoms(obj1);
break;
}
}
if (newObject)
{
obj2.initAtomss();
obj2.addAtoms(obj1);
}
results.add(obj1);
}
return results;
}
/**
* Returns the TableMap related to this peer. This method is not
* needed for general use but a specific application could have a
* need.
*/
protected static TableMap getTableMap()
throws Exception
{
return Torque.getDatabaseMap(DATABASE_NAME).getTable(TABLE_NAME);
}
}
--- NEW FILE: BaseBonds.java ---
package org.openscience.nmrshiftdb;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.om.*;
import org.apache.torque.util.BasePeer;
import org.apache.torque.util.Criteria;
import org.apache.torque.pool.DBConnection;
import org.apache.commons.util.ObjectUtils;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14:17:43 CET 2002]
*
* You should not use this class directly. It should not even be
* extended all references should be to Bonds
*/
public abstract class BaseBonds extends BaseObject
{
/** The Peer class */
private static final BondsPeer peer =
new BondsPeer();
/**
* The value for the bonds_id field
*/
private NumberKey bonds_id;
/**
* The value for the degree field
*/
private int degree;
/**
* The value for the molecule_id field
*/
private NumberKey molecule_id;
/**
* Get the BondsId
* @return NumberKey
*/
public NumberKey getBondsId()
{
return bonds_id;
}
/**
* Set the value of BondsId
*/
public void setBondsId(NumberKey v ) throws Exception
{
if (v != null && v.getValue() == null)
{
// If this is an Objectkey than this set method is
// probably storing the id of this object or some
// associated object. If the objectKey value is null
// then we convert the parameter to null so that this
// property is consistently null to indicate that no
// object is associated or defined.
v = null;
}
// update associated BondsAtoms
if (collBondsAtomss != null )
{
for (int i=0; i<collBondsAtomss.size(); i++)
{
((BondsAtoms)collBondsAtomss.get(i))
.setBondsId(v);
}
}
if ( !ObjectUtils.equals(this.bonds_id, v) )
{
this.bonds_id = v;
setModified(true);
}
}
/**
* Set the value of BondsId as a string.
*/
public void setBondsId(String v ) throws Exception
{
setBondsId(new NumberKey(v));
}
/**
* Get the Degree
* @return int
*/
public int getDegree()
{
return degree;
}
/**
* Set the value of Degree
*/
public void setDegree(int v )
{
if (this.degree != v)
{
this.degree = v;
setModified(true);
}
}
/**
* Get the MoleculeId
* @return NumberKey
*/
public NumberKey getMoleculeId()
{
return molecule_id;
}
/**
* Set the value of MoleculeId
*/
public void setMoleculeId(NumberKey v ) throws Exception
{
if (v != null && v.getValue() == null)
{
// If this is an Objectkey than this set method is
// probably storing the id of this object or some
// associated object. If the objectKey value is null
// then we convert the parameter to null so that this
// property is consistently null to indicate that no
// object is associated or defined.
v = null;
}
aMolecule = null;
if ( !ObjectUtils.equals(this.molecule_id, v) )
{
this.molecule_id = v;
setModified(true);
}
}
/**
* Set the value of MoleculeId as a string.
*/
public void setMoleculeId(String v ) throws Exception
{
setMoleculeId(new NumberKey(v));
}
private Molecule aMolecule;
/**
* Declares an association between this object and a Molecule object
*
* @param Molecule v
*/
public void setMolecule(Molecule v) throws Exception
{
setMoleculeId(v.getMoleculeId());
aMolecule = v;
}
public Molecule getMolecule() throws Exception
{
if ( aMolecule==null && (!ObjectUtils.equals(this.molecule_id, null)) )
{
aMolecule = MoleculePeer.retrieveByPK(this.molecule_id);
/* The following can be used instead of the line above to
guarantee the related object contains a reference
to this object, but this level of coupling
may be undesirable in many circumstances.
As it can lead to a db query with many results that may
never be used.
Molecule obj = MoleculePeer.retrieveByPK(this.molecule_id);
obj.addBondss(this);
*/
}
return aMolecule;
}
/**
* Provides convenient way to set a relationship based on a
* ObjectKey. e.g.
* <code>bar.setFooKey(foo.getPrimaryKey())</code>
*
*/
public void setMoleculeKey(ObjectKey key) throws Exception
{
setMoleculeId((NumberKey)key);
}
/**
* Collection to store aggregation of collBondsAtomss
*/
protected Vector collBondsAtomss;
/**
* Temporary storage of collBondsAtomss to save a possible db hit in
* the event objects are add to the collection, but the
* complete collection is never requested.
*/
protected void initBondsAtomss()
{
if (collBondsAtomss == null)
{
collBondsAtomss = new Vector();
}
}
/**
* Method called to associate a BondsAtoms object to this object
* through the BondsAtoms foreign key attribute
*
* @param BondsAtoms l
*/
public void addBondsAtoms(BondsAtoms l) throws Exception
{
getBondsAtomss().add(l);
l.setBonds((Bonds)this);
}
/**
* The criteria used to select the current contents of collBondsAtomss
*/
private Criteria lastBondsAtomssCriteria = null;
/**
* If this collection has already been initialized, returns
* the collection. Otherwise returns the results of
* getBondsAtomss(new Criteria())
*/
public Vector getBondsAtomss() throws Exception
{
if (collBondsAtomss == null)
{
collBondsAtomss = getBondsAtomss(new Criteria(10));
}
return collBondsAtomss;
}
/**
* If this collection has already been initialized with
* an identical criteria, it returns the collection.
* Otherwise if this Bonds has previously
* been saved, it will retrieve related BondsAtomss from storage.
* If this Bonds is new, it will return
* an empty collection or the current collection, the criteria
* is ignored on a new object.
*/
public Vector getBondsAtomss(Criteria criteria) throws Exception
{
if (collBondsAtomss == null)
{
if ( isNew() )
{
collBondsAtomss = new Vector();
}
else
{
criteria.add(BondsAtomsPeer.BONDS_ID, getBondsId() );
collBondsAtomss = BondsAtomsPeer.doSelect(criteria);
}
}
else
{
// criteria has no effect for a new object
if ( !isNew() )
{
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
criteria.add(BondsAtomsPeer.BONDS_ID, getBondsId() );
if ( !lastBondsAtomssCriteria.equals(criteria) )
{
collBondsAtomss = BondsAtomsPeer.doSelect(criteria);
}
}
}
lastBondsAtomssCriteria = criteria;
return collBondsAtomss;
}
/**
* If this collection has already been initialized with
* an identical criteria, it returns the collection.
* Otherwise if this Bonds is new, it will return
* an empty collection; or if this Bonds has previously
* been saved, it will retrieve related BondsAtomss from storage.
*
* This method is protected by default in order to keep the public
* api reasonable. You can provide public methods for those you
* actually need in Bonds.
*/
protected Vector getBondsAtomssJoinAtoms(Criteria criteria)
throws Exception
{
if (collBondsAtomss == null)
{
if ( isNew() )
{
collBondsAtomss = new Vector();
}
else
{
criteria.add(BondsAtomsPeer.BONDS_ID, getBondsId() );
collBondsAtomss = BondsAtomsPeer.doSelectJoinAtoms(criteria);
}
}
else
{
// the following code is to determine if a new query is
// called for. If the criteria is the same as the last
// one, just return the collection.
boolean newCriteria = true;
criteria.add(BondsAtomsPeer.BONDS_ID, getBondsId() );
if ( !lastBondsAtomssCriteria.equals(criteria) )
{
collBondsAtomss = BondsAtomsPeer.doSelectJoinAtoms(criteria);
}
}
lastBondsAtomssCriteria = criteria;
return collBondsAtomss;
}
private static Vector fieldNames_ = null;
/**
* Generate a list of field names.
*/
public static synchronized List getFieldNames()
{
if (fieldNames_ == null)
{
fieldNames_ = new Vector();
fieldNames_.add("BondsId");
fieldNames_.add("Degree");
fieldNames_.add("MoleculeId");
}
return fieldNames_;
}
/**
* Retrieves a field from the object by name passed in
* as a String.
*/
public Object getByName(String name)
{
if (name.equals("BondsId"))
{
return getBondsId();
}
if (name.equals("Degree"))
{
return new Integer(getDegree());
}
if (name.equals("MoleculeId"))
{
return getMoleculeId();
}
return null;
}
/**
* Retrieves a field from the object by name passed in
* as a String. The String must be one of the static
* Strings defined in this Class' Peer.
*/
public Object getByPeerName(String name)
{
if (name.equals(BondsPeer.BONDS_ID ))
{
return getBondsId();
}
if (name.equals(BondsPeer.DEGREE ))
{
return new Integer(getDegree());
}
if (name.equals(BondsPeer.MOLECULE_ID ))
{
return getMoleculeId();
}
return null;
}
/**
* Retrieves a field from the object by Position as specified
* in the xml schema. Zero-based.
*/
public Object getByPosition(int pos)
{
if ( pos == 0 )
{
return getBondsId();
}
if ( pos == 1 )
{
return new Integer(getDegree());
}
if ( pos == 2 )
{
return getMoleculeId();
}
return null;
}
/**
* Stores the object in the database. If the object is new,
* it inserts it; otherwise an update is performed.
*/
public void save() throws Exception
{
save(BondsPeer.getMapBuilder()
.getDatabaseMap().getName());
}
/**
* Stores the object in the database. If the object is new,
* it inserts it; otherwise an update is performed.
* Note: this code is here because the method body is
* auto-generated conditionally and therefore needs to be
* in this file instead of in the super class, BaseObject.
*/
public void save(String dbName) throws Exception
{
DBConnection dbCon = null;
try
{
dbCon = BasePeer.beginTransaction(dbName);
save(dbCon);
}
catch(Exception e)
{
BasePeer.rollBackTransaction(dbCon);
throw e;
}
BasePeer.commitTransaction(dbCon);
}
/** flag to prevent endless save loop, if this object is referenced
by another object which falls in this transaction. */
private boolean alreadyInSave = false;
/**
* Stores the object in the database. If the object is new,
* it inserts it; otherwise an update is performed. This method
* is meant to be used as part of a transaction, otherwise use
* the save() method and the connection details will be handled
* internally
*/
public void save(DBConnection dbCon) throws Exception
{
if (!alreadyInSave)
{
alreadyInSave = true;
// If this object has been modified, then save it to the database.
if (isModified())
{
if (isNew())
{
BondsPeer.doInsert((Bonds)this, dbCon);
setNew(false);
}
else
{
BondsPeer.doUpdate((Bonds)this, dbCon);
}
}
if (collBondsAtomss != null )
{
for (int i=0; i<collBondsAtomss.size(); i++)
{
((BondsAtoms)collBondsAtomss.get(i)).save(dbCon);
}
}
alreadyInSave = false;
}
}
/**
* Set the PrimaryKey using ObjectKey.
*
* @param ObjectKey bonds_id
*/
public void setPrimaryKey(ObjectKey bonds_id)
throws Exception {
setBondsId((NumberKey)bonds_id);
}
/**
* Set the PrimaryKey using a String.
*/
public void setPrimaryKey(String key) throws Exception
{
setBondsId(new NumberKey(key) );
}
/**
* returns an id that differentiates this object from others
* of its class.
*/
public ObjectKey getPrimaryKey()
{
return getBondsId();
}
/**
* Makes a copy of this object.
* It creates a new object filling in the simple attributes.
* It then fills all the association collections and sets the
* related objects to isNew=true.
*/
public Bonds copy() throws Exception
{
Bonds copyObj = new Bonds();
copyObj.setBondsId(bonds_id);
copyObj.setDegree(degree);
copyObj.setMoleculeId(molecule_id);
copyObj.setNew(false);
List v = getBondsAtomss();
for (int i=0; i<v.size(); i++)
{
BondsAtoms obj = (BondsAtoms) v.get(i);
copyObj.addBondsAtoms(obj.copy());
((Persistent)v.get(i)).setNew(true);
}
copyObj.setNew(true);
copyObj.setBondsId((NumberKey)null);
return copyObj;
}
/**
* returns a peer instance associated with this om. Since Peer classes
* are not to have any instance attributes, this method returns the
* same instance for all member of this class. The method could therefore
* be static, but this would prevent one from overriding the behavior.
*/
public BondsPeer getPeer()
{
return peer;
}
}
--- NEW FILE: BaseBondsAtoms.java ---
package org.openscience.nmrshiftdb;
import java.util.*;
import java.math.*;
import org.apache.torque.Torque;
import org.apache.torque.om.*;
import org.apache.torque.util.BasePeer;
import org.apache.torque.util.Criteria;
import org.apache.torque.pool.DBConnection;
import org.apache.commons.util.ObjectUtils;
/**
* This class was autogenerated by Torque on:
*
* [Tue Feb 12 14...
[truncated message content] |
|
From: Stefan K. <sk...@us...> - 2002-02-14 09:48:30
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/map In directory usw-pr-cvs1:/tmp/cvs-serv25080/map Log Message: Directory /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/map added to the repository |
|
From: Stefan K. <sh...@us...> - 2002-02-13 13:23:44
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/doc In directory usw-pr-cvs1:/tmp/cvs-serv12324 Added Files: jetspeedchanges.txt Log Message: Added that file for keeping track of our changes to the oringinal jetspeed war --- NEW FILE: jetspeedchanges.txt --- Übersicht über neue/veränderte files/directories im jetspeed-directory (Tue Feb 12 2002, Stefan Kuhn) Neu: WEB-INF/conf/local-portlets.xreg Unsere Portlet-Registry WEB-INF/lib/nmrshift.jar Unser jar WEB-INF/psml/user/con/ Neuer Test-Benutzer WEB-INF/psml/user/con/ Neuer Test-Benutzer WEB-INF/psml/role/contributor/ Neue Rolle WEB-INF/psml/role/contributor/ Neue Rolle images/nmrshift.gif Unser logo nmrshiftdb/ Verzeichnis für unsere Htmls Verändert: WEB-INF/psml/user/turbine/html/default.psml Layout für turbine, wird zu allen neuen usern kopiert WEB-INF/psml/anon/html/default.psml Layout ohne eingeloggten Benutzer WEB-INF/psml/role/user/default.psml Role für Standard-Benutzer WEB-INF/templates/vm/layouts/html/default.vm Gesamt-Layout WEB-INF/templates/vm/navigations/html/bottom.vm Untere Leiste WEB-INF/templates/vm/navigations/html/bottom.vm Obere Leiste Anmerkung: Für die Anlage der neuen Rollen/Benutzer sind auch Änderunge in der DB erforderlich |
|
From: Stefan K. <sh...@us...> - 2002-02-13 13:22:42
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/html
In directory usw-pr-cvs1:/tmp/cvs-serv12095
Added Files:
searchBySpectrum.html
Log Message:
Added my html file
--- NEW FILE: searchBySpectrum.html ---
<html>
<head>
<title></title>
<meta content="">
<style></style>
</head>
<body><form action="/jetspeed/portal/" method="post"><textarea name="spectrum" cols="10" rows="10"></textarea><input type="submit" value="search"><form> </body>
</html>
|
|
From: Stefan K. <sh...@us...> - 2002-02-13 13:20:42
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/portlets
In directory usw-pr-cvs1:/tmp/cvs-serv11608
Added Files:
ResultPortlet.java
Log Message:
Addes my portlet class
--- NEW FILE: ResultPortlet.java ---
package org.openscience.nmrshiftdb.portlets;
import org.apache.jetspeed.portal.portlets.AbstractPortlet;
import org.apache.turbine.util.RunData;
import org.apache.ecs.ConcreteElement;
import org.apache.ecs.StringElement;
import org.apache.jetspeed.util.servlet.*;
import javax.servlet.http.*;
/**
* Description of the Class
*
*@author root
*@created 12. Februar 2002
*/
public class ResultPortlet extends AbstractPortlet {
/**
* Gets the content attribute of the ResultPortlet object
*
*@param runData Description of Parameter
*@return The content value
*/
public ConcreteElement getContent(RunData runData) {
HttpServletRequest req = runData.getRequest();
String spec = req.getParameter("spectrum");
return (new StringElement("<html><body>Your result is:" + spec + "</body></html>"));
}
}
|
|
From: Stefan K. <sh...@us...> - 2002-02-13 13:15:28
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/portlets In directory usw-pr-cvs1:/tmp/cvs-serv10486/portlets Log Message: Directory /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/portlets added to the repository |
|
From: Stefan K. <sh...@us...> - 2002-02-13 13:14:37
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/html In directory usw-pr-cvs1:/tmp/cvs-serv10248/html Log Message: Directory /cvsroot/nmrshiftdb/nmrshiftdb/src/html added to the repository |
|
From: Stefan K. <sh...@us...> - 2002-02-13 11:22:15
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb
In directory usw-pr-cvs1:/tmp/cvs-serv12217
Modified Files:
build.xml
Log Message:
Edited build.xml for including jetspeed lib directory into classpath
Index: build.xml
===================================================================
RCS file: /cvsroot/nmrshiftdb/nmrshiftdb/build.xml,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -C2 -r1.1.1.1 -r1.2
*** build.xml 13 Feb 2002 10:23:07 -0000 1.1.1.1
--- build.xml 13 Feb 2002 11:22:10 -0000 1.2
***************
*** 6,10 ****
<property name="dist" value="dist" />
! <property name="lib" value="jar" />
<property name="bin" value="bin" />
--- 6,10 ----
<property name="dist" value="dist" />
! <property name="lib" value="lib" />
<property name="bin" value="bin" />
***************
*** 15,19 ****
<path id="project.class.path">
<pathelement location="." />
! <fileset dir="./jar">
<include name="*.jar" />
</fileset>
--- 15,22 ----
<path id="project.class.path">
<pathelement location="." />
! <fileset dir="${lib}">
! <include name="*.jar" />
! </fileset>
! <fileset dir="${jetspeed}/WEB-INF/lib">
<include name="*.jar" />
</fileset>
***************
*** 69,72 ****
--- 72,76 ----
</target>
</project>
+
|
|
From: Christoph S. <ste...@us...> - 2002-02-13 10:23:11
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb In directory usw-pr-cvs1:/tmp/cvs-serv27379 Log Message: This is the initial import procedure Status: Vendor Tag: cheminf Release Tags: initial N nmrshiftdb/License.txt N nmrshiftdb/Readme.txt N nmrshiftdb/build.xml N nmrshiftdb/src/java/org/openscience/nmrshiftdb/utils/gaussian/NMRReference.java N nmrshiftdb/src/java/org/openscience/nmrshiftdb/utils/gaussian/AbInitioDataset.java N nmrshiftdb/src/java/org/openscience/nmrshiftdb/utils/gaussian/GaussianParser.java N nmrshiftdb/doc/agenda.txt No conflicts created by this import ***** Bogus filespec: - ***** Bogus filespec: Imported ***** Bogus filespec: sources |