Package de.isas.mztab2.model
Class SampleProcessing
- java.lang.Object
-
- de.isas.mztab2.model.IndexedElement
-
- de.isas.mztab2.model.SampleProcessing
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2020-02-11T15:11:41.249+01:00") public class SampleProcessing extends IndexedElement
A list of parameters describing a sample processing, preparation or handling step similar to a biological or analytical methods report. The order of the sample_processing items should reflect the order these processing steps were performed in. If multiple parameters are given for a step these MUST be separated by a “|”. If derivatization was performed, it MUST be reported here as a general step, e.g. 'silylation' and the actual derivatization agens MUST be specified in the Section 6.2.54 part.mzTab-M specification example(s):
MTD sample_processing[1] [MSIO, MSIO:0000107, metabolism quenching using precooled 60 percent methanol ammonium bicarbonate buffer,] MTD sample_processing[2] [MSIO, MSIO:0000146, centrifugation,] MTD sample_processing[3] [MSIO, MSIO:0000141, metabolite extraction,] MTD sample_processing[4] [MSIO, MSIO:0000141, silylation,]
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SampleProcessing.Properties
Property enumeration for SampleProcessing.
-
Constructor Summary
Constructors Constructor Description SampleProcessing()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SampleProcessing
addSampleProcessingItem(Parameter sampleProcessingItem)
Add a single sampleProcessingItem to the sampleProcessing collection.SampleProcessing
elementType(String elementType)
Builder method for elementType.boolean
equals(Object o)
@Valid List<Parameter>
getSampleProcessing()
Parameters specifiying sample processing that was applied within one step.int
hashCode()
SampleProcessing
id(Integer id)
Builder method for id.SampleProcessing
sampleProcessing(List<Parameter> sampleProcessing)
Builder method for sampleProcessing.void
setSampleProcessing(List<Parameter> sampleProcessing)
Set sampleProcessing.String
toString()
-
Methods inherited from class de.isas.mztab2.model.IndexedElement
getElementType, getId, setElementType, setId
-
-
-
-
Constructor Detail
-
SampleProcessing
public SampleProcessing()
-
-
Method Detail
-
id
public SampleProcessing 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 SampleProcessing 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
-
sampleProcessing
public SampleProcessing sampleProcessing(List<Parameter> sampleProcessing)
Builder method for sampleProcessing.- Parameters:
sampleProcessing
- aList<Parameter>
parameter.- Returns:
- SampleProcessing
- See Also:
SampleProcessing#setSampleProcessing for specification examples
,SampleProcessing#getSampleProcessing for validation constraints
-
addSampleProcessingItem
public SampleProcessing addSampleProcessingItem(Parameter sampleProcessingItem)
Add a single sampleProcessingItem to the sampleProcessing collection.- Parameters:
sampleProcessingItem
- aParameter
parameter.- Returns:
- SampleProcessing
- See Also:
SampleProcessing#getSampleProcessing for validation constraints
-
getSampleProcessing
@Valid public @Valid List<Parameter> getSampleProcessing()
Parameters specifiying sample processing that was applied within one step.- Returns:
- sampleProcessing
-
setSampleProcessing
public void setSampleProcessing(List<Parameter> sampleProcessing)
Set sampleProcessing.- Parameters:
sampleProcessing
- aList<Parameter>
parameter.- See Also:
SampleProcessing#getSampleProcessing 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
-
-