com.sun.jdo.api.persistence.model.util
Class DumpMapping

java.lang.Object
  extended by com.sun.jdo.api.persistence.model.util.DumpMapping

public class DumpMapping
extends Object


Constructor Summary
DumpMapping()
           
 
Method Summary
static void dumpClassLoaderCache(PrintStream stream)
          Print out the cache of classLoaders to the specified PrintStream.
static void dumpMappingCache(PrintStream stream)
          Print out the cache of MappingClassElements to the specified PrintStream.
static void main(String[] args)
           
static void printConcurrencyGroupElements(int tabs, ConcurrencyGroupElement[] groups)
           
static void printMappingClassElement(MappingClassElement mce)
           
static void printMappingFieldElements(int tabs, ArrayList fields)
           
static void printMappingRefKeyElements(int tabs, ArrayList refKeys)
           
static void printMappingTableElements(int tabs, ArrayList tables)
           
static void printPersistenceClassElement(PersistenceClassElement pce)
           
static void printPersistenceFieldElements(int tabs, PersistenceFieldElement[] fields)
           
static void setModel(Model newModel)
          Sets the internal model reference used by the DumpMapping methods to the specified Model instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DumpMapping

public DumpMapping()
Method Detail

dumpMappingCache

public static void dumpMappingCache(PrintStream stream)
Print out the cache of MappingClassElements to the specified PrintStream.

Parameters:
stream - PrintStream used to dump the info

dumpClassLoaderCache

public static void dumpClassLoaderCache(PrintStream stream)
Print out the cache of classLoaders to the specified PrintStream.

Parameters:
stream - PrintStream used to dump the info

main

public static void main(String[] args)

setModel

public static void setModel(Model newModel)
Sets the internal model reference used by the DumpMapping methods to the specified Model instance.

Parameters:
newModel - the Model instance to be used by DumpMapping

printPersistenceClassElement

public static void printPersistenceClassElement(PersistenceClassElement pce)

printPersistenceFieldElements

public static void printPersistenceFieldElements(int tabs,
                                                 PersistenceFieldElement[] fields)

printConcurrencyGroupElements

public static void printConcurrencyGroupElements(int tabs,
                                                 ConcurrencyGroupElement[] groups)

printMappingClassElement

public static void printMappingClassElement(MappingClassElement mce)

printMappingTableElements

public static void printMappingTableElements(int tabs,
                                             ArrayList tables)

printMappingRefKeyElements

public static void printMappingRefKeyElements(int tabs,
                                              ArrayList refKeys)

printMappingFieldElements

public static void printMappingFieldElements(int tabs,
                                             ArrayList fields)


Copyright © 2012 GlassFish Community. All Rights Reserved.