Class DatabaseEntryArg<T>

  • All Implemented Interfaces:
    Arg<T>
    Direct Known Subclasses:
    DatabaseEntryIdArg, DatabaseEntryStringArg

    public abstract class DatabaseEntryArg<T>
    extends AbstractEntityArg<T,​ubic.gemma.model.common.description.DatabaseEntry,​ubic.gemma.persistence.service.common.description.DatabaseEntryService>
    Mutable argument type base class for DatabaseEntry API.
    Author:
    tesarst
    • Constructor Detail

      • DatabaseEntryArg

        protected DatabaseEntryArg​(String propertyName,
                                   Class<T> propertyType,
                                   T value)
    • 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