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,ExpressionExperiment,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,ExpressionExperiment,ExpressionExperimentService>
Mutable argument type base class for dataset (ExpressionExperiment) API.
- Author:
- tesarst
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
DatasetArg
(String propertyName, Class<T> propertyType, T value) -
Method Summary
Modifier and TypeMethodDescriptionstatic DatasetArg
<?> Used by RS to parse value of request parameters.Methods inherited from class ubic.gemma.rest.util.args.AbstractArg
getValue, toString
-
Constructor Details
-
DatasetArg
-
-
Method Details
-
valueOf
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
-