|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.jbo.common.sdo.SDOHelper
public class SDOHelper
Field Summary | |
---|---|
static SDOHelper |
INSTANCE |
static java.lang.String |
MDS_DOCUMENT_MAP |
static java.lang.String |
NAME_SPACE_SEPERATOR |
static java.lang.String |
RESOURCE_LOCATION |
static java.lang.String |
RESOURCE_NAME |
static java.lang.String |
SCHEMA_LAST_MODIFIED_DATE |
Method Summary | |
---|---|
java.lang.Object |
convertToBC4JValue(java.lang.Class targetClass, java.lang.Object sdoValue) Deprecated. Internal use only. |
java.lang.Object |
convertToBC4JValue(java.lang.Class targetClass, java.lang.Object sdoValue, AttributeDef attrDef) |
java.lang.Object |
convertToBC4JValue(java.lang.Class targetClass, java.lang.Object sdoValue, Row row, java.lang.String attrName) |
java.lang.Object |
convertToSDOValue(java.lang.Class sdoClassType, java.lang.Object bc4jValue) Deprecated. Internal use only. |
java.lang.Object |
convertToSDOValue(java.lang.Class sdoClassType, java.lang.Object bc4jValue, AttributeDef attrDef) |
java.lang.Object |
convertToSDOValue(java.lang.Class sdoClassType, java.lang.Object bc4jValue, Row row, java.lang.String attrName) |
java.lang.Object |
convertToSDOValue(commonj.sdo.Type sdoType, java.lang.Object bc4jValue) Deprecated. Internal use only. |
java.util.List |
defineSchema(java.lang.String resourceLoc, java.lang.String resourceName) Defines XML Schema as SDO Types. |
java.util.List |
defineSchema(java.lang.String localHelperContextId, java.lang.String resourceLoc, java.lang.String resourceName) Defines XML Schema as SDO Types with a specified local sdo helper context id. |
commonj.sdo.helper.CopyHelper |
getCopyHelper() get local copyhelper |
commonj.sdo.helper.DataFactory |
getDataFactory() get local DataFactory |
commonj.sdo.DataObject |
getDataObject(Element xmlelement, Row vrow) |
protected java.net.URL |
getResource(java.lang.String resourcePath) |
javax.xml.transform.stream.StreamSource |
getResourceAsSource(java.lang.String absoluteDocName) Finds the resource with the given name. |
org.eclipse.persistence.sdo.helper.SDOHelperContext |
getSDOHelperContext() get local helper context by helperContextId |
org.eclipse.persistence.sdo.helper.SDOHelperContext |
getSDOHelperContext(java.lang.String helperContextId) |
java.lang.String |
getSDOHelperContextId(java.lang.Class serviceInterface) |
java.lang.String |
getSDOHelperContextId(java.lang.String serviceClassName) |
org.eclipse.persistence.sdo.SDOProperty |
getSDOProperty(commonj.sdo.Property property) helper method to enfore toplink's SDOProperty |
org.eclipse.persistence.sdo.SDOType |
getSDOType(commonj.sdo.Type type) helper method to enfore toplink's SDOType |
javax.xml.namespace.QName |
getServiceQName(java.lang.Class serviceInterface) |
commonj.sdo.helper.TypeHelper |
getTypeHelper() get local typehelpre |
commonj.sdo.helper.XMLHelper |
getXMLHelper() get local xml helper |
commonj.sdo.helper.XSDHelper |
getXSDHelper() get local XSDHelper |
boolean |
isComplexDataType(commonj.sdo.Type type) |
boolean |
isDataType(commonj.sdo.Type type) |
boolean |
isMultiTenantEnabled() |
boolean |
isNullable(commonj.sdo.Property property) |
boolean |
isReadOnly(commonj.sdo.Property property) |
void |
printDataObject(java.lang.String indent, commonj.sdo.DataObject dataobject, java.io.PrintWriter writer) for testing purpose |
java.util.List |
redefineSchema(commonj.sdo.helper.HelperContext sdoHelperContext, java.lang.String absoluteDocName) Defines XML Schema as SDO Types into the specified SDO helper context. |
protected java.util.List |
redefineSchema(java.lang.String localHelperContextId, java.lang.String resourceLoc, java.lang.String resourceName) |
java.lang.String |
setLocalSDOHelperContextId(java.lang.Class serviceClass) set local helpercontext id in ADFContext |
java.lang.String |
setLocalSDOHelperContextId(javax.xml.namespace.QName qname, java.lang.Class serviceClass) set local helpercontext id in ADFContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static SDOHelper INSTANCE
public static java.lang.String NAME_SPACE_SEPERATOR
public static java.lang.String RESOURCE_LOCATION
public static java.lang.String RESOURCE_NAME
public static java.lang.String MDS_DOCUMENT_MAP
public static java.lang.String SCHEMA_LAST_MODIFIED_DATE
Method Detail |
---|
public boolean isMultiTenantEnabled()
public org.eclipse.persistence.sdo.helper.SDOHelperContext getSDOHelperContext()
public org.eclipse.persistence.sdo.helper.SDOHelperContext getSDOHelperContext(java.lang.String helperContextId)
public java.lang.String setLocalSDOHelperContextId(java.lang.Class serviceClass)
public java.lang.String setLocalSDOHelperContextId(javax.xml.namespace.QName qname, java.lang.Class serviceClass)
public javax.xml.namespace.QName getServiceQName(java.lang.Class serviceInterface)
public commonj.sdo.helper.XMLHelper getXMLHelper()
public commonj.sdo.helper.XSDHelper getXSDHelper()
public commonj.sdo.helper.TypeHelper getTypeHelper()
public commonj.sdo.helper.DataFactory getDataFactory()
public commonj.sdo.helper.CopyHelper getCopyHelper()
public java.util.List defineSchema(java.lang.String localHelperContextId, java.lang.String resourceLoc, java.lang.String resourceName) throws java.io.IOException
localHelperContextId
- local SDOHelperContext idresourceLoc
- location of the schema fileresourceName
- name of the schema filenull
if the resource cannot be found or the invoker does not have adequate privileges to get the resource.java.io.IOException
- if an I/O exception occursprotected java.util.List redefineSchema(java.lang.String localHelperContextId, java.lang.String resourceLoc, java.lang.String resourceName) throws java.io.IOException
java.io.IOException
public java.util.List redefineSchema(commonj.sdo.helper.HelperContext sdoHelperContext, java.lang.String absoluteDocName) throws java.io.IOException
sdoHelperContext
- an SDO helper contextabsoluteDocName
- absolute path name of the schema filenull
if the resource cannot be found or the invoker does not have adequate privileges to get the resource.java.io.IOException
- if an I/O exception occurspublic java.util.List defineSchema(java.lang.String resourceLoc, java.lang.String resourceName) throws java.io.IOException
resourceLoc
- location of the schema fileresourceName
- name of the schema filenull
if the resource cannot be found or the invoker does not have adequate privileges to get the resource.java.io.IOException
- if an I/O exception occurspublic javax.xml.transform.stream.StreamSource getResourceAsSource(java.lang.String absoluteDocName) throws java.io.IOException
absoluteDocName
- the resource name (starts with '/')java.io.IOException
- an error occurs finding the resource or opening the streamprotected java.net.URL getResource(java.lang.String resourcePath) throws java.io.IOException
java.io.IOException
@Deprecated
public java.lang.Object convertToSDOValue(commonj.sdo.Type sdoType,
java.lang.Object bc4jValue)
sdoType
-bc4jValue
-
@Deprecated
public java.lang.Object convertToSDOValue(java.lang.Class sdoClassType,
java.lang.Object bc4jValue)
sdoType
-bc4jValue
-public java.lang.Object convertToSDOValue(java.lang.Class sdoClassType, java.lang.Object bc4jValue, Row row, java.lang.String attrName)
public java.lang.Object convertToSDOValue(java.lang.Class sdoClassType, java.lang.Object bc4jValue, AttributeDef attrDef)
@Deprecated
public java.lang.Object convertToBC4JValue(java.lang.Class targetClass,
java.lang.Object sdoValue)
targetClass
-sdoValue
-public java.lang.Object convertToBC4JValue(java.lang.Class targetClass, java.lang.Object sdoValue, Row row, java.lang.String attrName)
public java.lang.Object convertToBC4JValue(java.lang.Class targetClass, java.lang.Object sdoValue, AttributeDef attrDef)
public void printDataObject(java.lang.String indent, commonj.sdo.DataObject dataobject, java.io.PrintWriter writer)
indent
-dataobject
-public commonj.sdo.DataObject getDataObject(Element xmlelement, Row vrow)
public java.lang.String getSDOHelperContextId(java.lang.String serviceClassName)
public java.lang.String getSDOHelperContextId(java.lang.Class serviceInterface)
public org.eclipse.persistence.sdo.SDOType getSDOType(commonj.sdo.Type type)
public org.eclipse.persistence.sdo.SDOProperty getSDOProperty(commonj.sdo.Property property)
public boolean isDataType(commonj.sdo.Type type)
public boolean isReadOnly(commonj.sdo.Property property)
public boolean isNullable(commonj.sdo.Property property)
public boolean isComplexDataType(commonj.sdo.Type type)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |