|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opensha.refFaultParamDb.dao.db.FaultSectionConnectionsDB_DAO
public class FaultSectionConnectionsDB_DAO
Title: FaultModelDB_DAO.java
Description: Performs insert/delete/update on fault model on oracle database
Copyright: Copyright (c) 2002
Company:
| Constructor Summary | |
|---|---|
FaultSectionConnectionsDB_DAO(DB_AccessAPI dbAccessAPI)
|
|
| Method Summary | |
|---|---|
void |
addConnection(FaultSectionConnection connection)
Add a new fault connection |
FaultSectionConnectionList |
getAllConnections()
Get all the fault Models from the database |
static void |
main(String[] args)
|
int |
removeAllConnections(int id)
remove any fault connection that involves the given section the IDs are supplied in |
boolean |
removeConnection(int id1,
int id2)
remove a fault connection from the database. |
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 FaultSectionConnectionsDB_DAO(DB_AccessAPI dbAccessAPI)
| Method Detail |
|---|
public void setDB_Connection(DB_AccessAPI dbAccessAPI)
public void addConnection(FaultSectionConnection connection)
throws InsertException
connection -
InsertException
public boolean removeConnection(int id1,
int id2)
throws UpdateException
id1 - id2 -
UpdateException
public int removeAllConnections(int id)
throws UpdateException
id1 -
UpdateException
public FaultSectionConnectionList getAllConnections()
throws QueryException
QueryExceptionpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||