org.springframework.data.neo4j.support.typerepresentation
Class NoopRelationshipTypeRepresentationStrategy
java.lang.Object
org.springframework.data.neo4j.support.typerepresentation.NoopRelationshipTypeRepresentationStrategy
- All Implemented Interfaces:
- RelationshipTypeRepresentationStrategy, TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
public class NoopRelationshipTypeRepresentationStrategy
- extends Object
- implements RelationshipTypeRepresentationStrategy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoopRelationshipTypeRepresentationStrategy
public NoopRelationshipTypeRepresentationStrategy()
writeTypeTo
public void writeTypeTo(org.neo4j.graphdb.Relationship 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.Relationship>
- Parameters:
state
- Backing state of entity being createdtype
- Type of entity being created
findAll
public <U> org.neo4j.helpers.collection.ClosableIterable<org.neo4j.graphdb.Relationship> findAll(StoredEntityType type)
- Specified by:
findAll
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
count
public long count(StoredEntityType type)
- Specified by:
count
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
preEntityRemoval
public void preEntityRemoval(org.neo4j.graphdb.Relationship 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.Relationship>
- Parameters:
state
- Backing state of entity being removed
readAliasFrom
public Object readAliasFrom(org.neo4j.graphdb.Relationship state)
- Specified by:
readAliasFrom
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
- Returns:
- java type that of the node entity of this node
Copyright © 2012 SpringSource. All Rights Reserved.