Class OrderByItem

  • All Implemented Interfaces:
    java.util.Comparator<GenericEntity>

    public class OrderByItem
    extends java.lang.Object
    implements java.util.Comparator<GenericEntity>
    • Method Detail

      • getDescending

        public boolean getDescending()
      • parse

        public static final OrderByItem parse​(java.lang.Object obj)
      • parse

        public static final OrderByItem parse​(java.lang.String text)
      • makeOrderByString

        public java.lang.String makeOrderByString​(ModelEntity modelEntity,
                                                  boolean includeTablenamePrefix,
                                                  Datasource datasourceInfo)
      • makeOrderByString

        public void makeOrderByString​(java.lang.StringBuilder sb,
                                      ModelEntity modelEntity,
                                      boolean includeTablenamePrefix,
                                      Datasource datasourceInfo)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface java.util.Comparator<GenericEntity>
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object