|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.refFaultParamDb.dao.db.TimeInstanceDB_DAO
public class TimeInstanceDB_DAO
Title: TimeInstanceDB_DAO.java
Description: Time Instance DB DAO. It adds the time instance to the database. It checks whether time is exact time or an estimate and handles appropriately
Copyright: Copyright (c) 2002
Company:
| Constructor Summary | |
|---|---|
TimeInstanceDB_DAO(DB_AccessAPI dbAccessAPI)
Constructor. |
|
| Method Summary | |
|---|---|
int |
addTimeInstance(TimeAPI timeInstance)
Add time instance to the database |
TimeAPI |
getTimeInstance(int timeInstanceId)
Get time instance based on time instances id |
boolean |
removeTimeInstance(int timeInstanceId)
remove the time instance from the table |
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 |
|---|
public TimeInstanceDB_DAO(DB_AccessAPI dbAccessAPI)
dbConnection - | Method Detail |
|---|
public void setDB_Connection(DB_AccessAPI dbAccessAPI)
public int addTimeInstance(TimeAPI timeInstance)
throws InsertException
estimateInstance -
InsertException
public TimeAPI getTimeInstance(int timeInstanceId)
throws QueryException
timeInstanceId -
QueryException
public boolean removeTimeInstance(int timeInstanceId)
throws UpdateException
timeInstanceId -
UpdateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||