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