Class DumpMapping


  • public class DumpMapping
    extends Object
    • 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
      • 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)