Class EntityTypeComparatorForModifications

  • All Implemented Interfaces:
    java.util.Comparator<java.lang.Class<?>>
    Direct Known Subclasses:
    EntityTypeComparatorForInserts

    public class EntityTypeComparatorForModifications
    extends java.lang.Object
    implements java.util.Comparator<java.lang.Class<?>>
    Compares operations by Entity type.
    Author:
    Daniel Meyer
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.Map<java.lang.Class<?>,​java.lang.Integer> TYPE_ORDER  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(java.lang.Class<?> firstEntityType, java.lang.Class<?> secondEntityType)  
      • 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, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Field Detail

      • TYPE_ORDER

        public static final java.util.Map<java.lang.Class<?>,​java.lang.Integer> TYPE_ORDER
    • Constructor Detail

      • EntityTypeComparatorForModifications

        public EntityTypeComparatorForModifications()
    • Method Detail

      • compare

        public int compare​(java.lang.Class<?> firstEntityType,
                           java.lang.Class<?> secondEntityType)
        Specified by:
        compare in interface java.util.Comparator<java.lang.Class<?>>