Package ubic.gemma.rest.util.args
Class TaxonArg<T>
- java.lang.Object
-
- ubic.gemma.rest.util.args.AbstractArg<T>
-
- ubic.gemma.rest.util.args.AbstractEntityArg<T,ubic.gemma.model.genome.Taxon,ubic.gemma.persistence.service.genome.taxon.TaxonService>
-
- ubic.gemma.rest.util.args.TaxonArg<T>
-
- All Implemented Interfaces:
Arg<T>
- Direct Known Subclasses:
TaxonIdArg
,TaxonNameArg
,TaxonNcbiIdArg
public abstract class TaxonArg<T> extends AbstractEntityArg<T,ubic.gemma.model.genome.Taxon,ubic.gemma.persistence.service.genome.taxon.TaxonService>
Mutable argument type base class for Taxon API- Author:
- tesarst
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaxonArg<?>
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 TaxonArg<?> valueOf(String s) throws MalformedArgException
Used by RS to parse value of request parameters.- Parameters:
s
- the request taxon argument- Returns:
- instance of appropriate implementation of TaxonArg based on the actual Type the argument represents.
- Throws:
MalformedArgException
-
-