public class DominoJMapperDefault extends java.lang.Object implements DominoJMapMapper
Base mapper for one to one domino to jmap fields
Modifier and Type | Class and Description |
---|---|
static class |
DominoJMapperDefault.UnknownFields
Flag to include or exclude unknown fields
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.function.UnaryOperator<io.vertx.core.json.JsonObject>> |
functionDominoToJMap |
protected java.util.Map<java.lang.String,java.util.function.UnaryOperator<io.vertx.core.json.JsonObject>> |
functionJMapToDomino |
protected DominoJMapperDefault.UnknownFields |
unknownFields |
Constructor and Description |
---|
DominoJMapperDefault(java.lang.String mapperType)
Constructor that initializes mapping of domino and jmap fields
|
DominoJMapperDefault(java.lang.String mapperType,
DominoJMapperDefault.UnknownFields unknownFields) |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.json.JsonObject |
mapFromDomino(io.vertx.core.json.JsonObject source)
Default mapper from domino to jmap
|
io.vertx.core.json.JsonObject |
mapFromJmap(io.vertx.core.json.JsonObject source)
Default mapper from jmap to domino
|
DominoJMapMapper |
setDocumentDominoToJmap(java.util.function.UnaryOperator<io.vertx.core.json.JsonObject> documentDominoToJmap) |
DominoJMapMapper |
setDocumentJmapToDomino(java.util.function.UnaryOperator<io.vertx.core.json.JsonObject> documentJmapToDomino) |
protected final java.util.Map<java.lang.String,java.util.function.UnaryOperator<io.vertx.core.json.JsonObject>> functionJMapToDomino
protected final java.util.Map<java.lang.String,java.util.function.UnaryOperator<io.vertx.core.json.JsonObject>> functionDominoToJMap
protected final DominoJMapperDefault.UnknownFields unknownFields
public DominoJMapperDefault(java.lang.String mapperType)
Constructor that initializes mapping of domino and jmap fields
mapperType
- public DominoJMapperDefault(java.lang.String mapperType, DominoJMapperDefault.UnknownFields unknownFields)
mapperType
- unknownFields
- public io.vertx.core.json.JsonObject mapFromDomino(io.vertx.core.json.JsonObject source)
Default mapper from domino to jmap
mapFromDomino
in interface DominoJMapMapper
public io.vertx.core.json.JsonObject mapFromJmap(io.vertx.core.json.JsonObject source)
Default mapper from jmap to domino
mapFromJmap
in interface DominoJMapMapper
public DominoJMapMapper setDocumentDominoToJmap(java.util.function.UnaryOperator<io.vertx.core.json.JsonObject> documentDominoToJmap)
documentDominoToJmap
- public DominoJMapMapper setDocumentJmapToDomino(java.util.function.UnaryOperator<io.vertx.core.json.JsonObject> documentJmapToDomino)
documentJmapToDomino
-