public class GraphContext extends Object
| Constructor and Description |
|---|
GraphContext()
Instantiates a new Graph context.
|
GraphContext(String relationshipType,
String relationshipGuid,
LineageEntity fromVertex,
LineageEntity toVertex)
Instantiates a new Graph context.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
LineageEntity |
getFromVertex()
Gets from vertex.
|
String |
getRelationshipGuid()
Gets relationship guid.
|
String |
getRelationshipType()
Gets relationship type.
|
LineageEntity |
getToVertex()
Gets to vertex.
|
int |
hashCode() |
void |
setFromVertex(LineageEntity fromVertex)
Sets from vertex.
|
void |
setRelationshipGuid(String relationshipGuid)
Sets relationship guid.
|
void |
setRelationshipType(String relationshipType)
Sets relationship type.
|
void |
setToVertex(LineageEntity toVertex)
Sets to vertex.
|
public GraphContext()
public GraphContext(String relationshipType, String relationshipGuid, LineageEntity fromVertex, LineageEntity toVertex)
relationshipType - the relationship typerelationshipGuid - the relationship guidfromVertex - the from vertextoVertex - the to vertexpublic String getRelationshipType()
public void setRelationshipType(String relationshipType)
relationshipType - the relationship typepublic String getRelationshipGuid()
public void setRelationshipGuid(String relationshipGuid)
relationshipGuid - the relationship guidpublic LineageEntity getFromVertex()
public void setFromVertex(LineageEntity fromVertex)
fromVertex - the from vertexpublic LineageEntity getToVertex()
public void setToVertex(LineageEntity toVertex)
toVertex - the to vertexCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.