Package com.rosetta.model.lib.mapper
Interface MapperBuilder<T>
- All Superinterfaces:
Mapper<T>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.mapper.Mapper
Mapper.Path -
Method Summary
Modifier and TypeMethodDescriptiondefault <C> MapperBuilder<C> default Optional<MapperItem<?, ?>> findParent(MapperItem<?, ?> item) Stream<MapperItem<? extends T, ?>> getItems()<F> MapperBuilder<F> map(NamedFunction<T, F> mappingFunc) Map a value with single cardinality<F> MapperBuilder<F> Helper function to map a value with single cardinality<F> MapperBuilder<F> mapC(NamedFunction<T, List<? extends F>> mappingFunc) Map a value with multiple cardinality<F> MapperBuilder<F> Helper function to map a value with multiple cardinalityunionDifferent(MapperBuilder<?> mapper) unionSame(MapperBuilder<T> other) Methods inherited from interface com.rosetta.model.lib.mapper.Mapper
get, getErrorPaths, getErrors, getMulti, getOrDefault, getParent, getParentMulti, getPaths, resultCount
-
Method Details
-
map
Helper function to map a value with single cardinality -
map
Map a value with single cardinality -
mapC
Helper function to map a value with multiple cardinality -
mapC
Map a value with multiple cardinality -
convert
-
unionSame
-
unionDifferent
-
getItems
Stream<MapperItem<? extends T,?>> getItems() -
findParent
-