Class DatabaseEntryArg<T>

java.lang.Object
ubic.gemma.rest.util.args.AbstractArg<T>
ubic.gemma.rest.util.args.AbstractEntityArg<T,ubic.gemma.model.common.description.DatabaseEntry,ubic.gemma.persistence.service.common.description.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,ubic.gemma.model.common.description.DatabaseEntry,ubic.gemma.persistence.service.common.description.DatabaseEntryService>
Mutable argument type base class for DatabaseEntry API.
Author:
tesarst
  • Constructor Details

    • DatabaseEntryArg

      protected DatabaseEntryArg(String propertyName, Class<T> propertyType, T value)
  • Method Details

    • 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