org.neo4j.server.rest.repr
Class PathRepresentation<P extends org.neo4j.graphdb.Path>

java.lang.Object
  extended by org.neo4j.server.rest.repr.Representation
      extended by org.neo4j.server.rest.repr.MappingRepresentation
          extended by org.neo4j.server.rest.repr.ObjectRepresentation
              extended by org.neo4j.server.rest.repr.PathRepresentation<P>
Direct Known Subclasses:
WeightedPathRepresentation

public class PathRepresentation<P extends org.neo4j.graphdb.Path>
extends ObjectRepresentation


Nested Class Summary
 
Nested classes/interfaces inherited from class org.neo4j.server.rest.repr.ObjectRepresentation
ObjectRepresentation.Mapping
 
Field Summary
 
Fields inherited from class org.neo4j.server.rest.repr.Representation
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 Summary
PathRepresentation(P path)
           
 
Method Summary
 org.neo4j.server.rest.repr.ValueRepresentation endNode()
           
protected  P getPath()
           
 org.neo4j.server.rest.repr.ValueRepresentation length()
           
 org.neo4j.server.rest.repr.ListRepresentation nodes()
           
 org.neo4j.server.rest.repr.ListRepresentation relationships()
           
 org.neo4j.server.rest.repr.ValueRepresentation startNode()
           
 
Methods inherited from class org.neo4j.server.rest.repr.ObjectRepresentation
serialize
 
Methods inherited from class org.neo4j.server.rest.repr.Representation
emptyRepresentation, getRepresentationType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PathRepresentation

public PathRepresentation(P path)
Method Detail

getPath

protected P getPath()

startNode

public org.neo4j.server.rest.repr.ValueRepresentation startNode()

endNode

public org.neo4j.server.rest.repr.ValueRepresentation endNode()

length

public org.neo4j.server.rest.repr.ValueRepresentation length()

nodes

public org.neo4j.server.rest.repr.ListRepresentation nodes()

relationships

public org.neo4j.server.rest.repr.ListRepresentation relationships()


Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.