Package de.isas.mztab2.model
Class Assay
- java.lang.Object
 - 
- de.isas.mztab2.model.Assay
 
 
- 
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2021-01-02T19:26:21.550+01:00") public class Assay extends ObjectSpecification of assay. (empty) name: A name for each assay, to serve as a list of the assays that MUST be reported in the following tables. custom: Additional custom parameters or values for a given assay. external_uri: An external reference uri to further information about the assay, for example via a reference to an object within an ISA-TAB file. sample_ref: An association from a given assay to the sample analysed. ms_run_ref: An association from a given assay to the source MS run. All assays MUST reference exactly one ms_run unless a workflow with pre-fractionation is being encoded, in which case each assay MUST reference n ms_runs where n fractions have been collected. Multiple assays SHOULD reference the same ms_run to capture multiplexed experimental designs.mzTab-M specification example(s):
MTD assay[1] first assay MTD assay[1]-custom[1] [MS, , Assay operator, Fred Blogs] MTD assay[1]-external_uri https://www.ebi.ac.uk/metabolights/MTBLS517/files/i_Investigation.txt?STUDYASSAY=a_e04_c18pos.txt MTD assay[1]-sample_ref sample[1] MTD assay[1]-ms_run_ref ms_run[1] 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAssay.PropertiesProperty enumeration for Assay. 
- 
Constructor Summary
Constructors Constructor Description Assay() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssayaddCustomItem(Parameter customItem)Add a single customItem to the custom collection.AssayaddMsRunRefItem(MsRun msRunRefItem)Add a single msRunRefItem to the msRunRef collection.Assaycustom(List<Parameter> custom)Builder method for custom.booleanequals(Object o)AssayexternalUri(String externalUri)Builder method for externalUri.@Valid List<Parameter>getCustom()Additional user or cv parameters.StringgetExternalUri()An external URI to further information about this assay.@Min(1L) IntegergetId()Get id.@NotNull @Valid @Size(min=1) List<MsRun>getMsRunRef()The ms run(s) referenced by this assay.@NotNull StringgetName()The assay name.@Valid SamplegetSampleRef()The sample referenced by this assay.inthashCode()Assayid(Integer id)Builder method for id.AssaymsRunRef(List<MsRun> msRunRef)Builder method for msRunRef.Assayname(String name)Builder method for name.AssaysampleRef(Sample sampleRef)Builder method for sampleRef.voidsetCustom(List<Parameter> custom)Set custom.voidsetExternalUri(String externalUri)Set externalUri.voidsetId(Integer id)Set id.voidsetMsRunRef(List<MsRun> msRunRef)Set msRunRef.voidsetName(String name)Set name.voidsetSampleRef(Sample sampleRef)Set sampleRef.StringtoString() 
 - 
 
- 
- 
Constructor Detail
- 
Assay
public Assay()
 
 - 
 
- 
Method Detail
- 
id
public Assay id(Integer id)
Builder method for id.- Parameters:
 id- aIntegerparameter.- Returns:
 - Assay
 - See Also:
 Assay#setId for specification examples,Assay#getId for validation constraints
 
- 
setId
public void setId(Integer id)
Set id.- Parameters:
 id- aIntegerparameter.- See Also:
 Assay#getId for validation constraints
 
- 
name
public Assay name(String name)
Builder method for name.- Parameters:
 name- aStringparameter.- Returns:
 - Assay
 - See Also:
 Assay#setName for specification examples,Assay#getName for validation constraints
 
- 
setName
public void setName(String name)
Set name.- Parameters:
 name- aStringparameter.- See Also:
 Assay#getName for validation constraints
 
- 
custom
public Assay custom(List<Parameter> custom)
Builder method for custom.- Parameters:
 custom- aList<Parameter>parameter.- Returns:
 - Assay
 - See Also:
 Assay#setCustom for specification examples,Assay#getCustom for validation constraints
 
- 
addCustomItem
public Assay addCustomItem(Parameter customItem)
Add a single customItem to the custom collection.- Parameters:
 customItem- aParameterparameter.- Returns:
 - Assay
 - See Also:
 Assay#getCustom for validation constraints
 
- 
getCustom
@Valid public @Valid List<Parameter> getCustom()
Additional user or cv parameters.- Returns:
 - custom
 
 
- 
setCustom
public void setCustom(List<Parameter> custom)
Set custom.- Parameters:
 custom- aList<Parameter>parameter.- See Also:
 Assay#getCustom for validation constraints
 
- 
externalUri
public Assay externalUri(String externalUri)
Builder method for externalUri.- Parameters:
 externalUri- aStringparameter.- Returns:
 - Assay
 - See Also:
 Assay#setExternalUri for specification examples,Assay#getExternalUri for validation constraints
 
- 
getExternalUri
public String getExternalUri()
An external URI to further information about this assay.- Returns:
 - externalUri
 
 
- 
setExternalUri
public void setExternalUri(String externalUri)
Set externalUri.- Parameters:
 externalUri- aStringparameter.- See Also:
 Assay#getExternalUri for validation constraints
 
- 
sampleRef
public Assay sampleRef(Sample sampleRef)
Builder method for sampleRef.- Parameters:
 sampleRef- aSampleparameter.- Returns:
 - Assay
 - See Also:
 Assay#setSampleRef for specification examples,Assay#getSampleRef for validation constraints
 
- 
getSampleRef
@Valid public @Valid Sample getSampleRef()
The sample referenced by this assay.- Returns:
 - sampleRef
 
 
- 
setSampleRef
public void setSampleRef(Sample sampleRef)
Set sampleRef.- Parameters:
 sampleRef- aSampleparameter.- See Also:
 Assay#getSampleRef for validation constraints
 
- 
msRunRef
public Assay msRunRef(List<MsRun> msRunRef)
Builder method for msRunRef.- Parameters:
 msRunRef- aList<MsRun>parameter.- Returns:
 - Assay
 - See Also:
 Assay#setMsRunRef for specification examples,Assay#getMsRunRef for validation constraints
 
- 
addMsRunRefItem
public Assay addMsRunRefItem(MsRun msRunRefItem)
Add a single msRunRefItem to the msRunRef collection.- Parameters:
 msRunRefItem- aMsRunparameter.- Returns:
 - Assay
 - See Also:
 Assay#getMsRunRef for validation constraints
 
- 
getMsRunRef
@NotNull @Valid @Size(min=1) public @NotNull @Valid @Size(min=1) List<MsRun> getMsRunRef()
The ms run(s) referenced by this assay.- Returns:
 - msRunRef
 
 
- 
setMsRunRef
public void setMsRunRef(List<MsRun> msRunRef)
Set msRunRef.- Parameters:
 msRunRef- aList<MsRun>parameter.- See Also:
 Assay#getMsRunRef for validation constraints
 
 - 
 
 -