Package ubic.gemma.rest.util.args
Class DatasetArg<T>
- java.lang.Object
-
- ubic.gemma.rest.util.args.AbstractArg<T>
-
- ubic.gemma.rest.util.args.AbstractEntityArg<T,ubic.gemma.model.expression.experiment.ExpressionExperiment,ubic.gemma.persistence.service.expression.experiment.ExpressionExperimentService>
-
- ubic.gemma.rest.util.args.DatasetArg<T>
-
- All Implemented Interfaces:
Arg<T>
- Direct Known Subclasses:
DatasetIdArg
,DatasetStringArg
public abstract class DatasetArg<T> extends AbstractEntityArg<T,ubic.gemma.model.expression.experiment.ExpressionExperiment,ubic.gemma.persistence.service.expression.experiment.ExpressionExperimentService>
Mutable argument type base class for dataset (ExpressionExperiment) API.- Author:
- tesarst
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DatasetArg(String propertyName, Class<T> propertyType, T value)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatasetArg<?>
valueOf(String s)
Used by RS to parse value of request parameters.-
Methods inherited from class ubic.gemma.rest.util.args.AbstractArg
getValue, toString
-
-
-
-
Method Detail
-
valueOf
public static DatasetArg<?> valueOf(String s) throws MalformedArgException
Used by RS to parse value of request parameters.- Parameters:
s
- the request dataset argument- Returns:
- instance of appropriate implementation of DatasetArg based on the actual Type the argument represents.
- Throws:
MalformedArgException
-
-