Class MetamodelHelper.AttributeComparator
- java.lang.Object
-
- org.apache.openjpa.persistence.jest.MetamodelHelper.AttributeComparator
-
- All Implemented Interfaces:
java.util.Comparator<jakarta.persistence.metamodel.Attribute<?,?>>
- Enclosing class:
- MetamodelHelper
public static class MetamodelHelper.AttributeComparator extends java.lang.Object implements java.util.Comparator<jakarta.persistence.metamodel.Attribute<?,?>>
Compares attribute by their category and within the same category by name.
-
-
Constructor Summary
Constructors Constructor Description AttributeComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(jakarta.persistence.metamodel.Attribute<?,?> a1, jakarta.persistence.metamodel.Attribute<?,?> a2)
-