Package de.isas.mztab2.model
Class Parameter
- java.lang.Object
-
- de.isas.mztab2.model.Parameter
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:25:37.430+01:00") public class Parameter extends ObjectmzTab makes use of CV parameters. As mzTab is expected to be used in several experimental environments where parameters might not yet be available for the generated scores etc. all parameters can either report CV parameters or user parameters that only contain a name and a value. Parameters are always reported as [CV label, accession, name, value]. Any field that is not available MUST be left empty.mzTab-M specification example(s):
[MS, MS:1001477, SpectraST,] [,,A user parameter, The value]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParameter.PropertiesProperty enumeration for Parameter.
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParametercvAccession(String cvAccession)Builder method for cvAccession.ParametercvLabel(String cvLabel)Builder method for cvLabel.booleanequals(Object o)StringgetCvAccession()Get cvAccession.StringgetCvLabel()Get cvLabel.@Min(1L) IntegergetId()Get id.@NotNull StringgetName()Get name.@NotNull StringgetValue()Get value.inthashCode()Parameterid(Integer id)Builder method for id.Parametername(String name)Builder method for name.voidsetCvAccession(String cvAccession)Set cvAccession.voidsetCvLabel(String cvLabel)Set cvLabel.voidsetId(Integer id)Set id.voidsetName(String name)Set name.voidsetValue(String value)Set value.StringtoString()Parametervalue(String value)Builder method for value.
-
-
-
Constructor Detail
-
Parameter
public Parameter()
-
-
Method Detail
-
id
public Parameter id(Integer id)
Builder method for id.- Parameters:
id- aIntegerparameter.- Returns:
- Parameter
- See Also:
Parameter#setId for specification examples,Parameter#getId for validation constraints
-
setId
public void setId(Integer id)
Set id.- Parameters:
id- aIntegerparameter.- See Also:
Parameter#getId for validation constraints
-
cvLabel
public Parameter cvLabel(String cvLabel)
Builder method for cvLabel.- Parameters:
cvLabel- aStringparameter.- Returns:
- Parameter
- See Also:
Parameter#setCvLabel for specification examples,Parameter#getCvLabel for validation constraints
-
getCvLabel
public String getCvLabel()
Get cvLabel.
- Returns:
- cvLabel
-
setCvLabel
public void setCvLabel(String cvLabel)
Set cvLabel.- Parameters:
cvLabel- aStringparameter.- See Also:
Parameter#getCvLabel for validation constraints
-
cvAccession
public Parameter cvAccession(String cvAccession)
Builder method for cvAccession.- Parameters:
cvAccession- aStringparameter.- Returns:
- Parameter
- See Also:
Parameter#setCvAccession for specification examples,Parameter#getCvAccession for validation constraints
-
getCvAccession
public String getCvAccession()
Get cvAccession.
- Returns:
- cvAccession
-
setCvAccession
public void setCvAccession(String cvAccession)
Set cvAccession.- Parameters:
cvAccession- aStringparameter.- See Also:
Parameter#getCvAccession for validation constraints
-
name
public Parameter name(String name)
Builder method for name.- Parameters:
name- aStringparameter.- Returns:
- Parameter
- See Also:
Parameter#setName for specification examples,Parameter#getName for validation constraints
-
setName
public void setName(String name)
Set name.- Parameters:
name- aStringparameter.- See Also:
Parameter#getName for validation constraints
-
value
public Parameter value(String value)
Builder method for value.- Parameters:
value- aStringparameter.- Returns:
- Parameter
- See Also:
Parameter#setValue for specification examples,Parameter#getValue for validation constraints
-
setValue
public void setValue(String value)
Set value.- Parameters:
value- aStringparameter.- See Also:
Parameter#getValue for validation constraints
-
-