Package ubic.gemma.rest.util.args
Class DatasetArrayArg
- java.lang.Object
-
- ubic.gemma.rest.util.args.AbstractArg<List<T>>
-
- ubic.gemma.rest.util.args.AbstractArrayArg<String>
-
- ubic.gemma.rest.util.args.AbstractEntityArrayArg<ExpressionExperiment,ExpressionExperimentService>
-
- ubic.gemma.rest.util.args.DatasetArrayArg
-
public class DatasetArrayArg extends AbstractEntityArrayArg<ExpressionExperiment,ExpressionExperimentService>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatasetArrayArg
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 DatasetArrayArg valueOf(String s) throws MalformedArgException
Used by RS to parse value of request parameters.- Parameters:
s
- the request arrayDataset argument- Returns:
- an instance of ArrayDatasetArg representing an array of Dataset identifiers from the input string, or a
malformed ArrayDatasetArg that will throw an
BadRequestException
when accessing its value, if the input String can not be converted into an array of Dataset identifiers. - Throws:
MalformedArgException
-
-