|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.jbo.common.sdo.SDOTypeHandler
public class SDOTypeHandler
Constructor Summary | |
---|---|
SDOTypeHandler()
|
Method Summary | |
---|---|
static commonj.sdo.Type |
getComplexType(java.lang.String xsdType)
Gets a predefined complex type. |
static java.util.Set<java.lang.String> |
getPredefinedComplexTypes()
Gets the names of the predefined complex types. |
static java.lang.String |
getSDOJavaClassName(java.lang.String javaType)
Gets the mapping of a Java data type to an SDO Java instance class. |
static commonj.sdo.Type |
getSDOType(java.lang.String javaType)
Gets the mapping of a Java data type to an SDO data type. |
static java.lang.String |
getSDOWrapperClassName(java.lang.String javaType)
Gets the mapping of a Java data type to an SDO wrapper class. |
static javax.xml.namespace.QName |
getSystemTypeQName(java.lang.String className)
Gets the qualified name of an SDO Type, given the Java instance class used to implement the Type. |
static java.lang.String |
getXSDTypeName(java.lang.String javaType)
Gets the mapping of a Java data type to an XSD built-in or system (derived) type. |
static boolean |
isPredefinedComplexType(java.lang.String xsdType)
Tests whether an XSD complex type is a predefined complex type. |
static boolean |
isSystemType(java.lang.String javaType)
Tests whether a Java data type maps to an SDO Type whose instance class is overriden. |
static boolean |
isTypeSupported(java.lang.String javaType)
Tests whether a Java data type is currently supported. |
static void |
reinit()
Rereads the BC4JService.xsd that defines the common service types. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SDOTypeHandler()
Method Detail |
---|
public static java.lang.String getSDOJavaClassName(java.lang.String javaType)
oracle.jbo.domain.DBSequence
maps to java.math.BigInteger
.
javaType
- a fully-qualified Java data type name
public static commonj.sdo.Type getSDOType(java.lang.String javaType)
javaType
- a fully-qualified Java data type name
public static java.lang.String getSDOWrapperClassName(java.lang.String javaType)
javaType
- a fully-qualified Java data type name
public static java.lang.String getXSDTypeName(java.lang.String javaType)
javaType
- a fully-qualified Java data type name
public static javax.xml.namespace.QName getSystemTypeQName(java.lang.String className)
className
- a fully-qualified Java instance class name
public static commonj.sdo.Type getComplexType(java.lang.String xsdType)
xsdType
- the qualified name of an XSD complex type
public static java.util.Set<java.lang.String> getPredefinedComplexTypes()
public static boolean isPredefinedComplexType(java.lang.String xsdType)
xsdType
- the qualified name of an XSD complex type
true
if type is one of the predefined complex types.public static boolean isSystemType(java.lang.String javaType)
base64Binary-DataHandler
and
dateTime-Timestamp
common service types, respectively.
javaType
- a fully-qualified Java data type name
true
if type has a custom implementation class.public static boolean isTypeSupported(java.lang.String javaType)
This method checks for inner types only, i.e. it will return
false
for java.util.List
.
javaType
- a fully-qualified Java data type name
true
if type is supported.public static void reinit()
SDOTypeHelper.reset()
so that the SDO type registry is re-populated.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |