Java Doc for MetaData.java in  » Database-ORM » ProjectJulp » org » julp » 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 » Database ORM » ProjectJulp » org.julp 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.julp.MetaData

MetaData
public class MetaData implements Serializable,Cloneable(Code)


Field Summary
protected  boolean[]autoIncrement
    
protected  boolean[]caseSensitive
    
protected  String[]catalogName
    
protected  String[]columnClassName
    
protected  intcolumnCount
    
protected  int[]columnDisplaySize
    
protected  String[]columnLabel
    
protected  String[]columnName
    
protected  int[]columnType
    
protected  String[]columnTypeName
    
protected  boolean[]currency
    
protected  boolean[]definitelyWritable
    
protected  Class[]fieldClass
    
protected  String[]fieldClassName
    
protected  String[]fieldName
    
protected  String[]fullColumnName
    
protected  int[]nullable
    
protected  int[]precision
    
protected transient  Method[]readMethod
    
protected  boolean[]readOnly
    
protected  Classrequestor
    
protected  int[]scale
    
protected  String[]schemaName
    
protected  boolean[]searchable
    
protected  boolean[]signed
    
protected  String[]tableName
    
protected  Maptables
    
protected  booleanthrowMissingFieldException
    
protected  boolean[]writable
    
protected transient  Method[]writeMethod
    

Constructor Summary
public  MetaData()
    

Method Summary
public  StringgetCatalogName(int columnIndex)
     Gets the designated column's table's catalog name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  StringgetColumnClassName(int columnIndex)
    

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column.

public  intgetColumnCount()
     Returns the number of columns in this ResultSet object.
public  intgetColumnDisplaySize(int columnIndex)
     Indicates the designated column's normal maximum width in characters.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  intgetColumnIndexByFieldName(String searchedFieldName)
    
public  StringgetColumnLabel(int columnIndex)
     Gets the designated column's suggested title for use in printouts and displays.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  StringgetColumnName(int columnIndex)
     Get the designated column's name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  intgetColumnType(int columnIndex)
     Retrieves the designated column's SQL type.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  StringgetColumnTypeName(int columnIndex)
     Retrieves the designated column's database-specific type name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  java.lang.ClassgetFieldClass(int columnIndex)
    
public  StringgetFieldClassName(int columnIndex)
    
public  StringgetFieldName(int columnIndex)
    
public  StringgetFullColumnName(int columnIndex)
    
public  intgetPrecision(int columnIndex)
     Get the designated column's number of decimal digits.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  MethodgetReadMethod(int columnIndex)
    
public  intgetScale(int columnIndex)
     Gets the designated column's number of digits to right of the decimal point.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  StringgetSchemaName(int columnIndex)
     Get the designated column's table's schema.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  StringgetTableName(int columnIndex)
     Gets the designated column's table name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  java.util.MapgetTables()
    
public  MethodgetWriteMethod(int columnIndex)
    
public  booleanisAutoIncrement(int columnIndex)
     Indicates whether the designated column is automatically numbered, thus read-only.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  booleanisCaseSensitive(int columnIndex)
     Indicates whether a column's case matters.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  booleanisCurrency(int columnIndex)
     Indicates whether the designated column is a cash value.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  booleanisDefinitelyWritable(int columnIndex)
     Indicates whether a write on the designated column will definitely succeed.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  intisNullable(int columnIndex)
     Indicates the nullability of values in the designated column.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  booleanisReadOnly(int columnIndex)
     Indicates whether the designated column is definitely not writable.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  booleanisSearchable(int columnIndex)
     Indicates whether the designated column can be used in a where clause.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  booleanisSigned(int columnIndex)
     Indicates whether values in the designated column are signed numbers.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  booleanisThrowMissingFieldException()
    
public  booleanisWritable(int columnIndex)
     Indicates whether it is possible for a write on the designated column to succeed.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
public  voidpopulate(Map mapping, Class requestor)
    
protected  voidpopulateReadMethod(int columnIndex, String fieldName)
    
protected  voidpopulateWriteMethod(int columnIndex, String fieldName)
    
public  voidsetAutoIncrement(int columnIndex, boolean property)
     Sets whether the designated column is automatically numbered, and thus read-only.
public  voidsetCaseSensitive(int columnIndex, boolean property)
     Sets whether the designated column is case sensitive.
public  voidsetCatalogName(int columnIndex, String catalogName)
     Sets the designated column's table's catalog name, if any, to the given String.
public  voidsetColumnClassName(int columnIndex, java.lang.String columnClassName)
    
