Class LineageMappingElement
java.lang.Object
org.odpi.openmetadata.accessservices.assetmanager.metadataelements.LineageMappingElement
- All Implemented Interfaces:
Serializable
LineageMappingElement contains the properties and header for a lineage mapping relationship retrieved from the metadata repository.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorLineageMappingElement(LineageMappingElement template) Copy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with the relationship.Return the properties associated with the lineage mapping relationship.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with end 1 of the relationship.org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeaderReturn the element header associated with end 2 of the relationship.inthashCode()Return hash code for this objectvoidsetLineageMappingHeader(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader lineageMappingHeader) Set up the element header associated with the relationship.voidsetLineageMappingProperties(LineageMappingProperties lineageMappingProperties) Set up the properties associated with the relationship.voidsetSourceElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader sourceElement) Set up the element header associated with end 1 of the relationship.voidsetTargetElement(org.odpi.openmetadata.frameworks.connectors.properties.beans.ElementHeader targetElement) Set up the element header associated with end 2 of the relationship.toString()JSON-style toString
-
Constructor Details
-
LineageMappingElement
public LineageMappingElement()Default constructor -
LineageMappingElement
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
Return the properties associated with the lineage mapping relationship.- Returns:
- properties
-
setLineageMappingProperties
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
JSON-style toString -
equals
Return comparison result based on the content of the properties. -
hashCode
public int hashCode()Return hash code for this object
-