Class LineageMappingElement
- 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LineageMappingElement()Default constructorLineageMappingElement(LineageMappingElement template)Copy/clone constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object objectToCompare)Return comparison result based on the content of the properties.ElementHeadergetLineageMappingHeader()Return the element header associated with the relationship.ElementHeadergetSourceElement()Return the element header associated with end 1 of the relationship.ElementHeadergetTargetElement()Return the element header associated with end 2 of the relationship.inthashCode()Return hash code for this objectvoidsetLineageMappingHeader(ElementHeader lineageMappingHeader)Set up the element header associated with the relationship.voidsetSourceElement(ElementHeader sourceElement)Set up the element header associated with end 1 of the relationship.voidsetTargetElement(ElementHeader targetElement)Set up the element header associated with end 2 of the relationship.StringtoString()JSON-style toString
-
-
-
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 String toString()
JSON-style toString
-
equals
public boolean equals(Object objectToCompare)
Return comparison result based on the content of the properties.
-
-