Class Converter
java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.util.Converter
The converter is used for creating and mapping required properties between different objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateLineageEntity
(EntityDetail entityDetail) Create entity lineage entity.createLineageEntityFromProxy
(EntityProxy entityProxy) Create entity lineage entity starting from an entity proxycreateLineageRelationship
(Relationship relationship) Creates the lineage relationship.instancePropertiesToMap
(InstanceProperties properties) Retrieve the properties from an InstanceProperties object and return them as a map
-
Constructor Details
-
Converter
-
-
Method Details
-
createLineageEntity
Create entity lineage entity.- Parameters:
entityDetail
- the entity detail- Returns:
- the lineage entity
-
createLineageEntityFromProxy
Create entity lineage entity starting from an entity proxy- Parameters:
entityProxy
- the entity proxy- Returns:
- the lineage entity
-
createLineageRelationship
Creates the lineage relationship.- Parameters:
relationship
- the relationship details- Returns:
- the lineage relationship
-
instancePropertiesToMap
Retrieve the properties from an InstanceProperties object and return them as a map- Parameters:
properties
- the properties- Returns:
- the map properties
-