Neo4j

org.neo4j.server.rest.repr
Class ValueRepresentation

java.lang.Object
  extended by org.neo4j.server.rest.repr.Representation
      extended by org.neo4j.server.rest.repr.ValueRepresentation

public class ValueRepresentation
extends Representation


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
 
Method Summary
static ValueRepresentation bool(boolean value)
           
static ValueRepresentation number(double value)
           
static ValueRepresentation number(int value)
           
static ValueRepresentation number(long value)
           
static ValueRepresentation relationshipType(RelationshipType type)
           
static ValueRepresentation string(String value)
           
static ValueRepresentation template(String path)
           
static ValueRepresentation uri(String path)
           
 
Methods inherited from class org.neo4j.server.rest.repr.Representation
emptyRepresentation, getRepresentationType
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

string

public static ValueRepresentation string(String value)

number

public static ValueRepresentation number(int value)

number

public static ValueRepresentation number(long value)

number

public static ValueRepresentation number(double value)

bool

public static ValueRepresentation bool(boolean value)

relationshipType

public static ValueRepresentation relationshipType(RelationshipType type)

uri

public static ValueRepresentation uri(String path)

template

public static ValueRepresentation template(String path)

Neo4j

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