Package de.isas.mztab2.model
Class OptColumnMapping
- java.lang.Object
-
- de.isas.mztab2.model.OptColumnMapping
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2020-02-11T15:12:05.057+01:00") public class OptColumnMapping extends Object
Additional columns can be added to the end of the small molecule table. These column headers MUST start with the prefix “opt_” followed by the {identifier} of the object they reference: assay, study variable, MS run or “global” (if the value relates to all replicates). Column names MUST only contain the following characters: ‘A’-‘Z’, ‘a’-‘z’, ‘0’-‘9’, ‘’, ‘-’, ‘[’, ‘]’, and ‘:’. CV parameter accessions MAY be used for optional columns following the format: opt{identifier}_cv_{accession}_\{parameter name}. Spaces within the parameter’s name MUST be replaced by ‘_’.mzTab-M specification example(s):
SMH SML_ID … opt_assay[1]_my_value … opt_global_another_value SML 1 … My value … some other value
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OptColumnMapping.Properties
Property enumeration for OptColumnMapping.
-
Constructor Summary
Constructors Constructor Description OptColumnMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull String
getIdentifier()
The fully qualified column name.@Valid Parameter
getParam()
The (optional) parameter for this column.String
getValue()
The value for this column in a particular row.int
hashCode()
OptColumnMapping
identifier(String identifier)
Builder method for identifier.OptColumnMapping
param(Parameter param)
Builder method for param.void
setIdentifier(String identifier)
Set identifier.void
setParam(Parameter param)
Set param.void
setValue(String value)
Set value.String
toString()
OptColumnMapping
value(String value)
Builder method for value.
-
-
-
Constructor Detail
-
OptColumnMapping
public OptColumnMapping()
-
-
Method Detail
-
identifier
public OptColumnMapping identifier(String identifier)
Builder method for identifier.- Parameters:
identifier
- aString
parameter.- Returns:
- OptColumnMapping
- See Also:
OptColumnMapping#setIdentifier for specification examples
,OptColumnMapping#getIdentifier for validation constraints
-
getIdentifier
@NotNull public @NotNull String getIdentifier()
The fully qualified column name.- Returns:
- identifier
-
setIdentifier
public void setIdentifier(String identifier)
Set identifier.- Parameters:
identifier
- aString
parameter.- See Also:
OptColumnMapping#getIdentifier for validation constraints
-
param
public OptColumnMapping param(Parameter param)
Builder method for param.- Parameters:
param
- aParameter
parameter.- Returns:
- OptColumnMapping
- See Also:
OptColumnMapping#setParam for specification examples
,OptColumnMapping#getParam for validation constraints
-
getParam
@Valid public @Valid Parameter getParam()
The (optional) parameter for this column.- Returns:
- param
-
setParam
public void setParam(Parameter param)
Set param.- Parameters:
param
- aParameter
parameter.- See Also:
OptColumnMapping#getParam for validation constraints
-
value
public OptColumnMapping value(String value)
Builder method for value.- Parameters:
value
- aString
parameter.- Returns:
- OptColumnMapping
- See Also:
OptColumnMapping#setValue for specification examples
,OptColumnMapping#getValue for validation constraints
-
setValue
public void setValue(String value)
Set value.- Parameters:
value
- aString
parameter.- See Also:
OptColumnMapping#getValue for validation constraints
-
-