public class Edge extends GraphEntity
id, propertyMap| Constructor and Description |
|---|
Edge() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
long |
getDestination() |
String |
getRelationshipType() |
long |
getSource() |
int |
hashCode() |
void |
setDestination(long destination) |
void |
setRelationshipType(String relationshipType) |
void |
setSource(long source) |
String |
toString() |
addProperty, addProperty, getEntityPropertyNames, getId, getNumberOfProperties, getProperty, removeProperty, setIdpublic String getRelationshipType()
public void setRelationshipType(String relationshipType)
relationshipType - - the relationship type to be set.public long getSource()
public void setSource(long source)
source - - The id of the source node to be setpublic long getDestination()
public void setDestination(long destination)
destination - - The id of the destination node to be setpublic boolean equals(Object o)
equals in class GraphEntitypublic int hashCode()
hashCode in class GraphEntitypublic String toString()
toString in class GraphEntityCopyright © 2022. All rights reserved.