Class TaxonArg<T>

All Implemented Interfaces:
Arg<T>
Direct Known Subclasses:
TaxonIdArg, TaxonNameArg, TaxonNcbiIdArg

public abstract class TaxonArg<T> extends AbstractEntityArg<T,Taxon,TaxonService>
Mutable argument type base class for Taxon API
Author:
tesarst
  • Constructor Details

    • TaxonArg

      protected TaxonArg(String propertyName, Class<T> propertyType, T arg)
  • Method Details

    • 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