Package de.isas.mztab2.model
Class IndexedElement
- java.lang.Object
-
- de.isas.mztab2.model.IndexedElement
-
- Direct Known Subclasses:
Assay
,Contact
,CV
,Database
,Instrument
,MsRun
,Parameter
,Publication
,Sample
,SampleProcessing
,Software
,StudyVariable
,Uri
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-08-07T11:09:24.487+02:00") public class IndexedElement extends Object
Indexed elements (IDs) define a unique ID for a collection of multiple metadata elements of the same type within the mzTab-M document, e.g. for sample, assay, study variable etc.mzTab-M specification example(s):
MTD sample[1]-species[1] [NCBITaxon, NCBITaxon:9606, Homo sapiens, ] MTD assay[1] first assay description MTD study_variable[1] Group B (spike-in 0.74 fmol/uL)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IndexedElement.Properties
Property enumeration for IndexedElement.
-
Constructor Summary
Constructors Constructor Description IndexedElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexedElement
elementType(String elementType)
Builder method for elementType.boolean
equals(Object o)
@NotNull String
getElementType()
Get elementType.@NotNull @Min(1L) Integer
getId()
Get id.int
hashCode()
IndexedElement
id(Integer id)
Builder method for id.void
setElementType(String elementType)
Set elementType.void
setId(Integer id)
Set id.String
toString()
-
-
-
Constructor Detail
-
IndexedElement
public IndexedElement()
-
-
Method Detail
-
id
public IndexedElement id(Integer id)
Builder method for id.- Parameters:
id
- aInteger
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setId for specification examples
,IndexedElement#getId for validation constraints
-
setId
public void setId(Integer id)
Set id.- Parameters:
id
- aInteger
parameter.- See Also:
IndexedElement#getId for validation constraints
-
elementType
public IndexedElement elementType(String elementType)
Builder method for elementType.- Parameters:
elementType
- aString
parameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setElementType for specification examples
,IndexedElement#getElementType for validation constraints
-
getElementType
@NotNull public @NotNull String getElementType()
Get elementType.
- Returns:
- elementType
-
setElementType
public void setElementType(String elementType)
Set elementType.- Parameters:
elementType
- aString
parameter.- See Also:
IndexedElement#getElementType for validation constraints
-
-