public interface IImportMapping
Modifier and Type | Interface and Description |
---|---|
static class |
IImportMapping.CdmKey<CLASS extends IdentifiableEntity> |
static class |
IImportMapping.MappingType |
Modifier and Type | Method and Description |
---|---|
boolean |
exists(java.lang.String namespace,
java.lang.String sourceKey,
java.lang.Class<?> destinationClass)
Checks if a mapping exists for a given namespaced identifier.
|
void |
finish() |
java.util.Set<IImportMapping.CdmKey> |
get(java.lang.String namespace,
java.lang.String sourceKey)
Retrieve the CdmKey set for the given namespaced identifier.
|
InMemoryMapping |
getPartialMapping(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> namespacedSourceKeys)
Returns the mapping for only those obejcts addressed by the namespacedSourceKeys parameter
|
void |
putMapping(java.lang.String namespace,
java.lang.Integer sourceKey,
IdentifiableEntity destinationObject)
Put the destination object with for the given namespaced identifier into the mapping.
|
void |
putMapping(java.lang.String namespace,
java.lang.String sourceKey,
IdentifiableEntity destinationObject)
Put the destination object with for the given namespaced identifier into the mapping.
|
void putMapping(java.lang.String namespace, java.lang.String sourceKey, IdentifiableEntity destinationObject)
namespace
- sourceKey
- destinationObject
- void putMapping(java.lang.String namespace, java.lang.Integer sourceKey, IdentifiableEntity destinationObject)
namespace
- sourceKey
- destinationObject
- putMapping(String, String, IdentifiableEntity)
java.util.Set<IImportMapping.CdmKey> get(java.lang.String namespace, java.lang.String sourceKey)
namespace
- sourceKey
- boolean exists(java.lang.String namespace, java.lang.String sourceKey, java.lang.Class<?> destinationClass)
null
the mapping is limited to
result objects of the given class or a subclass of the given class.namespace
- sourceKey
- destinationClass
- InMemoryMapping getPartialMapping(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> namespacedSourceKeys)
namespacedKeys
- void finish()
Copyright © 2007-2017 EDIT. All Rights Reserved.