Class XMLPersistenceMetaDataSerializer.SerializationComparator

java.lang.Object
org.apache.openjpa.meta.InheritanceComparator
org.apache.openjpa.meta.MetaDataInheritanceComparator
org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.SerializationComparator
All Implemented Interfaces:
Serializable, Comparator
Direct Known Subclasses:
XMLPersistenceMappingSerializer.MappingSerializationComparator
Enclosing class:
XMLPersistenceMetaDataSerializer

protected class XMLPersistenceMetaDataSerializer.SerializationComparator extends MetaDataInheritanceComparator
Compares clases, sequences, and queries to order them for serialization. Places sequences first, then classes, then queries. Sequences and queries are ordered alphabetically by name. Classes are placed in listing order, in inheritance order within that, and in alphabetical order within that.
Author:
Stephen Kim
See Also:
  • Constructor Details

    • SerializationComparator

      protected SerializationComparator()
  • Method Details