Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


oracle.jbo.common.sdo
Class DataConversionHelper

java.lang.Object
  extended by oracle.jbo.common.sdo.DataConversionHelper


public class DataConversionHelper
extends java.lang.Object

Constructor Summary
DataConversionHelper()
           

 

Method Summary
static java.math.BigDecimal convertToBigDecimal(DBSequence source)
           
static java.math.BigDecimal convertToBigDecimal(Number source)
           
static java.math.BigInteger convertToBigInteger(DBSequence source)
           
static java.math.BigInteger convertToBigInteger(Number source)
           
static BlobDomain convertToBlobDomain(javax.activation.DataHandler source)
           
static ClobDomain convertToClobDomain(javax.activation.DataHandler source)
           
static javax.activation.DataHandler convertToDataHandler(BlobDomain source)
           
static javax.activation.DataHandler convertToDataHandler(ClobDomain source)
           
static double convertTodouble(java.lang.Double source)
           
static float convertTofloat(java.lang.Float source)
           
static int convertToint(java.lang.Integer source)
           
static long convertTolong(java.lang.Long source)
           
static short convertToshort(java.lang.Short source)
           
static java.lang.String convertToString(Date source)
           
static java.lang.String convertToString(Timestamp source)
           
static java.sql.Timestamp convertToTimestamp(Date source)
           
static java.lang.reflect.Method getConversionMethod(java.lang.Class destClass, java.lang.Class sourceClass)
           

 

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

 

Constructor Detail

DataConversionHelper

public DataConversionHelper()

Method Detail

convertToBigInteger

public static java.math.BigInteger convertToBigInteger(Number source)

convertToBigInteger

public static java.math.BigInteger convertToBigInteger(DBSequence source)

convertToBigDecimal

public static java.math.BigDecimal convertToBigDecimal(Number source)

convertToBigDecimal

public static java.math.BigDecimal convertToBigDecimal(DBSequence source)

convertToint

public static int convertToint(java.lang.Integer source)

convertTolong

public static long convertTolong(java.lang.Long source)

convertTofloat

public static float convertTofloat(java.lang.Float source)

convertTodouble

public static double convertTodouble(java.lang.Double source)

convertToshort

public static short convertToshort(java.lang.Short source)

convertToString

public static java.lang.String convertToString(Date source)

convertToString

public static java.lang.String convertToString(Timestamp source)

convertToClobDomain

public static ClobDomain convertToClobDomain(javax.activation.DataHandler source)

convertToBlobDomain

public static BlobDomain convertToBlobDomain(javax.activation.DataHandler source)

convertToDataHandler

public static javax.activation.DataHandler convertToDataHandler(BlobDomain source)

convertToDataHandler

public static javax.activation.DataHandler convertToDataHandler(ClobDomain source)

convertToTimestamp

public static java.sql.Timestamp convertToTimestamp(Date source)

getConversionMethod

public static java.lang.reflect.Method getConversionMethod(java.lang.Class destClass,
                                                           java.lang.Class sourceClass)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.3.0)

E17483-04


Copyright © 1997, 2012, Oracle. All rights reserved.