hepdata is hosted by Hepforge, IPPP Durham

cedar.hepdata.db
Class DBMatch

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

public abstract class DBMatch
extends java.lang.Object

Matching functionality for Systematic & Scalefactor. In the legacy database, these were matched to datasets,axes and values by a comparision of headers and descriptions in String format. This class enables dataset,axis and point ids to be assigned to the errors. It is probably only useful for migration, since post-migration, String matching will no longer be necessary!

Version:
$Date: 2006-02-02 15:50:12 +0000 (Thu, 02 Feb 2006) $ $Revision: 498 $
Author:
S Butterworth

Constructor Summary
DBMatch()
           
 
Method Summary
static void 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBMatch

public DBMatch()
Method Detail

findMatches

public static void findMatches(Match m)
                        throws HDException
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.

Parameters:
m - Match contains header, condition header and value to be matched with axis and dataset headers and descriptions. Queries are constructed in increasing order of complexity if the conditions remain unmatched.
Throws:
HDException


Generated 20060512 1623

HEPData