com.ibm.websphere.wim.util
Class SDOUtils

java.lang.Object
  extended by com.ibm.websphere.wim.util.SDOUtils

public class SDOUtils
extends java.lang.Object

SDO Utilities


Constructor Summary
SDOUtils()
           
 
Method Summary
static java.lang.String getDataGraphAsString(commonj.sdo.DataObject root)
           
static void printDataGraph(java.lang.String msg, commonj.sdo.DataGraph dg)
          Print the DataGraph in semi-graphical format vmm internal code should not use this method as it prints to standard out.
static void printDataGraph(java.lang.String msg, commonj.sdo.DataObject root)
          Print the DataGraph in semi-graphical format vmm internal code should not use this method as it prints to standard out.
static void printDataGraphXML(java.lang.String msg, commonj.sdo.DataGraph dg)
          Print the datagraph XML vmm internal code should not use this method as it prints to standard out.
static void printDataObject(java.lang.String msg, int level, org.eclipse.emf.ecore.sdo.EDataObject do1)
          Print the DataObject in semi-graphical format
static void validateDataGraph(commonj.sdo.DataGraph dataGraph)
           
static void validateDataObject(commonj.sdo.DataObject dataObject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SDOUtils

public SDOUtils()
Method Detail

validateDataObject

public static void validateDataObject(commonj.sdo.DataObject dataObject)
                               throws WIMException
Throws:
WIMException

validateDataGraph

public static void validateDataGraph(commonj.sdo.DataGraph dataGraph)
                              throws WIMException
Throws:
WIMException

printDataGraphXML

public static void printDataGraphXML(java.lang.String msg,
                                     commonj.sdo.DataGraph dg)
Print the datagraph XML vmm internal code should not use this method as it prints to standard out.

Parameters:
msg - any message
dg - datagraph to print

printDataGraph

public static void printDataGraph(java.lang.String msg,
                                  commonj.sdo.DataGraph dg)
Print the DataGraph in semi-graphical format vmm internal code should not use this method as it prints to standard out.

Parameters:
msg - any message
dg - datagraph to print

printDataGraph

public static void printDataGraph(java.lang.String msg,
                                  commonj.sdo.DataObject root)
Print the DataGraph in semi-graphical format vmm internal code should not use this method as it prints to standard out.

Parameters:
msg - any message
dg - datagraph to print

getDataGraphAsString

public static java.lang.String getDataGraphAsString(commonj.sdo.DataObject root)

printDataObject

public static void printDataObject(java.lang.String msg,
                                   int level,
                                   org.eclipse.emf.ecore.sdo.EDataObject do1)
Print the DataObject in semi-graphical format

Parameters:
msg - any message
level - depth level of the data object from data graph root
do1 - dataobject to print