java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.LineageMappingElement
All Implemented Interfaces:
Serializable

public class LineageMappingElement extends Object implements Serializable
LineageMappingElement contains the properties and header for a lineage mapping relationship retrieved from the metadata repository.
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
    Copy/clone constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    equals(Object objectToCompare)
    Return comparison result based on the content of the properties.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with the relationship.
    Return the properties associated with the lineage mapping relationship.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with end 1 of the relationship.
    org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader
    Return the element header associated with end 2 of the relationship.
    int
    Return hash code for this object
    void
    setLineageMappingHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader lineageMappingHeader)
    Set up the element header associated with the relationship.
    void
    Set up the properties associated with the relationship.
    void
    setSourceElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader sourceElement)
    Set up the element header associated with end 1 of the relationship.
    void
    setTargetElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader targetElement)
    Set up the element header associated with end 2 of the relationship.
    JSON-style toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LineageMappingElement

      public LineageMappingElement()
      Default constructor
    • LineageMappingElement

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

    • getLineageMappingHeader

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getLineageMappingHeader()
      Return the element header associated with the relationship.
      Returns:
      element header object
    • setLineageMappingHeader

      public void setLineageMappingHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader lineageMappingHeader)
      Set up the element header associated with the relationship.
      Parameters:
      lineageMappingHeader - element header object
    • getLineageMappingProperties

      public LineageMappingProperties getLineageMappingProperties()
      Return the properties associated with the lineage mapping relationship.
      Returns:
      properties
    • setLineageMappingProperties

      public void setLineageMappingProperties(LineageMappingProperties lineageMappingProperties)
      Set up the properties associated with the relationship.
      Parameters:
      lineageMappingProperties - properties
    • getSourceElement

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getSourceElement()
      Return the element header associated with end 1 of the relationship.
      Returns:
      element header object
    • setSourceElement

      public void setSourceElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader sourceElement)
      Set up the element header associated with end 1 of the relationship.
      Parameters:
      sourceElement - element header object
    • getTargetElement

      public org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader getTargetElement()
      Return the element header associated with end 2 of the relationship.
      Returns:
      element header object
    • setTargetElement

      public void setTargetElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader targetElement)
      Set up the element header associated with end 2 of the relationship.
      Parameters:
      targetElement - element header object
    • 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