org.springframework.data.neo4j.support.typerepresentation
Class NoopNodeTypeRepresentationStrategy
java.lang.Object
org.springframework.data.neo4j.support.typerepresentation.NoopNodeTypeRepresentationStrategy
- All Implemented Interfaces:
- NodeTypeRepresentationStrategy, TypeRepresentationStrategy<org.neo4j.graphdb.Node>
public class NoopNodeTypeRepresentationStrategy
- extends Object
- implements NodeTypeRepresentationStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopNodeTypeRepresentationStrategy
public NoopNodeTypeRepresentationStrategy()
writeTypeTo
public void writeTypeTo(org.neo4j.graphdb.Node state,
StoredEntityType type)
- Description copied from interface:
TypeRepresentationStrategy
- Callback for setting up and/or storing type information after creation.
- Specified by:
writeTypeTo
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Node>
- Parameters:
state
- Backing state of entity being createdtype
- Type of entity being created
findAll
public <U> org.neo4j.helpers.collection.ClosableIterable<org.neo4j.graphdb.Node> findAll(StoredEntityType type)
- Specified by:
findAll
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Node>
count
public long count(StoredEntityType type)
- Specified by:
count
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Node>
preEntityRemoval
public void preEntityRemoval(org.neo4j.graphdb.Node state)
- Description copied from interface:
TypeRepresentationStrategy
- Callback for cleaning up type information before removal. If state does not have any
state associated, doesn't do anything.
- Specified by:
preEntityRemoval
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Node>
- Parameters:
state
- Backing state of entity being removed
readAliasFrom
public Class<?> readAliasFrom(org.neo4j.graphdb.Node state)
- Specified by:
readAliasFrom
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Node>
- Returns:
- java type that of the node entity of this node
Copyright © 2012 SpringSource. All Rights Reserved.