Class AssetLineageGraphRelationship
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.metadataelements.AssetLineageGraphRelationship
AssetLineageGraphRelationship describes the derived lineage graph relationship between two assets.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorCopy/clone constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn comparison result based on the content of the properties.Return the unique identifier of the end 1 asset.Return the unique identifier of the end 2 asset.Return the type names from the matching relationships.inthashCode()Return hash code for this objectvoidsetEnd1AssetGUID(String end1AssetGUID) Set up the unique identifier of the end 1 asset.voidsetEnd2AssetGUID(String end2AssetGUID) Set up the unique identifier of the end 2 asset.voidsetRelationshipTypes(List<String> relationshipTypes) Set up the type names from the matching relationships.toString()JSON-style toString
-
Constructor Details
-
AssetLineageGraphRelationship
public AssetLineageGraphRelationship()Default constructor -
AssetLineageGraphRelationship
Copy/clone constructor- Parameters:
template- object to copy
-
-
Method Details
-
getRelationshipTypes
Return the type names from the matching relationships.- Returns:
- list of type names
-
setRelationshipTypes
Set up the type names from the matching relationships.- Parameters:
relationshipTypes- list of type names
-
getEnd1AssetGUID
Return the unique identifier of the end 1 asset.- Returns:
- guid
-
setEnd1AssetGUID
Set up the unique identifier of the end 1 asset.- Parameters:
end1AssetGUID- guid
-
getEnd2AssetGUID
Return the unique identifier of the end 2 asset.- Returns:
- guid
-
setEnd2AssetGUID
Set up the unique identifier of the end 2 asset.- Parameters:
end2AssetGUID- guid
-
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
-