org.neo4j.server.rest.repr
Class ScoredEntityRepresentation<E extends ObjectRepresentation & org.neo4j.server.rest.repr.ExtensibleRepresentation & EntityRepresentation>

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.ScoredEntityRepresentation<E>
All Implemented Interfaces:
EntityRepresentation
Direct Known Subclasses:
ScoredNodeRepresentation, ScoredRelationshipRepresentation

public abstract class ScoredEntityRepresentation<E extends ObjectRepresentation & org.neo4j.server.rest.repr.ExtensibleRepresentation & EntityRepresentation>
extends ObjectRepresentation
implements EntityRepresentation


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
protected ScoredEntityRepresentation(E scoredObject, float score)
           
 
Method Summary
protected  E getDelegate()
           
 String getIdentity()
           
 org.neo4j.server.rest.repr.ValueRepresentation score()
           
 org.neo4j.server.rest.repr.ValueRepresentation selfUri()
           
 
Methods inherited from class org.neo4j.server.rest.repr.ObjectRepresentation
serialize
 
Methods inherited from class org.neo4j.server.rest.repr.MappingRepresentation
stringMap
 
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

ScoredEntityRepresentation

protected ScoredEntityRepresentation(E scoredObject,
                                     float score)
Method Detail

getDelegate

protected E getDelegate()

getIdentity

public String getIdentity()

selfUri

public org.neo4j.server.rest.repr.ValueRepresentation selfUri()
Specified by:
selfUri in interface EntityRepresentation

score

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


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