edu.sc.seis.fissuresUtil.database
Class JDBCParameterRef
java.lang.Object
edu.sc.seis.fissuresUtil.database.JDBCTable
edu.sc.seis.fissuresUtil.database.JDBCParameterRef
public class JDBCParameterRef
- extends JDBCTable
Method Summary |
edu.iris.Fissures.IfParameterMgr.ParameterRef |
get(int id)
This method returns the ParameterRef given the dbid |
int |
getDBId(edu.iris.Fissures.IfParameterMgr.ParameterRef parameterRef)
This method returns the dbid given teh ParameterRef Object. |
int |
put(edu.iris.Fissures.IfParameterMgr.ParameterRef parameterRef)
Inserts the detaisl of ParameterRef into the database |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JDBCParameterRef
public JDBCParameterRef(java.sql.Connection conn)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
put
public int put(edu.iris.Fissures.IfParameterMgr.ParameterRef parameterRef)
throws java.sql.SQLException
- Inserts the detaisl of ParameterRef into the database
- Parameters:
parameterref
- - ParameterRef
- Throws:
java.sql.SQLException
getDBId
public int getDBId(edu.iris.Fissures.IfParameterMgr.ParameterRef parameterRef)
throws java.sql.SQLException,
NotFound
- This method returns the dbid given teh ParameterRef Object.
- Parameters:
parameterref
- - ParameterRef
- Returns:
- int - the dbid
- Throws:
java.sql.SQLException
NotFound
get
public edu.iris.Fissures.IfParameterMgr.ParameterRef get(int id)
throws java.sql.SQLException,
NotFound
- This method returns the ParameterRef given the dbid
- Parameters:
id
- - the dbid
- Returns:
- - ParameterRef
- Throws:
java.sql.SQLException
NotFound