Oracle Reports
Java API Reference
10g Release 2 (10.1.2)
B14049-01

oracle.reports.plugin
Class PluginTypes

java.lang.Object
  |
  +--oracle.reports.plugin.PluginTypes

public abstract class PluginTypes
extends java.lang.Object

The class defines the extended type codes supported By Reports Plugin Data Source API but not defined in JDBC java.sql.Types. The followings list the types supported by Reports Plugin Data Source API, and the corresponding ResultSet methods to get their values:

    java.sql.Types.BIGINT                       getLong(int columnIndx)
    java.sql.Types.BIT                          getBoolean(int columnIndx)
    java.sql.Types.CHAR                         getString(int columnIndx)
    java.sql.Types.DATE                         getDate(int columnIndx)
    java.sql.Types.DECIMAL                      getBigDecimal(int columnIndx)
    java.sql.Types.DOUBLE                       getDouble(int columnIndx)
    java.sql.Types.FLOAT                        getFloat(int columnIndx)
    java.sql.Types.INTEGER                      getInt(int columnIndx)
    java.sql.Types.NUMERIC                      getBigDecimal(int columnIndx)
    java.sql.Types.REAL                         getFloat(int columnIndx)
    java.sql.Types.SMALLINT                     getShort(int columnIndx)
    java.sql.Types.TIME                         getTime(int columnIndx)
    java.sql.Types.TIMESTAMP                    getTimestamp(int columnIndx)
    java.sql.Types.TINYINT                      getShort(int columnIndx)
    java.sql.Types.VARCHAR                      getString(int columnIndx)
    oracle.reports.plugin.Types.ORACLE_CHAR     getObject(int columnIndx)
    oracle.reports.plugin.Types.ORACLE_DATE     getObject(int columnIndx)
    oracle.reports.plugin.Types.ORACLE_NUMBER   getObject(int columnIndx)
  

Field Summary
static int ORACLE_CHAR
oracle.sql.CHAR
static int ORACLE_DATE
oracle.sql.DATE
static int ORACLE_NUMBER
oracle.sql.NUMBER

Constructor Summary
PluginTypes()

Method Summary
static boolean isOracleType(int type)
Returns true if type is oracle type, false otherwise

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

ORACLE_NUMBER

public static final int ORACLE_NUMBER
oracle.sql.NUMBER

ORACLE_DATE

public static final int ORACLE_DATE
oracle.sql.DATE

ORACLE_CHAR

public static final int ORACLE_CHAR
oracle.sql.CHAR

Constructor Detail

PluginTypes

public PluginTypes()

Method Detail

isOracleType

public static boolean isOracleType(int type)
Returns true if type is oracle type, false otherwise

Oracle Reports
Java API Reference

Copyright © 1994, 2005 Oracle Corporation. All Rights Reserved.