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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetamodelHelper.AttributeComparator
public MetamodelHelper.AttributeComparator()
compare
public int compare(Attribute<?,?> a1,
Attribute<?,?> a2)
- Specified by:
compare
in interface Comparator<Attribute<?,?>>
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.