public static final class LayerMapper.SchemaUidBasedLayerMapper extends Object implements LayerMapper
LayerMapper.LayerNameBasedLayerMapper
,
Serialized FormLayerMapper.LayerNameBasedLayerMapper, LayerMapper.MappingContext, LayerMapper.SchemaUidBasedLayerMapper
CREATE_NEW_DEFAULT_LAYER, CREATE_NEW_DEFAULT_LAYER_MAPPER
Modifier and Type | Method and Description |
---|---|
static LayerMapper.SchemaUidBasedLayerMapper |
from(Map<String,String> mapping)
Create an layer mapping instance from a given
Map based on layer names
(key=schema uid, value= target layer name). |
String |
getLayer(LayerMapper.MappingContext mappingContext)
|
public static LayerMapper.SchemaUidBasedLayerMapper from(@NotNull Map<String,String> mapping)
Map
based on layer names
(key=schema uid, value= target layer name).mapping
- Mapping schema uid to target layer name.@NotNull public String getLayer(@NotNull LayerMapper.MappingContext mappingContext)
name
of the layer
to be used for the given schema.
Return LayerMapper.CREATE_NEW_DEFAULT_LAYER
to force creation of a new default layer
in the target project which should be used for the transported schema.getLayer
in interface LayerMapper
mappingContext
- mapping data related to the transported schemaname
of the layer
to be used.LayerMapper.CREATE_NEW_DEFAULT_LAYER
Copyright © 2021 e-Spirit AG. All Rights Reserved. Build 5.2.210210