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 TypeMethodDescriptionboolean
Return comparison result based on the content of the properties.Return the element header associated with the relationship.Return the properties associated with the lineage mapping relationship.Return the element header associated with end 1 of the relationship.Return the element header associated with end 2 of the relationship.int
hashCode()
Return hash code for this objectvoid
setLineageMappingHeader
(ElementHeader lineageMappingHeader) Set up the element header associated with the relationship.void
setLineageMappingProperties
(LineageMappingProperties lineageMappingProperties) Set up the properties associated with the relationship.void
setSourceElement
(ElementHeader sourceElement) Set up the element header associated with end 1 of the relationship.void
setTargetElement
(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
Return the element header associated with the relationship.- Returns:
- element header object
-
setLineageMappingHeader
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
Return the element header associated with end 1 of the relationship.- Returns:
- element header object
-
setSourceElement
Set up the element header associated with end 1 of the relationship.- Parameters:
sourceElement
- element header object
-
getTargetElement
Return the element header associated with end 2 of the relationship.- Returns:
- element header object
-
setTargetElement
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
-