Class AbstractEntityArg<T,O extends ubic.gemma.model.common.Identifiable,S extends ubic.gemma.persistence.service.FilteringService<O>>

java.lang.Object
ubic.gemma.rest.util.args.AbstractArg<T>
ubic.gemma.rest.util.args.AbstractEntityArg<T,O,S>
Type Parameters:
T - the type that the argument is expected to mutate to as per Arg
O - the persistent object type.
S - the service for the object type.
All Implemented Interfaces:
Arg<T>
Direct Known Subclasses:
CompositeSequenceArg, DatabaseEntryArg, DatasetArg, ExpressionAnalysisResultSetArg, FactorValueArg, GeneArg, PlatformArg, QuantitationTypeArg, TaxonArg

public abstract class AbstractEntityArg<T,O extends ubic.gemma.model.common.Identifiable,S extends ubic.gemma.persistence.service.FilteringService<O>> extends AbstractArg<T> implements Arg<T>
Interface representing and API call argument that can represent various identifiers of different types. E.g a taxon can be represented by Long number (ID) or multiple String properties (scientific/common name).
Author:
tesarst, poirigui
  • Constructor Details

    • AbstractEntityArg

      protected AbstractEntityArg(String propertyName, Class<T> propertyType, T value)