API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql.rowset. RowSetMetaDataImpl View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      RowSetMetaDataImpl
Implements
 RowSetMetaData
 Serializable
Subclasses
Description
public class RowSetMetaDataImpl
  Provides implementations for the methods that set and get metadata information about a RowSet object's columns.
See also:   
Constructors
public RowSetMetaDataImpl ()
Methods
Hide/Show inherited methods
public String getCatalogName (int columnIndex) throws SQLException
  Retrieves the catalog name of the table from which the value in the designated column was derived.
public String getColumnClassName (int columnIndex) throws SQLException
  Retrieves the fully-qualified name of the class in the Java programming language to which a value in the designated column will be mapped.
public int getColumnCount () throws SQLException
  Retrieves the number of columns in the RowSet object for which this RowSetMetaDataImpl object was created.
public int getColumnDisplaySize (int columnIndex) throws SQLException
  Retrieves the normal maximum width in chars of the designated column.
public String getColumnLabel (int columnIndex) throws SQLException
  Retrieves the the suggested column title for the designated column for use in printouts and displays.
public String getColumnName (int columnIndex) throws SQLException
  Retrieves the name of the designated column.
public int getColumnType (int columnIndex) throws SQLException
  Retrieves the type code (one of the java.sql.Types constants) for the SQL type of the value stored in the designated column.
public String getColumnTypeName (int columnIndex) throws SQLException
  Retrieves the DBMS-specific type name for values stored in the designated column.
public int getPrecision (int columnIndex) throws SQLException
  Retrieves the total number of digits for values stored in the designated column.
public int getScale (int columnIndex) throws SQLException
  Retrieves the number of digits to the right of the decimal point for values stored in the designated column.
public String getSchemaName (int columnIndex) throws SQLException
  Retrieves the schema name of the table from which the value in the designated column was derived.
public String getTableName (int columnIndex) throws SQLException
  Retrieves the name of the table from which the value in the designated column was derived.
public boolean isAutoIncrement (int columnIndex) throws SQLException
  Retrieves whether a value stored in the designated column is automatically numbered, and thus readonly.
public boolean isCaseSensitive (int columnIndex) throws SQLException
  Indicates whether the case of the designated column's name matters.
public boolean isCurrency (int columnIndex) throws SQLException
  Indicates whether a value stored in the designated column is a cash value.
public boolean isDefinitelyWritable (int columnIndex) throws SQLException
  Indicates whether a write operation on the designated column will definitely succeed.
public int isNullable (int columnIndex) throws SQLException
  Retrieves a constant indicating whether it is possible to store a NULL value in the designated column.
public boolean isReadOnly (int columnIndex) throws SQLException
  Indicates whether the designated column is definitely not writable, thus readonly.
public boolean isSearchable (int columnIndex) throws SQLException
  Indicates whether a value stored in the designated column can be used in a WHERE clause.
public boolean isSigned (int columnIndex) throws SQLException
  Indicates whether a value stored in the designated column is a signed number.
public boolean isWrapperFor (Class<Object> interfaces) throws SQLException
  Returns true if this either implements the interface argument or is directly or indirectly a wrapper for an object that does.
public boolean isWritable (int columnIndex) throws SQLException
  Indicates whether it is possible for a write operation on the designated column to succeed.
public void setAutoIncrement (int columnIndex, boolean property) throws SQLException [Specified in RowSetMetaData]
  Sets whether the designated column is automatically numbered, thus read-only, to the given boolean value.
public void setCaseSensitive (int columnIndex, boolean property) throws SQLException [Specified in RowSetMetaData]
  Sets whether the name of the designated column is case sensitive to the given boolean.
public void setCatalogName (int columnIndex, String catalogName) throws SQLException [Specified in RowSetMetaData]
  Sets the catalog name of the table from which the designated column was derived to catalogName.
public void setColumnCount (int columnCount) throws SQLException [Specified in RowSetMetaData]
  Sets to the given number the number of columns in the RowSet object for which this RowSetMetaDataImpl object was created.
public void setColumnDisplaySize (int columnIndex, int size) throws SQLException [Specified in RowSetMetaData]
  Sets the normal maximum number of chars in the designated column to the given number.
public void setColumnLabel (int columnIndex, String label) throws SQLException [Specified in RowSetMetaData]
  Sets the suggested column label for use in printouts and displays, if any, to label.
public void setColumnName (int columnIndex, String columnName) throws SQLException [Specified in RowSetMetaData]
  Sets the column name of the designated column to the given name.
public void setColumnType (int columnIndex, int SQLType) throws SQLException [Specified in RowSetMetaData]
  Sets the SQL type code for values stored in the designated column to the given type code from the class java.sql.Types.
public void setColumnTypeName (int columnIndex, String typeName) throws SQLException [Specified in RowSetMetaData]
  Sets the type name used by the data source for values stored in the designated column to the given type name.
public void setCurrency (int columnIndex, boolean property) throws SQLException [Specified in RowSetMetaData]
  Sets whether a value stored in the designated column is a cash value to the given boolean.
public void setNullable (int columnIndex, int property) throws SQLException [Specified in RowSetMetaData]
  Sets whether a value stored in the designated column can be set to NULL to the given constant from the interface ResultSetMetaData.
public void setPrecision (int columnIndex, int precision) throws SQLException [Specified in RowSetMetaData]
  Sets the total number of decimal digits in a value stored in the designated column to the given number.
public void setScale (int columnIndex, int scale) throws SQLException [Specified in RowSetMetaData]
  Sets the number of digits to the right of the decimal point in a value stored in the designated column to the given number.
public void setSchemaName (int columnIndex, String schemaName) throws SQLException [Specified in RowSetMetaData]
  Sets the designated column's table's schema name, if any, to schemaName.
public void setSearchable (int columnIndex, boolean property) throws SQLException [Specified in RowSetMetaData]
  Sets whether a value stored in the designated column can be used in a WHERE clause to the given boolean value.
public void setSigned (int columnIndex, boolean property) throws SQLException [Specified in RowSetMetaData]
  Sets whether a value stored in the designated column is a signed number to the given boolean.
public void setTableName (int columnIndex, String tableName) throws SQLException [Specified in RowSetMetaData]
  Sets the name of the table from which the designated column was derived to the given table name.
public T unwrap (Class< T> iface) throws SQLException
  Returns an object that implements the given interface to allow access to non-standard methods, or standard methods not exposed by the proxy.
Fields
Hide/Show inherited fields
publicfinalstatic int columnNoNulls = "0" [Inherited From RowSetMetaData]
The constant indicating that a column does not allow NULL values.
publicfinalstatic int columnNullable = "1" [Inherited From RowSetMetaData]
The constant indicating that a column allows NULL values.
publicfinalstatic int columnNullableUnknown = "2" [Inherited From RowSetMetaData]
The constant indicating that the nullability of a column's values is unknown.
pack-privatefinalstatic long serialVersionUID = "6893806403181801867"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar