org.opensha.sha.cybershake.db
Class HazardDataset2DB

java.lang.Object
  extended by org.opensha.sha.cybershake.db.HazardDataset2DB

public class HazardDataset2DB
extends Object


Constructor Summary
HazardDataset2DB(DBAccess db)
           
 
Method Summary
 int addNewDataset(int erfID, int rvScenID, int sgtVarID, int velModelID, int probModelID, int timeSpanID, Date timeSpanStart)
           
 int getDatasetID(int erfID, int rvScenID, int sgtVarID, int velModelID, int probModelID, int timeSpanID, Date timeSpanStart)
           
 int getDefaultDatasetID(CybershakeRun run)
           
 int getDefaultProbModelID(int erfID)
           
 int getDefaultTimeSpanID(int erfID)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HazardDataset2DB

public HazardDataset2DB(DBAccess db)
Method Detail

getDefaultProbModelID

public int getDefaultProbModelID(int erfID)

getDefaultTimeSpanID

public int getDefaultTimeSpanID(int erfID)

getDefaultDatasetID

public int getDefaultDatasetID(CybershakeRun run)

getDatasetID

public int getDatasetID(int erfID,
                        int rvScenID,
                        int sgtVarID,
                        int velModelID,
                        int probModelID,
                        int timeSpanID,
                        Date timeSpanStart)

addNewDataset

public int addNewDataset(int erfID,
                         int rvScenID,
                         int sgtVarID,
                         int velModelID,
                         int probModelID,
                         int timeSpanID,
                         Date timeSpanStart)

main

public static void main(String[] args)