edu.sc.seis.fissuresUtil.database
Class JDBCLocation
java.lang.Object
edu.sc.seis.fissuresUtil.database.JDBCTable
edu.sc.seis.fissuresUtil.database.JDBCLocation
public class JDBCLocation
- extends JDBCTable
|
Field Summary |
protected java.sql.PreparedStatement |
getDBIdStmt
|
protected java.sql.PreparedStatement |
getStmt
|
protected java.sql.PreparedStatement |
putStmt
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
putStmt
protected java.sql.PreparedStatement putStmt
getDBIdStmt
protected java.sql.PreparedStatement getDBIdStmt
getStmt
protected java.sql.PreparedStatement getStmt
JDBCLocation
public JDBCLocation(java.sql.Connection conn)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
JDBCLocation
public JDBCLocation(java.sql.Connection conn,
JDBCQuantity jdbcQuantity)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
put
public int put(Location location)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDBId
public int getDBId(Location location)
throws java.sql.SQLException,
NotFound
- Throws:
java.sql.SQLException
NotFound
get
public Location get(int id)
throws java.sql.SQLException,
NotFound
- Throws:
java.sql.SQLException
NotFound
extract
public Location extract(java.sql.ResultSet rs)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
extract
public Location extract(java.sql.ResultSet rs,
java.lang.String prefix)
throws java.sql.SQLException
- Throws:
java.sql.SQLException