Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.openjpa.meta
Class MetaDataInheritanceComparator

    java.lang.Object
      org.apache.openjpa.meta.InheritanceComparator
          org.apache.openjpa.meta.MetaDataInheritanceComparator

All Implemented Interfaces:
  Comparator

Direct Known Subclasses:
  XMLPersistenceMetaDataSerializer.SerializationComparator

    public class MetaDataInheritanceComparator

extends InheritanceComparator

Comparator that keeps metadatas in inheritance order.

Author:
  Abe White

Constructor Summary
`MetaDataInheritanceComparator()`

Method Summary
`protected Class` | `toClass(Object elem)` Subclasses can override this method to extract the class to compare on from the elements of the collection.

Methods inherited from class org.apache.openjpa.meta.InheritanceComparator
`compare, 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

### MetaDataInheritanceComparator

    public MetaDataInheritanceComparator()

Method Detail

### toClass

    protected Class toClass(Object elem)

  Description copied from class: `InheritanceComparator`
  Subclasses can override this method to extract the class to compare on from the elements of the collection.

  Overrides:
    `toClass` in class `InheritanceComparator`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Apache Software Foundation. All Rights Reserved.