Class AssetLineageGraphRelationship

java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AssetLineageGraphRelationship

public class AssetLineageGraphRelationship extends Object
AssetLineageGraphRelationship describes the derived lineage graph relationship between two assets.
  • Constructor Details

    • AssetLineageGraphRelationship

      public AssetLineageGraphRelationship()
      Default constructor
    • AssetLineageGraphRelationship

      public AssetLineageGraphRelationship(AssetLineageGraphRelationship template)
      Copy/clone constructor
      Parameters:
      template - object to copy
  • Method Details

    • getRelationshipTypes

      public List<String> getRelationshipTypes()
      Return the type names from the matching relationships.
      Returns:
      list of type names
    • setRelationshipTypes

      public void setRelationshipTypes(List<String> relationshipTypes)
      Set up the type names from the matching relationships.
      Parameters:
      relationshipTypes - list of type names
    • getEnd1AssetGUID

      public String getEnd1AssetGUID()
      Return the unique identifier of the end 1 asset.
      Returns:
      guid
    • setEnd1AssetGUID

      public void setEnd1AssetGUID(String end1AssetGUID)
      Set up the unique identifier of the end 1 asset.
      Parameters:
      end1AssetGUID - guid
    • getEnd2AssetGUID

      public String getEnd2AssetGUID()
      Return the unique identifier of the end 2 asset.
      Returns:
      guid
    • setEnd2AssetGUID

      public void setEnd2AssetGUID(String end2AssetGUID)
      Set up the unique identifier of the end 2 asset.
      Parameters:
      end2AssetGUID - guid
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Object
      Returns:
      return string containing the property names and values
    • equals

      public boolean equals(Object objectToCompare)
      Return comparison result based on the content of the properties.
      Overrides:
      equals in class Object
      Parameters:
      objectToCompare - test object
      Returns:
      result of comparison
    • hashCode

      public int hashCode()
      Return hash code for this object
      Overrides:
      hashCode in class Object
      Returns:
      int hash code