public  voidsetColumnCount(int columnCount)
     Sets the number of columns in the RowSet object to the given number.
public  voidsetColumnDisplaySize(int columnIndex, int size)
     Sets the designated column's normal maximum width in chars to the given int.
public  voidsetColumnLabel(int columnIndex, String label)
     Sets the suggested column title for use in printouts and displays, if any, to the given String.
public  voidsetColumnName(int columnIndex, String columnName)
     Sets the name of the designated column to the given String.
public  voidsetColumnType(int columnIndex, int SQLType)
     Sets the designated column's SQL type to the one given.
public  voidsetColumnTypeName(int columnIndex, String typeName)
     Sets the designated column's type name that is specific to the data source, if any, to the given String.
public  voidsetCurrency(int columnIndex, boolean property)
     Sets whether the designated column is a cash value.
public  voidsetDefinitelyWritable(int columnIndex, boolean definitelyWritable)
    
public  voidsetFieldClass(int columnIndex, Class fieldClass)
    
public  voidsetFieldClassName(int columnIndex, String fieldClassName)
    
public  voidsetFieldName(int columnIndex, String fieldName)
    
public  voidsetFullColumnName(int columnIndex, String columnName)
    
public  voidsetNullable(int columnIndex, int property)
     Sets whether the designated column's value can be set to NULL.
public  voidsetPrecision(int columnIndex, int precision)
     Sets the designated column's number of decimal digits to the given int.
public  voidsetReadMethod(int columnIndex, Method readMethod)
    
public  voidsetReadOnly(int columnIndex, boolean readOnly)
    
public  voidsetScale(int columnIndex, int scale)
     Sets the designated column's number of digits to the right of the decimal point to the given int.
public  voidsetSchemaName(int columnIndex, String schemaName)
     Sets the name of the designated column's table's schema, if any, to the given String.
public  voidsetSearchable(int columnIndex, boolean property)
     Sets whether the designated column can be used in a where clause.
public  voidsetSigned(int columnIndex, boolean property)
     Sets whether the designated column is a signed number.
public  voidsetTableName(int columnIndex, String tableName)
     Sets the designated column's table name, if any, to the given String.
public  voidsetTables(java.util.Map tables)
    
public  voidsetThrowMissingFieldException(boolean throwMissingFieldException)
    
public  voidsetWritable(int columnIndex, boolean writable)
    
public  voidsetWriteMethod(int columnIndex, Method writeMethod)
    
public  StringtoLabel(String columnName)
    
public  StringtoString()
    

Field Detail
autoIncrement
protected boolean[] autoIncrement(Code)



caseSensitive
protected boolean[] caseSensitive(Code)



catalogName
protected String[] catalogName(Code)



columnClassName
protected String[] columnClassName(Code)



columnCount
protected int columnCount(Code)



columnDisplaySize
protected int[] columnDisplaySize(Code)



columnLabel
protected String[] columnLabel(Code)



columnName
protected String[] columnName(Code)



columnType
protected int[] columnType(Code)



columnTypeName
protected String[] columnTypeName(Code)



currency
protected boolean[] currency(Code)



definitelyWritable
protected boolean[] definitelyWritable(Code)



fieldClass
protected Class[] fieldClass(Code)



fieldClassName
protected String[] fieldClassName(Code)



fieldName
protected String[] fieldName(Code)



fullColumnName
protected String[] fullColumnName(Code)



nullable
protected int[] nullable(Code)



precision
protected int[] precision(Code)



readMethod
protected transient Method[] readMethod(Code)



readOnly
protected boolean[] readOnly(Code)



requestor
protected Class requestor(Code)



scale
protected int[] scale(Code)



schemaName
protected String[] schemaName(Code)



searchable
protected boolean[] searchable(Code)



signed
protected boolean[] signed(Code)



tableName
protected String[] tableName(Code)



tables
protected Map tables(Code)



throwMissingFieldException
protected boolean throwMissingFieldException(Code)



writable
protected boolean[] writable(Code)



writeMethod
protected transient Method[] writeMethod(Code)




Constructor Detail
MetaData
public MetaData()(Code)
Populates and caches columns, tables, fields, etc info




Method Detail
getCatalogName
public String getCatalogName(int columnIndex) throws SQLException(Code)
Gets the designated column's table's catalog name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... the name of the catalog for the table in which the given columnappears or "" if not applicable
exception:
  SQLException - if a database access error occurs



getColumnClassName
public String getColumnClassName(int columnIndex) throws SQLException(Code)

