Package uk.ac.ebi.pride.jmztab2.model
Class OptColumnMappingBuilder
- java.lang.Object
-
- uk.ac.ebi.pride.jmztab2.model.OptColumnMappingBuilder
-
- All Implemented Interfaces:
IOptColumnMappingBuilder
public class OptColumnMappingBuilder extends Object implements IOptColumnMappingBuilder
Builder for reusableOptColumnMapping
creation for multiple rows.- Author:
- nilshoffmann
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OptColumnMappingBuilder.GlobalOptColumnMappingBuilder
Create a newOptColumnMappingBuilder
for global optional columns.static class
OptColumnMappingBuilder.IndexedElementOptColumnMappingBuilder
Create a newOptColumnMappingBuilder
forIndexedElement
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OptColumnMappingBuilder.GlobalOptColumnMappingBuilder
forGlobal()
Configure the builder for a global type column.static OptColumnMappingBuilder.IndexedElementOptColumnMappingBuilder
forIndexedElement(Object indexedElement)
Configure the builder for an object reference (indexed element) type column.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface uk.ac.ebi.pride.jmztab2.model.IOptColumnMappingBuilder
build
-
-
-
-
Method Detail
-
forGlobal
public static OptColumnMappingBuilder.GlobalOptColumnMappingBuilder forGlobal()
Configure the builder for a global type column.- Returns:
- the builder instance for a global opt column.
-
forIndexedElement
public static OptColumnMappingBuilder.IndexedElementOptColumnMappingBuilder forIndexedElement(Object indexedElement)
Configure the builder for an object reference (indexed element) type column.- Parameters:
indexedElement
- the object to reference.- Returns:
- the builder instance for an indexed element opt column.
-
-