hepdata is hosted by Hepforge, IPPP Durham

cedar.hepdata.db
Class DBOut

java.lang.Object
  extended by cedar.hepdata.db.DBOut

public abstract class DBOut
extends java.lang.Object

Database output functionality. The object model classes are populated via Database queries.

Version:
$Date: 2006-01-20 11:25:51 +0000 (Fri, 20 Jan 2006) $ $Revision: 465 $
Author:
S Butterworth

Constructor Summary
DBOut()
           
 
Method Summary
static void select(Author author)
          Populates the input AUTHOR from the DB if it already exists - or inserts it if it doesn't
static void select(Particle particle)
          Populates the input PARTICLE from the DB if it already exists otherwise insert it
static void selectFromDb(Observable observable)
          Populates the input Observable from the DB
static void selectFromDb(Paper p)
          Populates the input Object from the DB
static void selectFromDb(Reaction reaction)
          Populates the input Reaction from the DB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBOut

public DBOut()
Method Detail

selectFromDb

public static void selectFromDb(Paper p)
Populates the input Object from the DB

Parameters:
p - Paper to be populated


selectFromDb

public static void selectFromDb(Reaction reaction)
                         throws HDException
Populates the input Reaction from the DB

Parameters:
reaction - reaction to be populated
Throws:
HDException


select

public static void select(Particle particle)
                   throws HDException
Populates the input PARTICLE from the DB if it already exists otherwise insert it

Parameters:
particle - to be populated
Throws:
HDException


selectFromDb

public static void selectFromDb(Observable observable)
                         throws HDException
Populates the input Observable from the DB

Parameters:
observable - to be populated
Throws:
HDException


select

public static void select(Author author)
                   throws HDException
Populates the input AUTHOR from the DB if it already exists - or inserts it if it doesn't

Parameters:
author - to be populated
Throws:
HDException


Generated 20060512 1623

HEPData