Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Interface java.sql.SQLType


public interface SQLType
JDBC 2.0 The SQLType interface provides some very basic information about a structured or distinct SQL type: the type's name and type code.


Method Summary
String  getCatalogName()
Returns a string containing the SQL identifier that names the SQL catalog in which the type is defined.
String  getSchemaName()
Returns a string containing the SQL identifier that names the SQL schema in which the type is defined.
int  getTypeCode()
Returns the type-code from java.sql.Types denoting this SQL type.
String  getTypeName()
Returns a string containing the SQL identifier that names the SQL type in its schema.
 

Method Detail

getCatalogName

public String getCatalogName()
Returns a string containing the SQL identifier that names the SQL catalog in which the type is defined. (may be null)
Returns:
the name of the SQL catalog

getSchemaName

public String getSchemaName()
Returns a string containing the SQL identifier that names the SQL schema in which the type is defined.
Returns:
the name of the SQL schema

getTypeName

public String getTypeName()
Returns a string containing the SQL identifier that names the SQL type in its schema.
Returns:
the name of the SQL type

getTypeCode

public int getTypeCode()
Returns the type-code from java.sql.Types denoting this SQL type. The type-codes include DISTINCT and STRUCT.
Returns:
integer code for SQL type

Contents | Package | Class | Tree | Deprecated | Index | Help Java 1.2 Beta 3
PREV | NEXT SHOW LISTS | HIDE LISTS

Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.