Package de.isas.mztab2.model
Class Parameter
- java.lang.Object
-
- de.isas.mztab2.model.IndexedElement
-
- de.isas.mztab2.model.Parameter
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-08-07T11:10:11.690+02:00") public class Parameter extends IndexedElement
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.Parameter
elementType(String elementType)
Builder method for elementType.boolean
equals(Object o)
String
getCvAccession()
Get cvAccession.String
getCvLabel()
Get cvLabel.@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
setName(String name)
Set name.void
setValue(String value)
Set value.String
toString()
Parameter
value(String value)
Builder method for value.-
Methods inherited from class de.isas.mztab2.model.IndexedElement
getElementType, getId, setElementType, setId
-
-
-
-
Method Detail
-
id
public Parameter id(Integer id)
Description copied from class:IndexedElement
Builder method for id.- Overrides:
id
in classIndexedElement
- Parameters:
id
- aInteger
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setId for specification examples
,IndexedElement#getId for validation constraints
-
elementType
public Parameter elementType(String elementType)
Description copied from class:IndexedElement
Builder method for elementType.- Overrides:
elementType
in classIndexedElement
- Parameters:
elementType
- aString
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setElementType for specification examples
,IndexedElement#getElementType 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
-
getName
@NotNull public @NotNull String getName()
Get name.
- Returns:
- name
-
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
-
getValue
@NotNull public @NotNull String getValue()
Get value.
- Returns:
- value
-
setValue
public void setValue(String value)
Set value.- Parameters:
value
- aString
parameter.- See Also:
Parameter#getValue for validation constraints
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classIndexedElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classIndexedElement
-
toString
public String toString()
- Overrides:
toString
in classIndexedElement
-
-