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(Relationship rel) |
| Modifier and Type | Method and Description |
|---|---|
ValueRepresentation |
endNodeUri() |
long |
getId() |
String |
getIdentity() |
ValueRepresentation |
getType() |
static ListRepresentation |
list(Iterable<Relationship> relationships) |
ValueRepresentation |
propertiesUri() |
ValueRepresentation |
propertyUriTemplate() |
ValueRepresentation |
selfUri() |
ValueRepresentation |
startNodeUri() |
emptyRepresentation, getRepresentationTypepublic RelationshipRepresentation(Relationship rel)
public String getIdentity()
public long getId()
public ValueRepresentation selfUri()
selfUri in interface EntityRepresentationpublic ValueRepresentation getType()
public ValueRepresentation startNodeUri()
public ValueRepresentation endNodeUri()
public ValueRepresentation propertiesUri()
public ValueRepresentation propertyUriTemplate()
public static ListRepresentation list(Iterable<Relationship> relationships)
Copyright © 2002–2013 The Neo4j Graph Database Project. All rights reserved.