hepdata is hosted by Hepforge, IPPP Durham

Uses of Class
cedar.hepdata.util.HDException

Packages that use HDException
cedar.hepdata.db Controls database access for the hepdata application 
cedar.hepdata.file Reads from flat files generated from legacy HEPData database 
cedar.hepdata.migration.model   
cedar.hepdata.model Object Model for HEPData 
 

Uses of HDException in cedar.hepdata.db
 

Methods in cedar.hepdata.db that throw HDException

static void DBManager.add(Axis axis)
          Add an Axis record to the DB. static void DBManager.add(Dataset ds)
          Add a Dataset record to the DB. static void DBManager.add(Detector d)
          Add a Detector to the DB, if it doesn't already exist. static void DBManager.add(Experiment ex)
          Add an Experiment record if it doesn't already exist. static void DBManager.add(Observable obs)
          Add an Observable record to the DB. static void DBManager.add(Paper paper)
          Add a Paper record to the DB, or update comment if the record already exists. static void DBManager.add(Qualifier q)
          Adds Qualifier record to the Database. static void DBManager.add(Reaction r)
          Add a Reaction record to the DB - first checks that the reaction is not already there. static void DBManager.add(Reaction r, Particle fp)
          Add a Final Particle Record: Particle in the final state of a reaction static void DBManager.add(Reference reference)
          Add a Reference record to the DB. static void DBMatch.findMatches(Match m)
          A Match should correspond to a list of datasets, or yaxes, or xaxes Attempt to match headers and descriptions on each table and populate the relevant collection on Match. protected static boolean DBUtil.isPresent(Axis ax)
          queries axis table to find if record with given id exists protected static boolean DBUtil.isPresent(Dataset ds)
          queries dataset table to find if record with given id exists protected static boolean DBUtil.isPresent(Paper p)
          queries paper table to find if record with given id exists protected static void DBUtil.lookupDS(Axis ax)
          Replace legacy values of paperId and datasetId with new values from the DB. protected static void DBUtil.lookupDS(Dataset ds)
          Replace legacy values of paperId and datasetId with new values from the DB. protected static void DBUtil.lookupDS(Observable obs)
          Replace legacy values of paperId and datasetId with new values from the DB. protected static void DBUtil.lookupDS(Reaction r)
          Replace legacy values of paperId and datasetId with new values from the DB. protected static boolean DBUtil.nullDescRecord(Dataset ds)
          Finds whether this Dataset record has a description static void DBOut.select(Author author)
          Populates the input AUTHOR from the DB if it already exists - or inserts it if it doesn't static void DBOut.select(Particle particle)
          Populates the input PARTICLE from the DB if it already exists otherwise insert it protected static void DBUtil.selectDatasetHeader(Dataset ds)
          Lookup a Header for a Dataset static void DBOut.selectFromDb(Observable observable)
          Populates the input Observable from the DB static void DBOut.selectFromDb(Reaction reaction)
          Populates the input Reaction from the DB protected static boolean DBUtil.selectId(Detector d)
          Populates the input Detector's ID from the DB protected static boolean DBUtil.selectId(Experiment ex)
          Populates the input Experiment's ID from the DB protected static boolean DBUtil.selectId(Observable obs)
          Populates the input Observable's ID from the DB protected static Property DBUtil.selectId(Property p)
          Populates the input Property's ID from the DB protected static boolean DBUtil.selectId(Reaction reaction)
          Populates the input REaCTION's ID from the DB protected static boolean DBUtil.selectId(Reference r)
          Populates the input Reference's ID from the DB protected static int DBUtil.selectIdFromLegacy(int leg)
          Lookup a PaperID from a Legacy PaperID protected static void DBUtil.selectMaxId(Dataset ds)
          Find Maximum dataset number on the database for a given paper Set the provided dataset's ID to one greater than this maximum  

Uses of HDException in cedar.hepdata.file
 

Methods in cedar.hepdata.file that throw HDException

 void HDObjectReader.fill(Axis axis)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Dataset dataset)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Detector detector)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Experiment experiment)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Observable observable)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Paper paper)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Qualifier qualifier)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Reaction reaction)
          Populates the input object with fields read consecutively from a line of the input data.  void HDObjectReader.fill(Reference reference)
          Populates the input object with fields read consecutively from a line of the input data. static java.util.Vector<ErrorValue> HDValueReader.getErrors(java.lang.String desc)
          A systematic error is input as a description string It is decoded into a collection of ErrorValues. protected  Value HDValueReader.getValue(int pointId, java.lang.String desc)
          Construction of a Value object from a text string.  Value HDValueReader.getValue(java.lang.String desc)
          Creates a value by decoding input string.  

Uses of HDException in cedar.hepdata.migration.model
 

Methods in cedar.hepdata.migration.model that throw HDException

 void Match.addMatch(int pId, int dsId, java.lang.String yId, java.lang.String xId)
          Adds object with specified ids to Matchable collection  void Match.addMatch(java.lang.Object match)
          Match contains a collection of Matchable objects This method adds to the collection (if object is a suitable one)  void Qualifier.createMatch(int pId, java.lang.String sysn, java.util.Map<java.lang.String,java.lang.String> conditions)
             

Constructors in cedar.hepdata.migration.model that throw HDException

Match(int paperId, java.lang.String sysn, java.util.Map<java.lang.String,java.lang.String> cond)
          Match is defined by a header and set of conditions to be used to find sets of data matching these conditions. Qualifier(HDObjectReader reader)
          builds qualifier from a file  

Uses of HDException in cedar.hepdata.model
 

Methods in cedar.hepdata.model that throw HDException

 Paper Dataset.getPaper()
             void Axis.toDb()
          Save Axis to database *** This shouldn't be here!  

Constructors in cedar.hepdata.model that throw HDException

Author(int id)
          builds an author from an id Author(java.lang.String description)
          Build an Author from the DB. Axis(HDObjectReader reader)
          Builds an Axis from a file *** to be moved to migration code only Dataset(HDObjectReader reader)
          Builds a dataset from a file (should be moved into migration code) Detector(HDObjectReader reader)
          builds detector from a file Experiment(HDObjectReader reader)
          builds experiment from a file Observable(HDObjectReader reader)
          builds an observable from a file Observable(int id)
          builds an observable from an id Observable(int paperId, int dsId, int axId, java.lang.String desc)
          Build an observable from the description. Observable(java.lang.String desc)
          Build an observable from the DB. Paper(HDObjectReader reader)
          builds a paper from a file Paper(int paperId)
          Build a paper from the DB. Paper(java.lang.Integer irn)
          Build a paper from the DB. Particle(int id)
          builds a particle from an id Particle(java.lang.String particleName)
          Build a particle from the DB. Reaction(HDObjectReader reader)
          builds a reaction from a file Reaction(int reactionId)
          Build a reaction from the DB. Reaction(int paperId, int dsId, int axId, java.lang.String description)
          Build a reaction from a description. Reference(HDObjectReader reader)
          builds ref from a file Scalefactor(HDObjectReader reader)
          builds scalefactor from a file Systematic(HDObjectReader reader)
          builds systematic from a file XAxis(HDObjectReader reader)
          builds value from a file YAxis(HDObjectReader reader)
          builds axis from a file  


Generated 20060512 1623

HEPData