|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
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 |
NAME_SPACE_SEPERATOR
|
Method Summary | |
---|---|
java.lang.Object |
convertToBC4JValue(java.lang.Class targetClass,
java.lang.Object sdoValue)
convert sdo property value ot bc4j value based on the target class type |
java.lang.Object |
convertToSDOValue(java.lang.Class sdoClassType,
java.lang.Object bc4jValue)
|
java.lang.Object |
convertToSDOValue(commonj.sdo.Type sdoType,
java.lang.Object bc4jValue)
convert bc4j attribute value to sdo type |
java.util.List |
defineSchema(java.lang.String resourceLoc,
java.lang.String resourceName)
Defines XML Schema as SDO Types. |
commonj.sdo.DataObject |
getDataObject(Element xmlelement,
Row vrow)
|
protected java.net.URL |
getResource(java.lang.String resourcePath)
|
void |
printDataObject(java.lang.String indent,
commonj.sdo.DataObject dataobject,
java.io.PrintWriter writer)
for testing purpose |
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
Method Detail |
---|
public 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 file
null
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.net.URL getResource(java.lang.String resourcePath) throws java.io.IOException
java.io.IOException
public java.lang.Object convertToSDOValue(commonj.sdo.Type sdoType, java.lang.Object bc4jValue)
sdoType
- bc4jValue
-
public java.lang.Object convertToSDOValue(java.lang.Class sdoClassType, java.lang.Object bc4jValue)
public java.lang.Object convertToBC4JValue(java.lang.Class targetClass, java.lang.Object sdoValue)
targetClass
- sdoValue
-
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)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |