Class MetamodelHelper.AttributeComparator

java.lang.Object
org.apache.openjpa.persistence.jest.MetamodelHelper.AttributeComparator
All Implemented Interfaces:
Comparator<jakarta.persistence.metamodel.Attribute<?,?>>
Enclosing class:
MetamodelHelper

public static class MetamodelHelper.AttributeComparator extends Object implements Comparator<jakarta.persistence.metamodel.Attribute<?,?>>
Compares attribute by their category and within the same category by name.
  • Constructor Details

    • AttributeComparator

      public AttributeComparator()
  • Method Details

    • compare

      public int compare(jakarta.persistence.metamodel.Attribute<?,?> a1, jakarta.persistence.metamodel.Attribute<?,?> a2)
      Specified by:
      compare in interface Comparator<jakarta.persistence.metamodel.Attribute<?,?>>