public final class RelationshipRepresentation extends ObjectRepresentation implements EntityRepresentation
BOOLEAN, BOOLEAN_LIST, BYTE, BYTE_LIST, CHARACTER, CHARACTER_LIST, DOUBLE, DOUBLE_LIST, EXCEPTION, EXTENSION, EXTENSIONS_MAP, FLOAT, FLOAT_LIST, GRAPHDB, INDEX, INTEGER, INTEGER_LIST, LONG, LONG_LIST, MAP, NODE, NODE_INDEXES, NODE_LIST, PATH, PATH_LIST, PROPERTIES_MAP, RELATIONSHIP, RELATIONSHIP_INDEXES, RELATIONSHIP_LIST, RELATIONSHIP_TYPE, SHORT, SHORT_LIST, STRING, STRING_LIST, URI, URI_TEMPLATE| Constructor and Description |
|---|
RelationshipRepresentation(org.neo4j.graphdb.Relationship rel) |
| Modifier and Type | Method and Description |
|---|---|
org.neo4j.server.rest.repr.ValueRepresentation |
endNodeUri() |
long |
getId() |
String |
getIdentity() |
org.neo4j.server.rest.repr.ValueRepresentation |
getType() |
static org.neo4j.server.rest.repr.ListRepresentation |
list(Iterable<org.neo4j.graphdb.Relationship> relationships) |
MapRepresentation |
metadata() |
org.neo4j.server.rest.repr.ValueRepresentation |
propertiesUri() |
org.neo4j.server.rest.repr.ValueRepresentation |
propertyUriTemplate() |
org.neo4j.server.rest.repr.ValueRepresentation |
selfUri() |
void |
setTransactionStateChecker(TransactionStateChecker checker) |
org.neo4j.server.rest.repr.ValueRepresentation |
startNodeUri() |
public RelationshipRepresentation(org.neo4j.graphdb.Relationship rel)
public void setTransactionStateChecker(TransactionStateChecker checker)
public String getIdentity()
public long getId()
public org.neo4j.server.rest.repr.ValueRepresentation selfUri()
selfUri in interface EntityRepresentationpublic org.neo4j.server.rest.repr.ValueRepresentation getType()
public org.neo4j.server.rest.repr.ValueRepresentation startNodeUri()
public org.neo4j.server.rest.repr.ValueRepresentation endNodeUri()
public org.neo4j.server.rest.repr.ValueRepresentation propertiesUri()
public org.neo4j.server.rest.repr.ValueRepresentation propertyUriTemplate()
public MapRepresentation metadata()
public static org.neo4j.server.rest.repr.ListRepresentation list(Iterable<org.neo4j.graphdb.Relationship> relationships)
Copyright © 2002–2018 The Neo4j Graph Database Project. All rights reserved.