Class LineageRelationship
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.assetlineage.model.LineageEntity
-
- org.odpi.openmetadata.accessservices.assetlineage.model.LineageRelationship
-
public class LineageRelationship extends LineageEntity
The lineage relationship represents the a lineage relationship in the lineage graph with self contained properties.
-
-
Constructor Summary
Constructors Constructor Description LineageRelationship()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)LineageEntitygetSourceEntity()Gets the source entity of the relationshipLineageEntitygetTargetEntity()Gets the target entity of the relationshipinthashCode()voidsetSourceEntity(LineageEntity sourceEntity)Sets the source entity of the relationshipvoidsetTargetEntity(LineageEntity targetEntity)Sets the target entity of the relationshipStringtoString()-
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
-
-
-
-
Method Detail
-
getSourceEntity
public LineageEntity getSourceEntity()
Gets the source entity of the relationship- Returns:
- the guid
-
setSourceEntity
public void setSourceEntity(LineageEntity sourceEntity)
Sets the source entity of the relationship- Parameters:
sourceEntity- the guid
-
getTargetEntity
public LineageEntity getTargetEntity()
Gets the target entity of the relationship- Returns:
- the guid
-
setTargetEntity
public void setTargetEntity(LineageEntity targetEntity)
Sets the target entity of the relationship- Parameters:
targetEntity- the guid
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classLineageEntity
-
hashCode
public int hashCode()
- Overrides:
hashCodein classLineageEntity
-
toString
public String toString()
- Overrides:
toStringin classLineageEntity
-
-