jxUtil 0.6

org.sourceforge.jxutil.sql
Class XAbstractRowSet

java.lang.Object
  |
  +--org.sourceforge.jxutil.sql.ParameterContainer
        |
        +--org.sourceforge.jxutil.sql.XAbstractRowSet
All Implemented Interfaces:
ResultSet, RowSet
Direct Known Subclasses:
XCachedRowSet, XRSProxyRowSet

public abstract class XAbstractRowSet
extends ParameterContainer
implements RowSet

XAbstractRowSet implements RowSet. Things left abstract:

Version:
0.1, 01/05/23
Author:
Keve Müller

Nested Class Summary
 
Nested classes inherited from class org.sourceforge.jxutil.sql.ParameterContainer
ParameterContainer.AStreamParameter, ParameterContainer.BStreamParameter, ParameterContainer.DateCalParameter, ParameterContainer.NullTypeNameParameter, ParameterContainer.NullTypeParameter, ParameterContainer.ObjParameter, ParameterContainer.ObjTargetParameter, ParameterContainer.ObjTargetScaleParameter, ParameterContainer.Parameter, ParameterContainer.ReaderParameter, ParameterContainer.StreamParameter, ParameterContainer.StringParameter, ParameterContainer.TimeCalParameter, ParameterContainer.TimestampCalParameter
 
Field Summary
protected  String command
           
protected  int concurrency
           
protected  String dataSourceName
           
protected  boolean escapeProcessing
           
(package private)  Vector listeners
           
protected  int maxFieldSize
           
protected  int maxRows
           
protected  String password
           
protected  int queryTimeout
           
protected  boolean readOnly
           
protected  int transactionIsolation
           
protected  int type
           
protected  Map typeMap
           
protected  String url
           
protected  String username
           
 
Fields inherited from class org.sourceforge.jxutil.sql.ParameterContainer
paramObjects, paramSet, paramTypes
 
Fields inherited from interface java.sql.ResultSet
CLOSE_CURSORS_AT_COMMIT, CONCUR_READ_ONLY, CONCUR_UPDATABLE, FETCH_FORWARD, FETCH_REVERSE, FETCH_UNKNOWN, HOLD_CURSORS_OVER_COMMIT, TYPE_FORWARD_ONLY, TYPE_SCROLL_INSENSITIVE, TYPE_SCROLL_SENSITIVE
 
Constructor Summary
protected XAbstractRowSet()
           
 
Method Summary
 void addRowSetListener(RowSetListener listener)
           
 void fireCursorMove(RowSetEvent ev)
           
 void fireRowChange(RowSetEvent ev)
           
 void fireRowSetChange(RowSetEvent ev)
           
 String getCommand()
           
 String getDataSourceName()
           
 boolean getEscapeProcessing()
           
 int getMaxFieldSize()
           
 int getMaxRows()
           
 String getPassword()
           
 int getQueryTimeout()
           
 int getTransactionIsolation()
           
 Map getTypeMap()
           
 String getUrl()
           
 String getUsername()
           
 boolean isReadOnly()
           
protected  Connection prepareConnection()
           
protected  PreparedStatement prepareStatement(Connection conn)
           
 void removeRowSetListener(RowSetListener listener)
           
 void setCommand(String command)
           
 void setConcurrency(int concurrency)
           
 void setDataSourceName(String dataSourceName)
           
 void setEscapeProcessing(boolean escapeProcessing)
           
 void setMaxFieldSize(int maxFieldSize)
           
 void setMaxRows(int maxRows)
           
 void setPassword(String password)
           
 void setQueryTimeout(int queryTimeout)
           
 void setReadOnly(boolean readOnly)
           
 void setTransactionIsolation(int transactionIsolation)
           
 void setType(int type)
           
 void setTypeMap(Map typeMap)
           
 void setUrl(String url)
           
 void setUsername(String username)
           
 
Methods inherited from class org.sourceforge.jxutil.sql.ParameterContainer
clearParameters, replayParameters, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setURL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.sql.RowSet
clearParameters, execute, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp
 
Methods inherited from interface java.sql.ResultSet
absolute, afterLast, beforeFirst, cancelRowUpdates, clearWarnings, close, deleteRow, findColumn, first, getArray, getArray, getAsciiStream, getAsciiStream, getBigDecimal, getBigDecimal, getBigDecimal, getBigDecimal, getBinaryStream, getBinaryStream, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getConcurrency, getCursorName, getDate, getDate, getDate, getDate, getDouble, getDouble, getFetchDirection, getFetchSize, getFloat, getFloat, getInt, getInt, getLong, getLong, getMetaData, getObject, getObject, getObject, getObject, getRef, getRef, getRow, getShort, getShort, getStatement, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getType, getUnicodeStream, getUnicodeStream, getURL, getURL, getWarnings, insertRow, isAfterLast, isBeforeFirst, isFirst, isLast, last, moveToCurrentRow, moveToInsertRow, next, previous, refreshRow, relative, rowDeleted, rowInserted, rowUpdated, setFetchDirection, setFetchSize, updateArray, updateArray, updateAsciiStream, updateAsciiStream, updateBigDecimal, updateBigDecimal, updateBinaryStream, updateBinaryStream, updateBlob, updateBlob, updateBoolean, updateBoolean, updateByte, updateByte, updateBytes, updateBytes, updateCharacterStream, updateCharacterStream, updateClob, updateClob, updateDate, updateDate, updateDouble, updateDouble, updateFloat, updateFloat, updateInt, updateInt, updateLong, updateLong, updateNull, updateNull, updateObject, updateObject, updateObject, updateObject, updateRef, updateRef, updateRow, updateShort, updateShort, updateString, updateString, updateTime, updateTime, updateTimestamp, updateTimestamp, wasNull
 

