Package ubic.gemma.rest.util.args
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
-
Nested Class Summary
Nested Classes -
Method Summary
Methods inherited from class ubic.gemma.rest.util.args.AbstractArg
getValue, toString
-
Method Details
-
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
-