Returns the fully-qualified name of the Java class whose instances are manufactured if the method ResultSet.getObject is called to retrieve a value from the column. ResultSet.getObject may return a subclass of the class returned by this method.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... the fully-qualified name of the class in the Java programminglanguage that would be used by the methodResultSet.getObject to retrieve the value in the specifiedcolumn. This is the class name used for custom mapping.
exception:
  SQLException - if a database access error occurs
since:
   1.2




getColumnCount
public int getColumnCount() throws SQLException(Code)
Returns the number of columns in this ResultSet object. the number of columns
exception:
  SQLException - if a database access error occurs



getColumnDisplaySize
public int getColumnDisplaySize(int columnIndex) throws SQLException(Code)
Indicates the designated column's normal maximum width in characters.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... the normal maximum number of characters allowed as the widthof the designated column
exception:
  SQLException - if a database access error occurs



getColumnIndexByFieldName
public int getColumnIndexByFieldName(String searchedFieldName)(Code)



getColumnLabel
public String getColumnLabel(int columnIndex) throws SQLException(Code)
Gets the designated column's suggested title for use in printouts and displays.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... the suggested column title
exception:
  SQLException - if a database access error occurs



getColumnName
public String getColumnName(int columnIndex) throws SQLException(Code)
Get the designated column's name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... column name
exception:
  SQLException - if a database access error occurs



getColumnType
public int getColumnType(int columnIndex) throws SQLException(Code)
Retrieves the designated column's SQL type.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... SQL type from java.sql.Types
exception:
  SQLException - if a database access error occurs
See Also:   java.sql.Types



getColumnTypeName
public String getColumnTypeName(int columnIndex) throws SQLException(Code)
Retrieves the designated column's database-specific type name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... type name used by the database. If the column type isa user-defined type, then a fully-qualified type name is returned.
exception:
  SQLException - if a database access error occurs



getFieldClass
public java.lang.Class getFieldClass(int columnIndex)(Code)



getFieldClassName
public String getFieldClassName(int columnIndex) throws SQLException(Code)



getFieldName
public String getFieldName(int columnIndex) throws SQLException(Code)



getFullColumnName
public String getFullColumnName(int columnIndex) throws SQLException(Code)



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



getReadMethod
public Method getReadMethod(int columnIndex) throws SQLException(Code)



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



getSchemaName
public String getSchemaName(int columnIndex) throws SQLException(Code)
Get the designated column's table's schema.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... schema name or "" if not applicable
exception:
  SQLException - if a database access error occurs



getTableName
public String getTableName(int columnIndex) throws SQLException(Code)
Gets the designated column's table name.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... table name or "" if not applicable
exception:
  SQLException - if a database access error occurs



getTables
public java.util.Map getTables()(Code)



getWriteMethod
public Method getWriteMethod(int columnIndex) throws SQLException(Code)



isAutoIncrement
public boolean isAutoIncrement(int columnIndex) throws SQLException(Code)
Indicates whether the designated column is automatically numbered, thus read-only.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



isCaseSensitive
public boolean isCaseSensitive(int columnIndex) throws SQLException(Code)
Indicates whether a column's case matters.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



isCurrency
public boolean isCurrency(int columnIndex) throws SQLException(Code)
Indicates whether the designated column is a cash value.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



isDefinitelyWritable
public boolean isDefinitelyWritable(int columnIndex) throws SQLException(Code)
Indicates whether a write on the designated column will definitely succeed.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



isNullable
public int isNullable(int columnIndex) throws SQLException(Code)
Indicates the nullability of values in the designated column.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... the nullability status of the given column; one of columnNoNulls,columnNullable or columnNullableUnknown
exception:
  SQLException - if a database access error occurs



isReadOnly
public boolean isReadOnly(int columnIndex) throws SQLException(Code)
Indicates whether the designated column is definitely not writable.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



isSearchable
public boolean isSearchable(int columnIndex) throws SQLException(Code)
Indicates whether the designated column can be used in a where clause.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



isSigned
public boolean isSigned(int columnIndex) throws SQLException(Code)
Indicates whether values in the designated column are signed numbers.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



isThrowMissingFieldException
public boolean isThrowMissingFieldException()(Code)



isWritable
public boolean isWritable(int columnIndex) throws SQLException(Code)
Indicates whether it is possible for a write on the designated column to succeed.
Parameters:
  columnIndex - the first column is 1, the second is 2, ... true if so; false otherwise
exception:
  SQLException - if a database access error occurs



populate
public void populate(Map mapping, Class requestor) throws java.sql.SQLException(Code)