Field Detail

command

protected String command

concurrency

protected int concurrency

dataSourceName

protected String dataSourceName

escapeProcessing

protected boolean escapeProcessing

listeners

Vector listeners

maxFieldSize

protected int maxFieldSize

maxRows

protected int maxRows

password

protected String password

queryTimeout

protected int queryTimeout

readOnly

protected boolean readOnly

transactionIsolation

protected int transactionIsolation

type

protected int type

typeMap

protected Map typeMap

url

protected String url

username

protected String username
Constructor Detail

XAbstractRowSet

protected XAbstractRowSet()
Method Detail

addRowSetListener

public void addRowSetListener(RowSetListener listener)
Specified by:
addRowSetListener in interface RowSet

fireCursorMove

public void fireCursorMove(RowSetEvent ev)

fireRowChange

public void fireRowChange(RowSetEvent ev)

fireRowSetChange

public void fireRowSetChange(RowSetEvent ev)

getCommand

public String getCommand()
Specified by:
getCommand in interface RowSet

getDataSourceName

public String getDataSourceName()
Specified by:
getDataSourceName in interface RowSet

getEscapeProcessing

public boolean getEscapeProcessing()
Specified by:
getEscapeProcessing in interface RowSet

getMaxFieldSize

public int getMaxFieldSize()
Specified by:
getMaxFieldSize in interface RowSet

getMaxRows

public int getMaxRows()
Specified by:
getMaxRows in interface RowSet

getPassword

public String getPassword()
Specified by:
getPassword in interface RowSet

getQueryTimeout

public int getQueryTimeout()
Specified by:
getQueryTimeout in interface RowSet

getTransactionIsolation

public int getTransactionIsolation()
Specified by:
getTransactionIsolation in interface RowSet

getTypeMap

public Map getTypeMap()
Specified by:
getTypeMap in interface RowSet

getUrl

public String getUrl()
Specified by:
getUrl in interface RowSet

getUsername

public String getUsername()
Specified by:
getUsername in interface RowSet

isReadOnly

public boolean isReadOnly()
Specified by:
isReadOnly in interface RowSet

prepareConnection

protected Connection prepareConnection()
                                throws SQLException
SQLException

prepareStatement

protected PreparedStatement prepareStatement(Connection conn)
                                      throws SQLException
SQLException

removeRowSetListener

public void removeRowSetListener(RowSetListener listener)
Specified by:
removeRowSetListener in interface RowSet

setCommand

public void setCommand(String command)
Specified by:
setCommand in interface RowSet

setConcurrency

public void setConcurrency(int concurrency)
Specified by:
setConcurrency in interface RowSet

setDataSourceName

public void setDataSourceName(String dataSourceName)
Specified by:
setDataSourceName in interface RowSet

setEscapeProcessing

public void setEscapeProcessing(boolean escapeProcessing)
Specified by:
setEscapeProcessing in interface RowSet

setMaxFieldSize

public void setMaxFieldSize(int maxFieldSize)
Specified by:
setMaxFieldSize in interface RowSet

setMaxRows

public void setMaxRows(int maxRows)
Specified by:
setMaxRows in interface RowSet

setPassword

public void setPassword(String password)
Specified by:
setPassword in interface RowSet

setQueryTimeout

public void setQueryTimeout(int queryTimeout)
Specified by:
setQueryTimeout in interface RowSet

setReadOnly

public void setReadOnly(boolean readOnly)
Specified by:
setReadOnly in interface RowSet

setTransactionIsolation

public void setTransactionIsolation(int transactionIsolation)
Specified by:
setTransactionIsolation in interface RowSet

setType

public void setType(int type)
Specified by:
setType in interface RowSet

setTypeMap

public void setTypeMap(Map typeMap)
Specified by:
setTypeMap in interface RowSet

setUrl

public void setUrl(String url)
Specified by:
setUrl in interface RowSet

setUsername

public void setUsername(String username)
Specified by:
setUsername in interface RowSet

jxUtil 0.6

Copyright © 2001,2002 Keve Müller, et al.; see LICENSE file for details.