Class LineageRelationship
java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.model.LineageEntity
org.odpi.openmetadata.accessservices.assetlineage.model.LineageRelationship
The lineage relationship represents the a lineage relationship in the lineage graph with self contained properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the source entity of the relationshipGets the target entity of the relationshipint
hashCode()
void
setSourceEntity
(LineageEntity sourceEntity) Sets the source entity of the relationshipvoid
setTargetEntity
(LineageEntity targetEntity) Sets the target entity of the relationshiptoString()
Methods inherited from class org.odpi.openmetadata.accessservices.assetlineage.model.LineageEntity
getCreatedBy, getCreateTime, getGuid, getMetadataCollectionId, getProperties, getTypeDefName, getUpdatedBy, getUpdateTime, getVersion, setCreatedBy, setCreateTime, setGuid, setMetadataCollectionId, setProperties, setTypeDefName, setUpdatedBy, setUpdateTime, setVersion
-
Constructor Details
-
LineageRelationship
public LineageRelationship()
-
-
Method Details
-
getSourceEntity
Gets the source entity of the relationship- Returns:
- the guid
-
setSourceEntity
Sets the source entity of the relationship- Parameters:
sourceEntity
- the guid
-
getTargetEntity
Gets the target entity of the relationship- Returns:
- the guid
-
setTargetEntity
Sets the target entity of the relationship- Parameters:
targetEntity
- the guid
-
equals
- Overrides:
equals
in classLineageEntity
-
hashCode
public int hashCode()- Overrides:
hashCode
in classLineageEntity
-
toString
- Overrides:
toString
in classLineageEntity
-