diff options
author | Michael Koch <konqueror@gmx.de> | 2003-10-11 19:10:36 +0000 |
---|---|---|
committer | Michael Koch <mkoch@gcc.gnu.org> | 2003-10-11 19:10:36 +0000 |
commit | e1feb64f5d324ab5ff0b8e33c910bb73fd2c7ecc (patch) | |
tree | 851f76f76a7fb42bed4bc06c47d53bf2181abea3 /libjava/javax/sql/RowSet.java | |
parent | 547f7f8b9d220841cdd48fe4d09ca6c3add17faf (diff) | |
download | gcc-e1feb64f5d324ab5ff0b8e33c910bb73fd2c7ecc.zip gcc-e1feb64f5d324ab5ff0b8e33c910bb73fd2c7ecc.tar.gz gcc-e1feb64f5d324ab5ff0b8e33c910bb73fd2c7ecc.tar.bz2 |
ConnectionEventListener.java, [...]: Removing redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de>
* javax/sql/ConnectionEventListener.java,
javax/sql/ConnectionPoolDataSource.java,
javax/sql/DataSource.java,
javax/sql/PooledConnection.java,
javax/sql/RowSet.java,
javax/sql/RowSetInternal.java,
javax/sql/RowSetListener.java,
javax/sql/RowSetMetaData.java,
javax/sql/RowSetReader.java,
javax/sql/RowSetWriter.java,
javax/sql/XAConnection.java,
javax/sql/XADataSource.java:
Removing redundant modifiers.
From-SVN: r72363
Diffstat (limited to 'libjava/javax/sql/RowSet.java')
-rw-r--r-- | libjava/javax/sql/RowSet.java | 382 |
1 files changed, 104 insertions, 278 deletions
diff --git a/libjava/javax/sql/RowSet.java b/libjava/javax/sql/RowSet.java index f5f7d9b..085288d 100644 --- a/libjava/javax/sql/RowSet.java +++ b/libjava/javax/sql/RowSet.java @@ -58,304 +58,130 @@ import java.util.Map; */ public interface RowSet extends ResultSet { - /** - * @since 1.4 - */ - public String getUrl() throws SQLException; - - /** - * @since 1.4 - */ - public void setUrl(String url) throws SQLException; - - /** - * @since 1.4 - */ - public String getDataSourceName(); - - /** - * @since 1.4 - */ - public void setDataSourceName(String name) throws SQLException; - - /** - * @since 1.4 - */ - public String getUsername(); - - /** - * @since 1.4 - */ - public void setUsername(String name) throws SQLException; - - /** - * @since 1.4 - */ - public String getPassword(); - - /** - * @since 1.4 - */ - public void setPassword(String password) throws SQLException; - - /** - * @since 1.4 - */ - public int getTransactionIsolation(); - - /** - * @since 1.4 - */ - public void setTransactionIsolation(int level) throws SQLException; - - /** - * @since 1.4 - */ - public Map getTypeMap() throws SQLException; - - /** - * @since 1.4 - */ - public void setTypeMap(Map map) throws SQLException; - - /** - * @since 1.4 - */ - public String getCommand(); - - /** - * @since 1.4 - */ - public void setCommand(String cmd) throws SQLException; - - /** - * @since 1.4 - */ - public boolean isReadOnly(); - - /** - * @since 1.4 - */ - public void setReadOnly(boolean value) throws SQLException; - - /** - * @since 1.4 - */ - public int getMaxFieldSize() throws SQLException; - - /** - * @since 1.4 - */ - public void setMaxFieldSize(int max) throws SQLException; - - /** - * @since 1.4 - */ - public int getMaxRows() throws SQLException; - - /** - * @since 1.4 - */ - public void setMaxRows(int max) throws SQLException; - - /** - * @since 1.4 - */ - public boolean getEscapeProcessing() throws SQLException; - - /** - * @since 1.4 - */ - public void setEscapeProcessing(boolean enable) throws SQLException; - - /** - * @since 1.4 - */ - public int getQueryTimeout() throws SQLException; - - /** - * @since 1.4 - */ - public void setQueryTimeout(int seconds) throws SQLException; - - /** - * @since 1.4 - */ - public void setType(int type) throws SQLException; - - /** - * @since 1.4 - */ - public void setConcurrency(int concurrency) throws SQLException; - - /** - * @since 1.4 - */ - public void setNull(int parameterIndex, int sqlType) throws SQLException; - - /** - * @since 1.4 - */ - public void setNull(int paramIndex, int sqlType, String typeName) throws + String getUrl() throws SQLException; + + void setUrl(String url) throws SQLException; + + String getDataSourceName(); + + void setDataSourceName(String name) throws SQLException; + + String getUsername(); + + void setUsername(String name) throws SQLException; + + String getPassword(); + + void setPassword(String password) throws SQLException; + + int getTransactionIsolation(); + + void setTransactionIsolation(int level) throws SQLException; + + Map getTypeMap() throws SQLException; + + void setTypeMap(Map map) throws SQLException; + + String getCommand(); + + void setCommand(String cmd) throws SQLException; + + boolean isReadOnly(); + + void setReadOnly(boolean value) throws SQLException; + + int getMaxFieldSize() throws SQLException; + + void setMaxFieldSize(int max) throws SQLException; + + int getMaxRows() throws SQLException; + + void setMaxRows(int max) throws SQLException; + + boolean getEscapeProcessing() throws SQLException; + + void setEscapeProcessing(boolean enable) throws SQLException; + + int getQueryTimeout() throws SQLException; + + void setQueryTimeout(int seconds) throws SQLException; + + void setType(int type) throws SQLException; + + void setConcurrency(int concurrency) throws SQLException; + + void setNull(int parameterIndex, int sqlType) throws SQLException; + + void setNull(int paramIndex, int sqlType, String typeName) throws SQLException; - /** - * @since 1.4 - */ - public void setBoolean(int parameterIndex, boolean x) throws SQLException; - - /** - * @since 1.4 - */ - public void setByte(int parameterIndex, byte x) throws SQLException; - - /** - * @since 1.4 - */ - public void setShort(int parameterIndex, short x) throws SQLException; - - /** - * @since 1.4 - */ - public void setInt(int parameterIndex, int x) throws SQLException; - - /** - * @since 1.4 - */ - public void setLong(int parameterIndex, long x) throws SQLException; - - /** - * @since 1.4 - */ - public void setFloat(int parameterIndex, float x) throws SQLException; - - /** - * @since 1.4 - */ - public void setDouble(int parameterIndex, double x) throws SQLException; - - /** - * @since 1.4 - */ - public void setBigDecimal(int parameterIndex, BigDecimal x) throws + void setBoolean(int parameterIndex, boolean x) throws SQLException; + + void setByte(int parameterIndex, byte x) throws SQLException; + + void setShort(int parameterIndex, short x) throws SQLException; + + void setInt(int parameterIndex, int x) throws SQLException; + + void setLong(int parameterIndex, long x) throws SQLException; + + void setFloat(int parameterIndex, float x) throws SQLException; + + void setDouble(int parameterIndex, double x) throws SQLException; + + void setBigDecimal(int parameterIndex, BigDecimal x) throws SQLException; - /** - * @since 1.4 - */ - public void setString(int parameterIndex, String x) throws SQLException; - - /** - * @since 1.4 - */ - public void setBytes(int parameterIndex, byte[] x) throws SQLException; - - /** - * @since 1.4 - */ - public void setDate(int parameterIndex, Date x) throws SQLException; - - /** - * @since 1.4 - */ - public void setTime(int parameterIndex, Time x) throws SQLException; - - /** - * @since 1.4 - */ - public void setTimestamp(int parameterIndex, Timestamp x) throws + void setString(int parameterIndex, String x) throws SQLException; + + void setBytes(int parameterIndex, byte[] x) throws SQLException; + + void setDate(int parameterIndex, Date x) throws SQLException; + + void setTime(int parameterIndex, Time x) throws SQLException; + + void setTimestamp(int parameterIndex, Timestamp x) throws SQLException; - /** - * @since 1.4 - */ - public void setAsciiStream(int parameterIndex, InputStream x, int length) + void setAsciiStream(int parameterIndex, InputStream x, int length) throws SQLException; - /** - * @since 1.4 - */ - public void setBinaryStream(int parameterIndex, InputStream x, int length) + void setBinaryStream(int parameterIndex, InputStream x, int length) throws SQLException; - /** - * @since 1.4 - */ - public void setCharacterStream(int parameterIndex, Reader reader, int + void setCharacterStream(int parameterIndex, Reader reader, int length) throws SQLException; - /** - * @since 1.4 - */ - public void setObject(int parameterIndex, Object x, int targetSqlType, int + void setObject(int parameterIndex, Object x, int targetSqlType, int scale) throws SQLException; - /** - * @since 1.4 - */ - public void setObject(int parameterIndex, Object x, int targetSqlType) + void setObject(int parameterIndex, Object x, int targetSqlType) throws SQLException; - /** - * @since 1.4 - */ - public void setObject(int parameterIndex, Object x) throws SQLException; - - /** - * @since 1.4 - */ - public void setRef(int i, Ref x) throws SQLException; - - /** - * @since 1.4 - */ - public void setBlob(int i, Blob x) throws SQLException; - - /** - * @since 1.4 - */ - public void setClob(int i, Clob x) throws SQLException; - - /** - * @since 1.4 - */ - public void setArray(int i, Array x) throws SQLException; - - /** - * @since 1.4 - */ - public void setDate(int parameterIndex, Date x, Calendar cal) throws + void setObject(int parameterIndex, Object x) throws SQLException; + + void setRef(int i, Ref x) throws SQLException; + + void setBlob(int i, Blob x) throws SQLException; + + void setClob(int i, Clob x) throws SQLException; + + void setArray(int i, Array x) throws SQLException; + + void setDate(int parameterIndex, Date x, Calendar cal) throws SQLException; - /** - * @since 1.4 - */ - public void setTime(int parameterIndex, Time x, Calendar cal) throws + void setTime(int parameterIndex, Time x, Calendar cal) throws SQLException; - /** - * @since 1.4 - */ - public void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) + void setTimestamp(int parameterIndex, Timestamp x, Calendar cal) throws SQLException; - /** - * @since 1.4 - */ - public void clearParameters() throws SQLException; - - /** - * @since 1.4 - */ - public void execute() throws SQLException; - - /** - * @since 1.4 - */ - public void addRowSetListener(RowSetListener listener); - - /** - * @since 1.4 - */ - public void removeRowSetListener(RowSetListener listener); + void clearParameters() throws SQLException; + + void execute() throws SQLException; + + void addRowSetListener(RowSetListener listener); + + void removeRowSetListener(RowSetListener listener); } |