Class XMLPersistenceMappingSerializer.MappingSerializationComparator
java.lang.Object
org.apache.openjpa.meta.InheritanceComparator
org.apache.openjpa.meta.MetaDataInheritanceComparator
org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.SerializationComparator
org.apache.openjpa.persistence.jdbc.XMLPersistenceMappingSerializer.MappingSerializationComparator
- All Implemented Interfaces:
Serializable
,Comparator
- Enclosing class:
- XMLPersistenceMappingSerializer
protected class XMLPersistenceMappingSerializer.MappingSerializationComparator
extends XMLPersistenceMetaDataSerializer.SerializationComparator
Extends
XMLPersistenceMetaDataSerializer.SerializationComparator
for store-specific tags such
as <sql-result-set-mapping>.- Author:
- Pinaki Poddar
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
compareUnknown
(Object o1, Object o2) Compare two unrecognized elements of the same type.Methods inherited from class org.apache.openjpa.persistence.XMLPersistenceMetaDataSerializer.SerializationComparator
compare
Methods inherited from class org.apache.openjpa.meta.MetaDataInheritanceComparator
toClass
Methods inherited from class org.apache.openjpa.meta.InheritanceComparator
getBase, setBase
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
MappingSerializationComparator
protected MappingSerializationComparator()
-
-
Method Details
-
compareUnknown
Description copied from class:XMLPersistenceMetaDataSerializer.SerializationComparator
Compare two unrecognized elements of the same type. Throws exception by default.- Overrides:
compareUnknown
in classXMLPersistenceMetaDataSerializer.SerializationComparator
-