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
ConstructorsModifierConstructorDescriptionprotectedDatabaseEntryArg(String propertyName, Class<T> propertyType, T value) -
Method Summary
Modifier and TypeMethodDescriptionstatic DatabaseEntryArg<?> Used by RS to parse value of request parameters.Methods inherited from class ubic.gemma.rest.util.args.AbstractArg
getValue, toString
-
Constructor Details
-
DatabaseEntryArg
-
-
Method Details
-
valueOf
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
-