Class LineageMappingElement

  • All Implemented Interfaces:
    java.io.Serializable

    public class LineageMappingElement
    extends java.lang.Object
    implements java.io.Serializable
    LineageMappingElement contains the properties and header for a lineage mapping relationship retrieved from the metadata repository.
    See Also:
    Serialized Form
    • Constructor Detail

      • LineageMappingElement

        public LineageMappingElement()
        Default constructor
      • LineageMappingElement

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

      • getLineageMappingHeader

        public ElementHeader getLineageMappingHeader()
        Return the element header associated with the relationship.
        Returns:
        element header object
      • setLineageMappingHeader

        public void setLineageMappingHeader​(ElementHeader lineageMappingHeader)
        Set up the element header associated with the relationship.
        Parameters:
        lineageMappingHeader - element header object
      • getSourceElement

        public ElementHeader getSourceElement()
        Return the element header associated with end 1 of the relationship.
        Returns:
        element header object
      • setSourceElement

        public void setSourceElement​(ElementHeader sourceElement)
        Set up the element header associated with end 1 of the relationship.
        Parameters:
        sourceElement - element header object
      • getTargetElement

        public ElementHeader getTargetElement()
        Return the element header associated with end 2 of the relationship.
        Returns:
        element header object
      • setTargetElement

        public void setTargetElement​(ElementHeader targetElement)
        Set up the element header associated with end 2 of the relationship.
        Parameters:
        targetElement - element header object
      • toString

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

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

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