public class NoopRelationshipTypeRepresentationStrategy extends Object implements RelationshipTypeRepresentationStrategy
Constructor and Description |
---|
NoopRelationshipTypeRepresentationStrategy() |
Modifier and Type | Method and Description |
---|---|
long |
count(StoredEntityType type) |
<U> org.neo4j.helpers.collection.ClosableIterable<org.neo4j.graphdb.Relationship> |
findAll(StoredEntityType type) |
void |
preEntityRemoval(org.neo4j.graphdb.Relationship state)
Callback for cleaning up type information before removal.
|
Object |
readAliasFrom(org.neo4j.graphdb.Relationship state) |
void |
writeTypeTo(org.neo4j.graphdb.Relationship state,
StoredEntityType type)
Callback for setting up and/or storing type information after creation.
|
public NoopRelationshipTypeRepresentationStrategy()
public void writeTypeTo(org.neo4j.graphdb.Relationship state, StoredEntityType type)
TypeRepresentationStrategy
writeTypeTo
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
state
- Backing state of entity being createdtype
- Type of entity being createdpublic <U> org.neo4j.helpers.collection.ClosableIterable<org.neo4j.graphdb.Relationship> findAll(StoredEntityType type)
findAll
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
public long count(StoredEntityType type)
count
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
public void preEntityRemoval(org.neo4j.graphdb.Relationship state)
TypeRepresentationStrategy
preEntityRemoval
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
state
- Backing state of entity being removedpublic Object readAliasFrom(org.neo4j.graphdb.Relationship state)
readAliasFrom
in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>
Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.