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
|
Method Summary |
edu.iris.Fissures.Location |
extract(java.sql.ResultSet rs)
|
edu.iris.Fissures.Location |
extract(java.sql.ResultSet rs,
java.lang.String prefix)
|
edu.iris.Fissures.Location |
get(int id)
|
int |
getDBId(edu.iris.Fissures.Location location)
|
int |
put(edu.iris.Fissures.Location location)
|
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(edu.iris.Fissures.Location location)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
getDBId
public int getDBId(edu.iris.Fissures.Location location)
throws java.sql.SQLException,
NotFound
- Throws:
java.sql.SQLException
NotFound
get
public edu.iris.Fissures.Location get(int id)
throws java.sql.SQLException,
NotFound
- Throws:
java.sql.SQLException
NotFound
extract
public edu.iris.Fissures.Location extract(java.sql.ResultSet rs)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
extract
public edu.iris.Fissures.Location extract(java.sql.ResultSet rs,
java.lang.String prefix)
throws java.sql.SQLException
- Throws:
java.sql.SQLException