org.opensha.refFaultParamDb.dao.db
Class XY_EstimateDB_DAO

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

public class XY_EstimateDB_DAO
extends java.lang.Object

Title: XY_EstimateDB_DAO.java

Description:

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
not attributable

Constructor Summary
XY_EstimateDB_DAO()
           
XY_EstimateDB_DAO(DB_AccessAPI dbAccessAPI)
          Constructor.
 
Method Summary
 void addEstimate(int estimateInstanceId, DiscretizedFunc func)
          Add the normal estimate into the database table
 void getEstimate(int estimateInstanceId, DiscretizedFunc func)
           
 boolean removeEstimate(int estimateInstanceId)
           
 void setDB_Connection(DB_AccessAPI dbAccessAPI)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XY_EstimateDB_DAO

public XY_EstimateDB_DAO(DB_AccessAPI dbAccessAPI)
Constructor.

Parameters:
dbConnection -

XY_EstimateDB_DAO

public XY_EstimateDB_DAO()
Method Detail

setDB_Connection

public void setDB_Connection(DB_AccessAPI dbAccessAPI)

addEstimate

public void addEstimate(int estimateInstanceId,
                        DiscretizedFunc func)
                 throws InsertException
Add the normal estimate into the database table

Parameters:
estimateInstanceId -
estimate -
Throws:
InsertException

getEstimate

public void getEstimate(int estimateInstanceId,
                        DiscretizedFunc func)
                 throws QueryException
Parameters:
estimateInstanceId -
Throws:
QueryException

removeEstimate

public boolean removeEstimate(int estimateInstanceId)
                       throws UpdateException
Parameters:
estimateInstanceId -
Returns:
Throws:
UpdateException