public class EntityMapping extends Object
| Constructor and Description |
|---|
EntityMapping(EntityType source,
EntityType target)
Creates a new empty EntityMapping with no
AttributeMappings. |
EntityMapping(String identifier,
EntityType sourceEntityType,
EntityType targetEntityType,
List<AttributeMapping> attributeMappings) |
| Modifier and Type | Method and Description |
|---|---|
AttributeMapping |
addAttributeMapping(String targetAttributeName)
Adds a new empty attribute mapping to a target attribute
|
void |
deleteAttributeMapping(String attribute) |
boolean |
equals(Object obj) |
AttributeMapping |
getAttributeMapping(String name) |
Collection<AttributeMapping> |
getAttributeMappings() |
String |
getIdentifier() |
String |
getLabel() |
Stream<String> |
getMissingTargetAttributeNames() |
String |
getName() |
EntityType |
getSourceEntityType() |
EntityType |
getTargetEntityType() |
int |
hashCode() |
void |
removeIdentifiers() |
void |
setIdentifier(String identifier) |
String |
toString() |
public EntityMapping(EntityType source, EntityType target)
AttributeMappings.public EntityMapping(String identifier, EntityType sourceEntityType, EntityType targetEntityType, List<AttributeMapping> attributeMappings)
public String getIdentifier()
public void setIdentifier(String identifier)
public void removeIdentifiers()
public String getName()
public String getLabel()
public EntityType getSourceEntityType()
public EntityType getTargetEntityType()
public Collection<AttributeMapping> getAttributeMappings()
public AttributeMapping getAttributeMapping(String name)
public AttributeMapping addAttributeMapping(String targetAttributeName)
public void deleteAttributeMapping(String attribute)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.