Class SortArg<O extends ubic.gemma.model.common.Identifiable>

  • All Implemented Interfaces:
    Arg<SortArg.Sort>

    public class SortArg<O extends ubic.gemma.model.common.Identifiable>
    extends AbstractArg<SortArg.Sort>
    Represents an API argument for sorting.
    Author:
    tesarst
    • Method Detail

      • valueOf

        public static <T extends ubic.gemma.model.common.Identifiable> SortArg<T> valueOf​(String s)
                                                                                   throws MalformedArgException
        Used by RS to parse value of request parameters.
        Parameters:
        s - the request taxon argument
        Returns:
        a new SortArg object representing the sort options in the given string, or a malformed SortArg that will throw a BadRequestException, if the given string was not well-formed.
        Throws:
        MalformedArgException