|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.webdocwf.util.xml.XmlResultSetMetaData
public class XmlResultSetMetaData
Class implements the JDBC ResultSetMetaData interface for the XmlJdbc driver.
Field Summary | |
---|---|
protected java.lang.String[] |
columnNames
Names of columns |
protected java.lang.String |
tableName
Name of table |
Fields inherited from interface java.sql.ResultSetMetaData |
---|
columnNoNulls, columnNullable, columnNullableUnknown |
Method Summary | |
---|---|
java.lang.String |
getCatalogName(int column)
Returns the name of the catalog for the specified column. |
java.lang.String |
getColumnClassName(int column)
Returns the name of the class for the specified column. |
int |
getColumnCount()
Returns the number of columns in the table. |
int |
getColumnDisplaySize(int column)
Returns the display column size for the specified column. |
java.lang.String |
getColumnLabel(int column)
Returns the label for the specified column |
java.lang.String |
getColumnName(int column)
Returns the name of the specified column |
int |
getColumnType(int column)
|
java.lang.String |
getColumnTypeName(int column)
|
int |
getPrecision(int column)
|
int |
getScale(int column)
|
java.lang.String |
getSchemaName(int column)
|
java.lang.String |
getTableName(int column)
|
boolean |
isAutoIncrement(int column)
Gets the auto increment falg for the specfied column. |
boolean |
isCaseSensitive(int column)
Returns the case sensitivity flag for the specfied column |
boolean |
isCurrency(int column)
Returns the currency flag for the specified column |
boolean |
isDefinitelyWritable(int column)
|
int |
isNullable(int column)
Returns the nullable flag for the specfied column |
boolean |
isReadOnly(int column)
|
boolean |
isSearchable(int column)
Returns the searchable flag for the specified column |
boolean |
isSigned(int column)
Returns the signed flag for the specfied column |
boolean |
isWritable(int column)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String[] columnNames
protected java.lang.String tableName
Method Detail |
---|
public java.lang.String getColumnClassName(int column) throws java.sql.SQLException
getColumnClassName
in interface java.sql.ResultSetMetaData
column
- The column number
java.sql.SQLException
- Thrown if there was a problempublic int getColumnCount() throws java.sql.SQLException
getColumnCount
in interface java.sql.ResultSetMetaData
java.sql.SQLException
- Thrown if there is a a problempublic java.lang.String getCatalogName(int column) throws java.sql.SQLException
getCatalogName
in interface java.sql.ResultSetMetaData
column
- The column to get the catalog for
java.sql.SQLException
- Thrown if there is a problempublic int getColumnDisplaySize(int column) throws java.sql.SQLException
getColumnDisplaySize
in interface java.sql.ResultSetMetaData
column
- The column to get the size of
java.sql.SQLException
- Thrown if there is a problem.public boolean isAutoIncrement(int column) throws java.sql.SQLException
isAutoIncrement
in interface java.sql.ResultSetMetaData
column
- The column to get the flag for
java.sql.SQLException
- Thrown if there is a problempublic boolean isCaseSensitive(int column) throws java.sql.SQLException
isCaseSensitive
in interface java.sql.ResultSetMetaData
column
- The column to return the flag for
java.sql.SQLException
- Thrown if there is a problempublic boolean isSearchable(int column) throws java.sql.SQLException
isSearchable
in interface java.sql.ResultSetMetaData
column
- the column to return the flag form
java.sql.SQLException
- Thrown if there is a problempublic boolean isCurrency(int column) throws java.sql.SQLException
isCurrency
in interface java.sql.ResultSetMetaData
column
- The column to get the flag for
java.sql.SQLException
- Thrown if there is a problempublic int isNullable(int column) throws java.sql.SQLException
isNullable
in interface java.sql.ResultSetMetaData
column
- The column to return the flag for
java.sql.SQLException
- Thrown if there is a problempublic boolean isSigned(int column) throws java.sql.SQLException
isSigned
in interface java.sql.ResultSetMetaData
column
- The column to return the flag for
java.sql.SQLException
- Thrown if there is a problempublic java.lang.String getColumnLabel(int column) throws java.sql.SQLException
getColumnLabel
in interface java.sql.ResultSetMetaData
column
- The column to get the label for
java.sql.SQLException
- Thrown if there is a problempublic java.lang.String getColumnName(int column) throws java.sql.SQLException
getColumnName
in interface java.sql.ResultSetMetaData
column
- The column to get the name of
java.sql.SQLException
- Thrown if there is a problempublic java.lang.String getSchemaName(int column) throws java.sql.SQLException
getSchemaName
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public int getPrecision(int column) throws java.sql.SQLException
getPrecision
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public int getScale(int column) throws java.sql.SQLException
getScale
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public java.lang.String getTableName(int column) throws java.sql.SQLException
getTableName
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public int getColumnType(int column) throws java.sql.SQLException
getColumnType
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public java.lang.String getColumnTypeName(int column) throws java.sql.SQLException
getColumnTypeName
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public boolean isReadOnly(int column) throws java.sql.SQLException
isReadOnly
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public boolean isWritable(int column) throws java.sql.SQLException
isWritable
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
public boolean isDefinitelyWritable(int column) throws java.sql.SQLException
isDefinitelyWritable
in interface java.sql.ResultSetMetaData
column
- is number of column
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |