|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectit.unimo.dbgroup.momis.communication.WrapperRSProxy
Simple implementation of the WrapperRS useful for subclassing. See the interface for comments to each method.
| Field Summary | |
private WrapperRS |
_wrapperRS
The core wrapperRS |
| Constructor Summary | |
WrapperRSProxy(WrapperRS wrapperRS)
Constructor! |
|
| Method Summary | |
void |
close()
Releases this ResultSet object's database and resources immediately instead of waiting for this to happen when it is automatically closed. |
boolean |
getBoolean(int column)
|
char |
getChar(int column)
Get the char value of the specified column in the resultset. |
long |
getColumnByName(java.lang.String column)
Get the position of a column identified by name. |
long |
getColumnCount()
Get the number of column in the resultset. |
java.lang.String |
getColumnName(int column)
Get the name of the specified column in the resultset. |
java.lang.String |
getColumnType(int column)
Get the Type of the specified column in the resultset. |
java.util.Date |
getDate(int column)
|
double |
getDouble(int column)
Get the double value of the specified column in the resultset. |
float |
getFloat(int column)
Get the float value of the specified column in the resultset. |
long |
getLong(int column)
Get the long value of the specified column in the resultset. |
java.lang.String |
getRSAsString()
|
java.lang.String |
getRSAsXmlString()
|
java.lang.String |
getString(int column)
Get the String value of the specified column in the resultset. |
boolean |
next()
Moves the cursor down one row from its current position. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private WrapperRS _wrapperRS
| Constructor Detail |
public WrapperRSProxy(WrapperRS wrapperRS)
| Method Detail |
public void close()
throws WrapperException
WrapperRS
close in interface WrapperRSWrapperException
public long getColumnByName(java.lang.String column)
throws WrapperException
WrapperRS
getColumnByName in interface WrapperRScolumn - the name of the chosen column.
WrapperException
public long getColumnCount()
throws WrapperException
WrapperRS
getColumnCount in interface WrapperRSWrapperException
public java.lang.String getColumnName(int column)
throws WrapperException
WrapperRS
getColumnName in interface WrapperRScolumn - the number of the chosen column.
WrapperException
public java.lang.String getColumnType(int column)
throws WrapperException
WrapperRS
getColumnType in interface WrapperRScolumn - the number of the chosen column.
WrapperException
public char getChar(int column)
throws WrapperException
WrapperRS
getChar in interface WrapperRScolumn - the number of the chosen column.
WrapperException
public double getDouble(int column)
throws WrapperException
WrapperRS
getDouble in interface WrapperRScolumn - the number of the chosen column.
WrapperException
public float getFloat(int column)
throws WrapperException
WrapperRS
getFloat in interface WrapperRScolumn - the number of the chosen column.
WrapperException
public long getLong(int column)
throws WrapperException
WrapperRS
getLong in interface WrapperRScolumn - the number of the chosen column.
WrapperException
public java.util.Date getDate(int column)
throws WrapperException
getDate in interface WrapperRSWrapperException
public boolean getBoolean(int column)
throws WrapperException
getBoolean in interface WrapperRSWrapperException
public java.lang.String getString(int column)
throws WrapperException
WrapperRS
getString in interface WrapperRScolumn - the number of the chosen column.
WrapperException
public java.lang.String getRSAsString()
throws WrapperException
getRSAsString in interface WrapperRSWrapperException
public java.lang.String getRSAsXmlString()
throws WrapperException
getRSAsXmlString in interface WrapperRSWrapperException
public boolean next()
throws WrapperException
WrapperRSA ResultSet cursor is initially positioned before the first row; the first call to next makes the first row the current row; the second call makes the second row the current row, and so on.
next in interface WrapperRSWrapperException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||