org.opensha.sha.cybershake.bombay
Class AbstractModProbConfig

java.lang.Object
  extended by org.opensha.sha.cybershake.bombay.AbstractModProbConfig
All Implemented Interfaces:
Named, ModProbConfig
Direct Known Subclasses:
ScenarioBasedModProbConfig, UniformModRupConfig

public abstract class AbstractModProbConfig
extends Object
implements ModProbConfig


Field Summary
protected  DBAccess db
           
 
Constructor Summary
AbstractModProbConfig(String name, int probModelID, int timeSpanID)
           
 
Method Summary
 int getHazardDatasetID(int erfID, int rvScenID, int sgtVarID, int velModelID, Date timeSpanDate)
           
 String getName()
          Returns the name of this object
 int getProbModelID()
           
 int getTimeSpanID()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opensha.sha.cybershake.bombay.ModProbConfig
getRupProbModifier, getRupVarProbModifier
 

Field Detail

db

protected final DBAccess db
Constructor Detail

AbstractModProbConfig

public AbstractModProbConfig(String name,
                             int probModelID,
                             int timeSpanID)
Method Detail

getHazardDatasetID

public int getHazardDatasetID(int erfID,
                              int rvScenID,
                              int sgtVarID,
                              int velModelID,
                              Date timeSpanDate)
Specified by:
getHazardDatasetID in interface ModProbConfig

getProbModelID

public int getProbModelID()
Specified by:
getProbModelID in interface ModProbConfig

getTimeSpanID

public int getTimeSpanID()
Specified by:
getTimeSpanID in interface ModProbConfig

getName

public String getName()
Description copied from interface: Named
Returns the name of this object

Specified by:
getName in interface Named