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.persistence.jest
Class MetamodelHelper.AttributeComparator

    java.lang.Object
      org.apache.openjpa.persistence.jest.MetamodelHelper.AttributeComparator

All Implemented Interfaces:
  Comparator<Attribute<?,?>>

Enclosing class:
  MetamodelHelper

    public static class MetamodelHelper.AttributeComparator

extends Object
implements Comparator<Attribute<?,?>>

Compares attribute by their category and within the same category by name.

Constructor Summary
`MetamodelHelper.AttributeComparator()`

Method Summary
`int` | `compare(Attribute<?,?> a1, Attribute<?,?> a2)`

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

### MetamodelHelper.AttributeComparator

    public MetamodelHelper.AttributeComparator()

Method Detail

### compare

    public int compare(Attribute<?,?> a1,
                       Attribute<?,?> a2)

  Specified by:
    `compare` in interface `Comparator<Attribute<?,?>>`

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-2013 Apache Software Foundation. All Rights Reserved.