Class SortingParser

java.lang.Object
ch.tocco.nice2.model.base.spi.sorting.SortingParser

public class SortingParser extends Object
Parses the sorting-syntax on the object-model.

Syntax is like this. fieldName, fieldName, -fieldName.
The fieldName is any field on the entity, including relations.
The '-' uses a descending sorting instead of ascending.

  • Constructor Details

    • SortingParser

      public SortingParser(String toParse)
  • Method Details