Package ubic.gemma.rest.util.args
Class DatabaseEntryArg<T>
- java.lang.Object
-
- ubic.gemma.rest.util.args.AbstractArg<T>
-
- ubic.gemma.rest.util.args.AbstractEntityArg<T,DatabaseEntry,DatabaseEntryService>
-
- ubic.gemma.rest.util.args.DatabaseEntryArg<T>
-
- All Implemented Interfaces:
Arg<T>
- Direct Known Subclasses:
DatabaseEntryIdArg
,DatabaseEntryStringArg
public abstract class DatabaseEntryArg<T> extends AbstractEntityArg<T,DatabaseEntry,DatabaseEntryService>
Mutable argument type base class for DatabaseEntry API.- Author:
- tesarst
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DatabaseEntryArg(String propertyName, Class<T> propertyType, T value)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DatabaseEntryArg<?>
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 DatabaseEntryArg<?> valueOf(String s) throws MalformedArgException
Used by RS to parse value of request parameters.- Parameters:
s
- the request database entry argument- Returns:
- instance of appropriate implementation of DatabaseEntryArg based on the actual Type the argument represents.
- Throws:
MalformedArgException
-
-