Class SortDef


  • public class SortDef
    extends java.lang.Object
    This is a copy of the SortDefinition class found in data-model. Due to the use of a very old version of Jackson it is necessary to duplicate this class rather than reuse it.
    Author:
    Gethin James
    • Constructor Summary

      Constructors 
      Constructor Description
      SortDef​(java.lang.String type, java.lang.String field, boolean ascending)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getField()  
      java.lang.String getType()  
      boolean isAscending()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SortDef

        public SortDef​(java.lang.String type,
                       java.lang.String field,
                       boolean ascending)
    • Method Detail

      • getType

        public java.lang.String getType()
      • getField

        public java.lang.String getField()
      • isAscending

        public boolean isAscending()