@groovy.transform.Trait @groovy.transform.CompileStatic trait Relationship<F, T> extends java.lang.Object implements DynamicAttributes, java.io.Serializable
Represents a Neo4j relationship
Type Params | Return Type | Name and description |
---|---|---|
|
boolean |
equals(java.lang.Object object)
|
|
java.lang.String |
getType()
|
|
int |
hashCode()
|
|
void |
setType(java.lang.String type) Sets the type of the relationship |
|
java.lang.String |
type()
|
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The node where relationship originates from
The relationship id
The node where the relationship goes to
Sets the type of the relationship