public interface AttributeMappingRepository
EntityMappingMetaData Entities and EntityMapping s.| Modifier and Type | Method and Description |
|---|---|
List<AttributeMapping> |
getAttributeMappings(List<Entity> attributeMappingEntities,
EntityType sourceEntityType,
EntityType targetEntityType)
Creates a list of fully reconstructed
AttributeMappings. |
List<Attribute> |
retrieveAttributesFromAlgorithm(String algorithm,
EntityType sourceEntityType)
Translates an algorithm to a list of
Attribute based on the algorithm, and the EntityType of the source entity |
List<Entity> |
upsert(Collection<AttributeMapping> collection)
Inserts or updates a
Collection of AttributeMapping. |
List<AttributeMapping> getAttributeMappings(List<Entity> attributeMappingEntities, @Nullable EntityType sourceEntityType, @Nullable EntityType targetEntityType)
AttributeMappings.attributeMappingEntities - List of Entitys with AttributeMappingMetaData
metadatasourceEntityType - EntityType of the source entity of the attribute mapping, used
to look up the AttributetargetEntityType - EntityType of the target entity of the attribute mapping, used
to look up the AttributeAttributeMappings.List<Entity> upsert(Collection<AttributeMapping> collection)
Collection of AttributeMapping. Will generate IDs if they
are not yet specified.List<Attribute> retrieveAttributesFromAlgorithm(String algorithm, EntityType sourceEntityType)
Attribute based on the algorithm, and the EntityType of the source entityAttributeCopyright © 2018 Pivotal Software, Inc.. All rights reserved.