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 Object
mzTab 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 class
Parameter.Properties
Property enumeration for Parameter.
-
Constructor Summary
Constructors Constructor Description Parameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Parameter
cvAccession(String cvAccession)
Builder method for cvAccession.Parameter
cvLabel(String cvLabel)
Builder method for cvLabel.boolean
equals(Object o)
String
getCvAccession()
Get cvAccession.String
getCvLabel()
Get cvLabel.@Min(1L) Integer
getId()
Get id.@NotNull String
getName()
Get name.@NotNull String
getValue()
Get value.int
hashCode()
Parameter
id(Integer id)
Builder method for id.Parameter
name(String name)
Builder method for name.void
setCvAccession(String cvAccession)
Set cvAccession.void
setCvLabel(String cvLabel)
Set cvLabel.void
setId(Integer id)
Set id.void
setName(String name)
Set name.void
setValue(String value)
Set value.String
toString()
Parameter
value(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
- aInteger
parameter.- Returns:
- Parameter
- See Also:
Parameter#setId for specification examples
,Parameter#getId for validation constraints
-
setId
public void setId(Integer id)
Set id.- Parameters:
id
- aInteger
parameter.- See Also:
Parameter#getId for validation constraints
-
cvLabel
public Parameter cvLabel(String cvLabel)
Builder method for cvLabel.- Parameters:
cvLabel
- aString
parameter.- 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
- aString
parameter.- See Also:
Parameter#getCvLabel for validation constraints
-
cvAccession
public Parameter cvAccession(String cvAccession)
Builder method for cvAccession.- Parameters:
cvAccession
- aString
parameter.- 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
- aString
parameter.- See Also:
Parameter#getCvAccession for validation constraints
-
name
public Parameter name(String name)
Builder method for name.- Parameters:
name
- aString
parameter.- Returns:
- Parameter
- See Also:
Parameter#setName for specification examples
,Parameter#getName for validation constraints
-
setName
public void setName(String name)
Set name.- Parameters:
name
- aString
parameter.- See Also:
Parameter#getName for validation constraints
-
value
public Parameter value(String value)
Builder method for value.- Parameters:
value
- aString
parameter.- Returns:
- Parameter
- See Also:
Parameter#setValue for specification examples
,Parameter#getValue for validation constraints
-
setValue
public void setValue(String value)
Set value.- Parameters:
value
- aString
parameter.- See Also:
Parameter#getValue for validation constraints
-
-