populateReadMethod
protected void populateReadMethod(int columnIndex, String fieldName) throws java.sql.SQLException(Code)



populateWriteMethod
protected void populateWriteMethod(int columnIndex, String fieldName) throws java.sql.SQLException(Code)



setAutoIncrement
public void setAutoIncrement(int columnIndex, boolean property) throws SQLException(Code)
Sets whether the designated column is automatically numbered, and thus read-only. The default is for a RowSet object's columns not to be automatically numbered.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  property - true if the column is automaticallynumbered; false if it is not
exception:
  SQLException - if a database access error occurs



setCaseSensitive
public void setCaseSensitive(int columnIndex, boolean property) throws SQLException(Code)
Sets whether the designated column is case sensitive. The default is false.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  property - true if the column is case sensitive;false if it is not
exception:
  SQLException - if a database access error occurs



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



setColumnClassName
public void setColumnClassName(int columnIndex, java.lang.String columnClassName)(Code)



setColumnCount
public void setColumnCount(int columnCount) throws SQLException(Code)
Sets the number of columns in the RowSet object to the given number.
Parameters:
  columnCount - the number of columns in the RowSet object
exception:
  SQLException - if a database access error occurs



setColumnDisplaySize
public void setColumnDisplaySize(int columnIndex, int size) throws SQLException(Code)
Sets the designated column's normal maximum width in chars to the given int.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  size - the normal maximum number of characters forthe designated column
exception:
  SQLException - if a database access error occurs



setColumnLabel
public void setColumnLabel(int columnIndex, String label) throws SQLException(Code)
Sets the suggested column title for use in printouts and displays, if any, to the given String.
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 columnName) throws SQLException(Code)
Sets the name of the designated column to the given String.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  columnName - the designated column's name
exception:
  SQLException - if a database access error occurs



setColumnType
public void setColumnType(int columnIndex, int SQLType) throws SQLException(Code)
Sets the designated column's SQL type to the one given.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  SQLType - the column's SQL type
exception:
  SQLException - if a database access error occurs
See Also:   java.sql.Types



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



setCurrency
public void setCurrency(int columnIndex, boolean property) throws SQLException(Code)
Sets whether the designated column is a cash value. The default is false.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  property - true if the column is a cash value;false if it is not
exception:
  SQLException - if a database access error occurs



setDefinitelyWritable
public void setDefinitelyWritable(int columnIndex, boolean definitelyWritable)(Code)



setFieldClass
public void setFieldClass(int columnIndex, Class fieldClass)(Code)



setFieldClassName
public void setFieldClassName(int columnIndex, String fieldClassName) throws SQLException(Code)



setFieldName
public void setFieldName(int columnIndex, String fieldName) throws SQLException(Code)



setFullColumnName
public void setFullColumnName(int columnIndex, String columnName) throws SQLException(Code)



setNullable
public void setNullable(int columnIndex, int property) throws SQLException(Code)
Sets whether the designated column's value can be set to NULL. The default is ResultSetMetaData.columnNullableUnknown
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  property - one of the following constants:ResultSetMetaData.columnNoNulls,ResultSetMetaData.columnNullable, orResultSetMetaData.columnNullableUnknown
exception:
  SQLException - if a database access error occurs



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



setReadMethod
public void setReadMethod(int columnIndex, Method readMethod)(Code)



setReadOnly
public void setReadOnly(int columnIndex, boolean readOnly) throws SQLException(Code)



setScale
public void setScale(int columnIndex, int scale) throws SQLException(Code)
Sets the designated column's number of digits to the right of the decimal point to the given int.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  scale - the 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)
Sets the name of the designated column's table's schema, if any, to the given String.
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 property) throws SQLException(Code)
Sets whether the designated column can be used in a where clause. The default is false.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  property - true if the column can be used in aWHERE clause; false if it cannot
exception:
  SQLException - if a database access error occurs



setSigned
public void setSigned(int columnIndex, boolean property) throws SQLException(Code)
Sets whether the designated column is a signed number. The default is false.
Parameters:
  columnIndex - the first column is 1, the second is 2, ...
Parameters:
  property - true if the column is a signed number;false if it is not
exception:
  SQLException - if a database access error occurs



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



setTables
public void setTables(java.util.Map tables)(Code)



setThrowMissingFieldException
public void setThrowMissingFieldException(boolean throwMissingFieldException)(Code)



setWritable
public void setWritable(int columnIndex, boolean writable)(Code)



setWriteMethod
public void setWriteMethod(int columnIndex, Method writeMethod)(Code)



toLabel
public String toLabel(String columnName)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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