Java Doc for RowSetMetaData.java in  » Apache-Harmony-Java-SE » javax-package » javax » sql » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » javax package » javax.sql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.sql.RowSetMetaData

All known Subclasses:   javax.sql.rowset.RowSetMetaDataImpl,
RowSetMetaData
public interface RowSetMetaData extends ResultSetMetaData(Code)
An interface which provides facilities for getting information about the columns in a RowSet.

RowSetMetaData extends ResultSetMetaData, adding new operations for carrying out value sets.

Application code would not normally call this interface directly. It would be called internally when RowSet.execute is called.





Method Summary
public  voidsetAutoIncrement(int columnIndex, boolean autoIncrement)
     Sets automatic numbering for a specified column in the RowSet.
public  voidsetCaseSensitive(int columnIndex, boolean caseSensitive)
     Sets the case sensitive property for a specified column in the RowSet.
public  voidsetCatalogName(int columnIndex, String catalogName)
     Sets the Catalog Name for a specified column in the RowSet.
public  voidsetColumnCount(int columnCount)
     Sets the number of columns in the Row Set.
public  voidsetColumnDisplaySize(int columnIndex, int displaySize)
     Sets the normal maximum width in characters for a specified column in the RowSet.
public  voidsetColumnLabel(int columnIndex, String theLabel)
    
public  voidsetColumnName(int columnIndex, String theColumnName)
     Sets the suggested column label for a specified column in the RowSet.
public  voidsetColumnType(int columnIndex, int theSQLType)
    
public  voidsetColumnTypeName(int columnIndex, String theTypeName)
     Sets the Type Name for a specified column in the RowSet, where the data type is specific to the datasource.
public  voidsetCurrency(int columnIndex, boolean isCurrency)
     Sets whether a specified column is a currency value.
public  voidsetNullable(int columnIndex, int nullability)
     Sets whether a specified column can contain SQL NULL values.
public  voidsetPrecision(int columnIndex, int thePrecision)
     Sets the number of decimal digits for a specified column in the RowSet.
public  voidsetScale(int columnIndex, int theScale)
     For the column specified by columnIndex declares how many digits there should be after a decimal point.
public  voidsetSchemaName(int columnIndex, String theSchemaName)
    
public  voidsetSearchable(int columnIndex, boolean isSearchable)
     Sets whether a specified column can be used in a search involving a WHERE clause.
public  voidsetSigned(int columnIndex, boolean isSigned)
    
public  voidsetTableName(int columnIndex, String theTableName)
    



Method Detail
setAutoIncrement
public void setAutoIncrement(int columnIndex, boolean autoIncrement) throws SQLException(Code)
Sets automatic numbering for a specified column in the RowSet. If automatic numbering is on, the column is read only. The default value is for automatic numbering to be off.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  autoIncrement - true to set automatic numbering on, false to turn it off.
throws:
  SQLException - if a problem occurs accessing the database



setCaseSensitive
public void setCaseSensitive(int columnIndex, boolean caseSensitive) throws SQLException(Code)
Sets the case sensitive property for a specified column in the RowSet. The default is that the column is not case sensitive.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  caseSensitive - true to make the column case sensitive, false to make it notcase sensitive.
throws:
  SQLException - if a problem occurs accessing the database



setCatalogName
public void setCatalogName(int columnIndex, String catalogName) throws SQLException(Code)
Sets the Catalog Name for a specified column in the RowSet.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  catalogName - a string containing the new Catalog Name
throws:
  SQLException - if a problem occurs accessing the database



setColumnCount
public void setColumnCount(int columnCount) throws SQLException(Code)
Sets the number of columns in the Row Set.
Parameters:
  columnCount - an integer containing the number of columns in the RowSet.
throws:
  SQLException - if a problem occurs accessing the database



setColumnDisplaySize
public void setColumnDisplaySize(int columnIndex, int displaySize) throws SQLException(Code)
Sets the normal maximum width in characters for a specified column in the RowSet.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  displaySize - an integer with the normal maximum column width in characters
throws:
  SQLException - if a problem occurs accessing the database



setColumnLabel
public void setColumnLabel(int columnIndex, String theLabel) throws SQLException(Code)

Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  theLabel -
throws:
  SQLException - if a problem occurs accessing the database



setColumnName
public void setColumnName(int columnIndex, String theColumnName) throws SQLException(Code)
Sets the suggested column label for a specified column in the RowSet. This label is typically used in displaying or printing the column.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  theColumnName - a string containing the column label
throws:
  SQLException - if a problem occurs accessing the database



setColumnType
public void setColumnType(int columnIndex, int theSQLType) throws SQLException(Code)
Sets the SQL type for a specified column in the RowSet
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  theSQLType - an integer containing the SQL Type, as defined byjava.sql.Types.
throws:
  SQLException - if a problem occurs accessing the database



setColumnTypeName
public void setColumnTypeName(int columnIndex, String theTypeName) throws SQLException(Code)
Sets the Type Name for a specified column in the RowSet, where the data type is specific to the datasource.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  theTypeName - a string containing the Type Name for the column
throws:
  SQLException - if a problem occurs accessing the database



setCurrency
public void setCurrency(int columnIndex, boolean isCurrency) throws SQLException(Code)
Sets whether a specified column is a currency value.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  isCurrency - true if the column should be treated as a currency value,false if it should not be treated as a currency value.
throws:
  SQLException - if a problem occurs accessing the database



setNullable
public void setNullable(int columnIndex, int nullability) throws SQLException(Code)
Sets whether a specified column can contain SQL NULL values.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  nullability - an integer which is one of the following values:ResultSetMetaData.columnNoNulls,ResultSetMetaData.columnNullable, orResultSetMetaData.columnNullableUnknown

The default value is ResultSetMetaData.columnNullableUnknown
throws:
  SQLException - if a problem occurs accessing the database




setPrecision
public void setPrecision(int columnIndex, int thePrecision) throws SQLException(Code)
Sets the number of decimal digits for a specified column in the RowSet.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  thePrecision - an integer containing the number of decimal digits
throws:
  SQLException - if a problem occurs accessing the database



setScale
public void setScale(int columnIndex, int theScale) throws SQLException(Code)
For the column specified by columnIndex declares how many digits there should be after a decimal point.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  theScale - an integer containing the number of digits after the decimalpoint
throws:
  SQLException - if a problem occurs accessing the database



setSchemaName
public void setSchemaName(int columnIndex, String theSchemaName) throws SQLException(Code)
Sets the Schema Name for a specified column in the RowSet
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  theSchemaName - a String containing the schema name
throws:
  SQLException - if a problem occurs accessing the database



setSearchable
public void setSearchable(int columnIndex, boolean isSearchable) throws SQLException(Code)
Sets whether a specified column can be used in a search involving a WHERE clause. The default value is false.
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  isSearchable - true of the column can be used in a WHERE clause search, falseotherwise.
throws:
  SQLException - if a problem occurs accessing the database



setSigned
public void setSigned(int columnIndex, boolean isSigned) throws SQLException(Code)
Sets if a specified column can contain signed numbers
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  isSigned - true if the column can contain signed numbers, false otherwise
throws:
  SQLException - if a problem occurs accessing the database



setTableName
public void setTableName(int columnIndex, String theTableName) throws SQLException(Code)
Sets the Table Name for a specified column in the RowSet
Parameters:
  columnIndex - the index number for the column, where the first column hasindex 1.
Parameters:
  theTableName - a String containing the Table Name for the column
throws:
  SQLException - if a problem occurs accessing the database



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.