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="2020-02-11T15:11:41.249+01: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 classIndexedElement.PropertiesProperty enumeration for IndexedElement.
-
Constructor Summary
Constructors Constructor Description IndexedElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IndexedElementelementType(String elementType)Builder method for elementType.booleanequals(Object o)@NotNull StringgetElementType()Get elementType.@NotNull @Min(1L) IntegergetId()Get id.inthashCode()IndexedElementid(Integer id)Builder method for id.voidsetElementType(String elementType)Set elementType.voidsetId(Integer id)Set id.StringtoString()
-
-
-
Constructor Detail
-
IndexedElement
public IndexedElement()
-
-
Method Detail
-
id
public IndexedElement id(Integer id)
Builder method for id.- Parameters:
id- aIntegerparameter.- Returns:
- IndexedElement
- See Also:
IndexedElement#setId for specification examples,IndexedElement#getId for validation constraints
-
setId
public void setId(Integer id)
Set id.- Parameters:
id- aIntegerparameter.- See Also:
IndexedElement#getId for validation constraints
-
elementType
public IndexedElement elementType(String elementType)
Builder method for elementType.- Parameters:
elementType- aStringparameter.- 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- aStringparameter.- See Also:
IndexedElement#getElementType for validation constraints
-
-