Java Doc for RowSetMetaData.java in  » EJB-Server-JBoss-4.2.1 » j2ee » 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 » EJB Server JBoss 4.2.1 » j2ee » javax.sql 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.sql.RowSetMetaData

RowSetMetaData
public interface RowSetMetaData extends ResultSetMetaData(Code)
The RowSetMetaData interface extends ResultSetMetaData with methods that allow a metadata object to be initialized. A RowSetReader may create a RowSetMetaData and pass it to a rowset when new data is read.




Method Summary
public  voidsetAutoIncrement(int columnIndex, boolean flag)
     Specify whether the is column automatically numbered, thus read-only.
public  voidsetCaseSensitive(int columnIndex, boolean flag)
     Specify whether the column is case sensitive.
public  voidsetCatalogName(int columnIndex, String string)
     Specify the column's table's catalog name, if any.
public  voidsetColumnCount(int i)
     Set the number of columns in the RowSet.
public  voidsetColumnDisplaySize(int columnIndex, int size)
     Specify the column's normal max width in chars.
public  voidsetColumnLabel(int columnIndex, String label)
     Specify the suggested column title for use in printouts and displays, if any.
public  voidsetColumnName(int columnIndex, String name)
     Specify the column name.
public  voidsetColumnType(int columnIndex, int sqltype)
     Specify the column's SQL type.
public  voidsetColumnTypeName(int columnIndex, String typeName)
     Specify the column's data source specific type name, if any.
public  voidsetCurrency(int columnIndex, boolean flag)
     Specify whether the column is a cash value.
public  voidsetNullable(int columnIndex, int property)
     Specify whether the column's value can be set to NULL.
public  voidsetPrecision(int columnIndex, int precision)
     Specify the column's number of decimal digits.
public  voidsetScale(int columnIndex, int scale)
     Specify the column's number of digits to right of the decimal point.
public  voidsetSchemaName(int columnIndex, String schemaName)
     Specify the column's table's schema, if any.
public  voidsetSearchable(int columnIndex, boolean flag)
     Specify whether the column can be used in a where clause.
public  voidsetSigned(int columnIndex, boolean flag)
     Specify whether the column is a signed number.
public  voidsetTableName(int columnIndex, String tableName)
     Specify the column's table name, if any.



Method Detail
setAutoIncrement
public void setAutoIncrement(int columnIndex, boolean flag) throws SQLException(Code)
Specify whether the is column automatically numbered, thus read-only.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  flag - - is either true or false.
exception:
  SQLException - - if a database-access error occurs.



setCaseSensitive
public void setCaseSensitive(int columnIndex, boolean flag) throws SQLException(Code)
Specify whether the column is case sensitive.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  flag - - is either true or false.
exception:
  SQLException - - if a database-access error occurs.



setCatalogName
public void setCatalogName(int columnIndex, String string) throws SQLException(Code)
Specify the column's table's catalog name, if any.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  string - - column's catalog name.
exception:
  SQLException - - if a database-access error occurs.



setColumnCount
public void setColumnCount(int i) throws SQLException(Code)
Set the number of columns in the RowSet.
Parameters:
  i - - number of columns.
exception:
  SQLException - - if a database-access error occurs.



setColumnDisplaySize
public void setColumnDisplaySize(int columnIndex, int size) throws SQLException(Code)
Specify the column's normal max width in chars.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  size - - size of the column
exception:
  SQLException - - if a database-access error occurs.



setColumnLabel
public void setColumnLabel(int columnIndex, String label) throws SQLException(Code)
Specify the suggested column title for use in printouts and displays, if any.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  label - - the column title
exception:
  SQLException - - if a database-access error occurs.



setColumnName
public void setColumnName(int columnIndex, String name) throws SQLException(Code)
Specify the column name.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  name - - the column name
exception:
  SQLException - - if a database-access error occurs.



setColumnType
public void setColumnType(int columnIndex, int sqltype) throws SQLException(Code)
Specify the column's SQL type.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  sqltype - - column's SQL type.
exception:
  SQLException - - if a database-access error occurs.



setColumnTypeName
public void setColumnTypeName(int columnIndex, String typeName) throws SQLException(Code)
Specify the column's data source specific type name, if any.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  sqltype - - column's SQL type name.
exception:
  SQLException - - if a database-access error occurs.



setCurrency
public void setCurrency(int columnIndex, boolean flag) throws SQLException(Code)
Specify whether the column is a cash value.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  flag - - is either true or false.
exception:
  SQLException - - if a database-access error occurs.



setNullable
public void setNullable(int columnIndex, int property) throws SQLException(Code)
Specify whether the column's value can be set to NULL.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  property - - is either true or false.
exception:
  SQLException - - if a database-access error occurs.



setPrecision
public void setPrecision(int columnIndex, int precision) throws SQLException(Code)
Specify the column's number of decimal digits.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  precision - - number of decimal digits.
exception:
  SQLException - - if a database-access error occurs.



setScale
public void setScale(int columnIndex, int scale) throws SQLException(Code)
Specify the column's number of digits to right of the decimal point.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  scale - - number of digits to right of decimal point.
exception:
  SQLException - - if a database-access error occurs.



setSchemaName
public void setSchemaName(int columnIndex, String schemaName) throws SQLException(Code)
Specify the column's table's schema, if any.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  schemaName - - the schema name
exception:
  SQLException - - if a database-access error occurs.



setSearchable
public void setSearchable(int columnIndex, boolean flag) throws SQLException(Code)
Specify whether the column can be used in a where clause.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  flag - - is either true or false.
exception:
  SQLException - - if a database-access error occurs.



setSigned
public void setSigned(int columnIndex, boolean flag) throws SQLException(Code)
Specify whether the column is a signed number.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  flag - - is either true or false.
exception:
  SQLException - - if a database-access error occurs.



setTableName
public void setTableName(int columnIndex, String tableName) throws SQLException(Code)
Specify the column's table name, if any.
Parameters:
  columnIndex - - the first column is 1, the second is 2, ...
Parameters:
  tableName - - column's table name.
exception:
  SQLException - - if a database-access error occurs.



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