org.neo4j.server.rest.repr
Class IndexedEntityRepresentation

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.IndexedEntityRepresentation
All Implemented Interfaces:
EntityRepresentation

public final class IndexedEntityRepresentation
extends MappingRepresentation
implements EntityRepresentation


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, 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
IndexedEntityRepresentation(Node node, String key, String value, IndexRepresentation indexRepresentation)
           
IndexedEntityRepresentation(Relationship rel, String key, String value, IndexRepresentation indexRepresentation)
           
 
Method Summary
 String getIdentity()
           
 ValueRepresentation selfUri()
           
protected  void serialize(MappingSerializer serializer)
           
 
Methods inherited from class org.neo4j.server.rest.repr.MappingRepresentation
stringMap
 
Methods inherited from class org.neo4j.server.rest.repr.Representation
emptyRepresentation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IndexedEntityRepresentation

public IndexedEntityRepresentation(Node node,
                                   String key,
                                   String value,
                                   IndexRepresentation indexRepresentation)

IndexedEntityRepresentation

public IndexedEntityRepresentation(Relationship rel,
                                   String key,
                                   String value,
                                   IndexRepresentation indexRepresentation)
Method Detail

getIdentity

public String getIdentity()

selfUri

public ValueRepresentation selfUri()
Specified by:
selfUri in interface EntityRepresentation

serialize

protected void serialize(MappingSerializer serializer)
Specified by:
serialize in class MappingRepresentation


Copyright © 2011 The Neo4j Graph Database Project. All Rights Reserved.