Package ubic.gemma.rest.util.args
Class GeneArrayArg
- java.lang.Object
-
- ubic.gemma.rest.util.args.AbstractArg<List<T>>
-
- ubic.gemma.rest.util.args.AbstractArrayArg<String>
-
- ubic.gemma.rest.util.args.AbstractEntityArrayArg<Gene,GeneService>
-
- ubic.gemma.rest.util.args.GeneArrayArg
-
public class GeneArrayArg extends AbstractEntityArrayArg<Gene,GeneService>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeneArrayArg
valueOf(String s)
Used by RS to parse value of request parameters.-
Methods inherited from class ubic.gemma.rest.util.args.AbstractArrayArg
splitAndTrim
-
Methods inherited from class ubic.gemma.rest.util.args.AbstractArg
getValue, toString
-
-
-
-
Method Detail
-
valueOf
public static GeneArrayArg valueOf(String s)
Used by RS to parse value of request parameters.- Parameters:
s
- the request arrayGene argument- Returns:
- an instance of ArrayGeneArg representing an array of Gene identifiers from the input string, or a
malformed ArrayGeneArg that will throw an
BadRequestException
when accessing its value, if the input String can not be converted into an array of Gene identifiers.
-
-