org.apache.openjpa.persistence.jdbc
Class AnnotationPersistenceMappingSerializer.MappingSerializationComparator

java.lang.Object
  extended by org.apache.openjpa.meta.InheritanceComparator
      extended by org.apache.openjpa.meta.MetaDataInheritanceComparator
          extended by org.apache.openjpa.persistence.AnnotationPersistenceMetaDataSerializer.SerializationComparator
              extended by org.apache.openjpa.persistence.jdbc.AnnotationPersistenceMappingSerializer.MappingSerializationComparator
All Implemented Interfaces:
Serializable, Comparator
Enclosing class:
AnnotationPersistenceMappingSerializer

protected class AnnotationPersistenceMappingSerializer.MappingSerializationComparator
extends AnnotationPersistenceMetaDataSerializer.SerializationComparator

Extends AnnotationPersistenceMappingSerializer.MappingSerializationComparator for store-specific tags such as <sql-result-set-mapping>.

Author:
Pinaki Poddar
See Also:
Serialized Form

Constructor Summary
protected AnnotationPersistenceMappingSerializer.MappingSerializationComparator()
           
 
Method Summary
protected  int compareUnknown(Object o1, Object o2)
          Compare two unrecognized elements of the same type.
 
Methods inherited from class org.apache.openjpa.persistence.AnnotationPersistenceMetaDataSerializer.SerializationComparator
compare
 
Methods inherited from class org.apache.openjpa.meta.MetaDataInheritanceComparator
toClass
 
Methods inherited from class org.apache.openjpa.meta.InheritanceComparator
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
 

Constructor Detail

AnnotationPersistenceMappingSerializer.MappingSerializationComparator

protected AnnotationPersistenceMappingSerializer.MappingSerializationComparator()
Method Detail

compareUnknown

protected int compareUnknown(Object o1,
                             Object o2)
Description copied from class: AnnotationPersistenceMetaDataSerializer.SerializationComparator
Compare two unrecognized elements of the same type. Throws exception by default.

Overrides:
compareUnknown in class AnnotationPersistenceMetaDataSerializer.SerializationComparator


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.