[Nmrshiftdb-devel] CVS: nmrshiftdb/src/java/org/openscience/nmrshiftdb/util SubmittingData.java,1.19
Brought to you by:
steinbeck
|
From: Stefan K. <sh...@us...> - 2002-05-30 15:59:22
|
Update of /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/util
In directory usw-pr-cvs1:/tmp/cvs-serv6224/src/java/org/openscience/nmrshiftdb/util
Modified Files:
SubmittingData.java
Log Message:
This is better
Index: SubmittingData.java
===================================================================
RCS file: /cvsroot/nmrshiftdb/nmrshiftdb/src/java/org/openscience/nmrshiftdb/util/SubmittingData.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** SubmittingData.java 30 May 2002 15:35:10 -0000 1.19
--- SubmittingData.java 30 May 2002 15:59:18 -0000 1.20
***************
*** 425,435 ****
* @param signalstable The signals as a vector of valueTriples
* @param molWithH The molecule as cdk molecule including implicit hs
* @return The saved spectrum
* @exception Exception Something wrong with the database
*/
! public DBSpectrum saveSpectrum(Date now, String literature, DBMolecule dbmol, NumberKey userKey, DBSpectrumType choosenSpectrumType, String spectrumForApplet, String nmrshiftdbnr, Vector originalConditions, Vector signalstable, Molecule molWithH) throws Exception {
DBSpectrum spectrum = new DBSpectrum();
spectrum.setDate(now);
! spectrum.setReviewFlag("true");
String reviewKey = "" + new Double("" + Math.random() * 100000).intValue();
spectrum.setReviewKey(reviewKey);
--- 425,436 ----
* @param signalstable The signals as a vector of valueTriples
* @param molWithH The molecule as cdk molecule including implicit hs
+ * @param reiewFlag The reviewFlag set to the spectra
* @return The saved spectrum
* @exception Exception Something wrong with the database
*/
! public DBSpectrum saveSpectrum(Date now, String literature, DBMolecule dbmol, NumberKey userKey, DBSpectrumType choosenSpectrumType, String spectrumForApplet, String nmrshiftdbnr, Vector originalConditions, Vector signalstable, Molecule molWithH, String reviewFlag) throws Exception {
DBSpectrum spectrum = new DBSpectrum();
spectrum.setDate(now);
! spectrum.setReviewFlag(reviewFlag);
String reviewKey = "" + new Double("" + Math.random() * 100000).intValue();
spectrum.setReviewKey(reviewKey);
|