|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.schwarzrot.data.access.jdbc.JDBCResultSetAccessor
public class JDBCResultSetAccessor
implementation of DataAccessor
to wrap a jdbc-result set in an
abstract way.
Constructor Summary | |
---|---|
JDBCResultSetAccessor(ResultSet rs,
Connection con)
|
Method Summary | |
---|---|
void |
close()
close the data container and free resources |
Collection<String> |
entryNames()
returns a list of names, that are known by this data collection |
Object |
getHandle()
returns a handle to the data |
Object |
getObject(String name)
returns a value by name |
boolean |
hasData()
returns true, if data is available, otherwise false |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JDBCResultSetAccessor(ResultSet rs, Connection con)
Method Detail |
---|
public void close()
DataAccessor
close
in interface DataAccessor
public Collection<String> entryNames()
DataAccessor
entryNames
in interface DataAccessor
public final Object getHandle()
DataAccessor
getHandle
in interface DataAccessor
public Object getObject(String name)
DataAccessor
getObject
in interface DataAccessor
name
- - name of the value
public boolean hasData()
DataAccessor
hasData
in interface DataAccessor
|
SRJRCFrames v0.1.296 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |