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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the source entity of the relationshipGets the target entity of the relationshipinthashCode()voidsetSourceEntity(LineageEntity sourceEntity) Sets the source entity of the relationshipvoidsetTargetEntity(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:
equalsin classLineageEntity
-
hashCode
public int hashCode()- Overrides:
hashCodein classLineageEntity
-
toString
- Overrides:
toStringin classLineageEntity
-