org.opensha.refFaultParamDb.dao
Interface EstimateDAO_API

All Known Implementing Classes:
DiscreteValueEstimateDB_DAO, FractileListEstimateDB_DAO, IntegerEstimateDB_DAO, LogNormalEstimateDB_DAO, MinMaxPrefEstimateDB_DAO, NormalEstimateDB_DAO, PDF_EstimateDB_DAO

public interface EstimateDAO_API

Title: NormalEstimateDAO_API.java

Description: Inserts/gets/delete normal estimates from the tables

Copyright: Copyright (c) 2002

Company:

Version:
1.0
Author:
not attributable

Method Summary
 void addEstimate(int estimateInstanceId, Estimate estimate)
          Add a new estimate object to the database
 Estimate getEstimate(int estimateInstanceId)
          Get the Estimate Instance info for a particular estimateInstanceId
 String getEstimateTypeName()
           
 boolean removeEstimate(int estimateInstanceId)
          Remove the Estimate from the list
 void setDB_Connection(DB_AccessAPI dbAccessAPI)
           
 

Method Detail

addEstimate

void addEstimate(int estimateInstanceId,
                 Estimate estimate)
                 throws InsertException
Add a new estimate object to the database

Throws:
InsertException

getEstimate

Estimate getEstimate(int estimateInstanceId)
                     throws QueryException
Get the Estimate Instance info for a particular estimateInstanceId

Throws:
QueryException

removeEstimate

boolean removeEstimate(int estimateInstanceId)
                       throws UpdateException
Remove the Estimate from the list

Throws:
UpdateException

getEstimateTypeName

String getEstimateTypeName()

setDB_Connection

void setDB_Connection(DB_AccessAPI dbAccessAPI)