org.opensha.refFaultParamDb.dao.db
Class CombinedDisplacementInfoDB_DAO

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

public class CombinedDisplacementInfoDB_DAO
extends java.lang.Object

Title: CombinedDisplacementInfoDB_DAO.java

Description:

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
CombinedDisplacementInfoDB_DAO(DB_AccessAPI dbAccess)
           
 
Method Summary
 void addDisplacementInfo(int infoId, java.lang.String entryDate, CombinedDisplacementInfo combinedDispInfo)
          Add displacement info into the database
 CombinedDisplacementInfo getDisplacementInfo(int infoId, java.lang.String entryDate)
          Get the displacement based on combined events info Id
 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

CombinedDisplacementInfoDB_DAO

public CombinedDisplacementInfoDB_DAO(DB_AccessAPI dbAccess)
Method Detail

setDB_Connection

public void setDB_Connection(DB_AccessAPI dbAccess)

addDisplacementInfo

public void addDisplacementInfo(int infoId,
                                java.lang.String entryDate,
                                CombinedDisplacementInfo combinedDispInfo)
Add displacement info into the database

Parameters:
infoId -
entryDate -
combinedDispInfo -

getDisplacementInfo

public CombinedDisplacementInfo getDisplacementInfo(int infoId,
                                                    java.lang.String entryDate)
Get the displacement based on combined events info Id

Parameters:
infoId -
entryDate -
Returns: