|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.refFaultParamDb.dao.db.TimeTypeDB_DAO
public class TimeTypeDB_DAO
Title: TimeTypeDB_DAO.java
Description: Find time type id corresponding to a particular time type(exact time or time estimate)
Copyright: Copyright (c) 2002
Company:
| Field Summary | |
|---|---|
static String |
EXACT_TIME
|
static String |
TIME_ESTIMATE
|
| Constructor Summary | |
|---|---|
TimeTypeDB_DAO(DB_AccessAPI dbAccessAPI)
Constructor. |
|
| Method Summary | |
|---|---|
String |
getTimeType(int timeTypeId)
|
int |
getTimeTypeId(String timeType)
Get time type id for a particular time type(estimate/excat time) 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 |
| Field Detail |
|---|
public static final String EXACT_TIME
public static final String TIME_ESTIMATE
| Constructor Detail |
|---|
public TimeTypeDB_DAO(DB_AccessAPI dbAccessAPI)
dbConnection - | Method Detail |
|---|
public void setDB_Connection(DB_AccessAPI dbAccessAPI)
public int getTimeTypeId(String timeType)
throws QueryException
timeType -
QueryException
public String getTimeType(int timeTypeId)
throws QueryException
QueryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||