Class LineageRelationship

java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.model.LineageEntity
org.odpi.openmetadata.accessservices.assetlineage.model.LineageRelationship

public class LineageRelationship extends LineageEntity
The lineage relationship represents the a lineage relationship in the lineage graph with self contained properties.
  • Constructor Details

    • LineageRelationship

      public LineageRelationship()
  • Method Details

    • getSourceEntity

      public LineageEntity getSourceEntity()
      Gets the source entity of the relationship
      Returns:
      the guid
    • setSourceEntity

      public void setSourceEntity(LineageEntity sourceEntity)
      Sets the source entity of the relationship
      Parameters:
      sourceEntity - the guid
    • getTargetEntity

      public LineageEntity getTargetEntity()
      Gets the target entity of the relationship
      Returns:
      the guid
    • setTargetEntity

      public void setTargetEntity(LineageEntity targetEntity)
      Sets the target entity of the relationship
      Parameters:
      targetEntity - the guid
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class LineageEntity
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class LineageEntity
    • toString

      public String toString()
      Overrides:
      toString in class LineageEntity