|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.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 |
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 namepublic static commonj.sdo.Type getSDOType(java.lang.String javaType)
javaType
- a fully-qualified Java data type namepublic static java.lang.String getSDOWrapperClassName(java.lang.String javaType)
javaType
- a fully-qualified Java data type namepublic static java.lang.String getXSDTypeName(java.lang.String javaType)
javaType
- a fully-qualified Java data type namepublic static javax.xml.namespace.QName getSystemTypeQName(java.lang.String className)
className
- a fully-qualified Java instance class namepublic static commonj.sdo.Type getComplexType(java.lang.String xsdType)
xsdType
- the qualified name of an XSD complex typepublic static java.util.Set<java.lang.String> getPredefinedComplexTypes()
public static boolean isSystemType(java.lang.String javaType)
base64Binary-DataHandler
and dateTime-Timestamp
common service types, respectively.javaType
- a fully-qualified Java data type nametrue
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 nametrue
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 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |