Header menu logo ARCTokenization

ParamValue Type

Represent the different cases of a parameter, which is either a simple value, a CvTerm or a simple value with CvUnit

Union cases

Union case Description

CvValue cv

Full Usage: CvValue cv

Parameters:
cv : CvTerm

Value v

Full Usage: Value v

Parameters:
v : IConvertible

WithCvUnitAccession(cvu, CvUnit)

Full Usage: WithCvUnitAccession(cvu, CvUnit)

Parameters:
cvu : IConvertible
Item2 : CvUnit

Static members

Static member Description

ParamValue.getValue param

Full Usage: ParamValue.getValue param

Parameters:
Returns: IConvertible

Returns the value of the Param as IConvertible

param : ParamValue
Returns: IConvertible

ParamValue.getValueAsInt param

Full Usage: ParamValue.getValueAsInt param

Parameters:
Returns: int

Returns the value of the Param as int if possible, else fails

param : ParamValue
Returns: int

ParamValue.getValueAsString param

Full Usage: ParamValue.getValueAsString param

Parameters:
Returns: string

Returns the value of the Param as string

param : ParamValue
Returns: string

ParamValue.getValueAsTerm param

Full Usage: ParamValue.getValueAsTerm param

Parameters:
Returns: CvTerm

Returns the value of the Param as a term

param : ParamValue
Returns: CvTerm

ParamValue.tryAddAccession accession param

Full Usage: ParamValue.tryAddAccession accession param

Parameters:
Returns: ParamValue option

Returns a new paramValue with the given annotationID if possible, else returns None

accession : string
param : ParamValue
Returns: ParamValue option

ParamValue.tryAddName name param

Full Usage: ParamValue.tryAddName name param

Parameters:
Returns: ParamValue option

Returns a new paramValue with the given name if possible, else returns None

name : string
param : ParamValue
Returns: ParamValue option

ParamValue.tryAddReference ref param

Full Usage: ParamValue.tryAddReference ref param

Parameters:
Returns: ParamValue option

Returns a new paramValue with the given reference if possible, else returns None

ref : string
param : ParamValue
Returns: ParamValue option

ParamValue.tryAddUnit unit param

Full Usage: ParamValue.tryAddUnit unit param

Parameters:
Returns: ParamValue option

Returns a new paramValue with the given unit if possible, else returns None

unit : CvUnit
param : ParamValue
Returns: ParamValue option

ParamValue.tryGetUnit param

Full Usage: ParamValue.tryGetUnit param

Parameters:
Returns: CvUnit option

Returns the unit of the Param if it exists, else returns None

param : ParamValue
Returns: CvUnit option

Type something to start searching.