Package uk.ac.ebi.pride.jmztab2.model
Class OptColumnMappingBuilder.GlobalOptColumnMappingBuilder
- java.lang.Object
-
- uk.ac.ebi.pride.jmztab2.model.OptColumnMappingBuilder.GlobalOptColumnMappingBuilder
-
- All Implemented Interfaces:
IOptColumnMappingBuilder
- Enclosing class:
- OptColumnMappingBuilder
public static class OptColumnMappingBuilder.GlobalOptColumnMappingBuilder extends Object
Create a newOptColumnMappingBuilder
for global optional columns. Use this to create a global optional column, either with a dedicated name, or with a parameter. This applies to all replicates.opt_global_someProperty ... opt_global_cv_MS_MS:113123_parameter_name <somePropertyValue> ... <parameter_name_value>
-
-
Constructor Summary
Constructors Constructor Description GlobalOptColumnMappingBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OptColumnMapping
build(String value)
Use the current builder state to create an OptColumnMapping with the provided value for e.g. a particular feature (row).OptColumnMappingBuilder.GlobalOptColumnMappingBuilder
withName(String name)
OptColumnMappingBuilder.GlobalOptColumnMappingBuilder
withParameter(Parameter parameter)
-
-
-
Constructor Detail
-
GlobalOptColumnMappingBuilder
public GlobalOptColumnMappingBuilder()
-
-
Method Detail
-
withName
public OptColumnMappingBuilder.GlobalOptColumnMappingBuilder withName(String name)
-
withParameter
public OptColumnMappingBuilder.GlobalOptColumnMappingBuilder withParameter(Parameter parameter)
-
build
public OptColumnMapping build(String value)
Description copied from interface:IOptColumnMappingBuilder
Use the current builder state to create an OptColumnMapping with the provided value for e.g. a particular feature (row).- Parameters:
value
- the value for the mapping.- Returns:
- the optional column mapping built from this builder instance.
-
-