Package ubic.gemma.rest.util.args
Class PlatformArg<T>
- java.lang.Object
-
- ubic.gemma.rest.util.args.AbstractArg<T>
-
- ubic.gemma.rest.util.args.AbstractEntityArg<T,ubic.gemma.model.expression.arrayDesign.ArrayDesign,ubic.gemma.persistence.service.expression.arrayDesign.ArrayDesignService>
-
- ubic.gemma.rest.util.args.PlatformArg<T>
-
- All Implemented Interfaces:
Arg<T>
- Direct Known Subclasses:
PlatformIdArg
,PlatformStringArg
public abstract class PlatformArg<T> extends AbstractEntityArg<T,ubic.gemma.model.expression.arrayDesign.ArrayDesign,ubic.gemma.persistence.service.expression.arrayDesign.ArrayDesignService>
Mutable argument type base class for dataset (ExpressionExperiment) API.- Author:
- tesarst
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
PlatformArg(String propertyName, Class<T> propertyType, T value)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PlatformArg<?>
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 PlatformArg<?> 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
-
-