org.opensha.refFaultParamDb.dao.db
Class CombinedSlipRateInfoDB_DAO

java.lang.Object
  extended by org.opensha.refFaultParamDb.dao.db.CombinedSlipRateInfoDB_DAO

public class CombinedSlipRateInfoDB_DAO
extends Object

Title: CombinedSlipRateInfoDB_DAO.java

Description: this class gets/puts slip rate data for Combined Events Info for a site in the database.

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
CombinedSlipRateInfoDB_DAO(DB_AccessAPI dbAccess)
           
 
Method Summary
 void addSlipRateInfo(int infoId, String entryDate, CombinedSlipRateInfo combinedSlipRateInfo)
          Add slip rate info into the database
 CombinedSlipRateInfo getCombinedSlipRateInfo(int infoId, String entryDate)
          Return the slip rate info for a combined info for a site
 void setDB_Connection(DB_AccessAPI dbAccess)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CombinedSlipRateInfoDB_DAO

public CombinedSlipRateInfoDB_DAO(DB_AccessAPI dbAccess)
Method Detail

setDB_Connection

public void setDB_Connection(DB_AccessAPI dbAccess)

addSlipRateInfo

public void addSlipRateInfo(int infoId,
                            String entryDate,
                            CombinedSlipRateInfo combinedSlipRateInfo)
Add slip rate info into the database

Parameters:
infoId -
entryDate -
combinedSlipRateInfo -

getCombinedSlipRateInfo

public CombinedSlipRateInfo getCombinedSlipRateInfo(int infoId,
                                                    String entryDate)
Return the slip rate info for a combined info for a site

Parameters:
infoId -
entryDate -
Returns: