java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.util.Converter

public class Converter extends Object
The converter is used for creating and mapping required properties between different objects.
  • Constructor Details

  • Method Details

    • createLineageEntity

      public LineageEntity createLineageEntity(EntityDetail entityDetail)
      Create entity lineage entity.
      Parameters:
      entityDetail - the entity detail
      Returns:
      the lineage entity
    • createLineageEntityFromProxy

      public LineageEntity createLineageEntityFromProxy(EntityProxy entityProxy)
      Create entity lineage entity starting from an entity proxy
      Parameters:
      entityProxy - the entity proxy
      Returns:
      the lineage entity
    • createLineageRelationship

      public LineageRelationship createLineageRelationship(Relationship relationship)
      Creates the lineage relationship.
      Parameters:
      relationship - the relationship details
      Returns:
      the lineage relationship
    • instancePropertiesToMap

      public Map<String,String> instancePropertiesToMap(InstanceProperties properties)
      Retrieve the properties from an InstanceProperties object and return them as a map
      Parameters:
      properties - the properties
      Returns:
      the map properties