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) |
boolean |
isLabelBased() |
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)
TypeRepresentationStrategywriteTypeTo 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)
TypeRepresentationStrategypreEntityRemoval in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>state - Backing state of entity being removedpublic boolean isLabelBased()
isLabelBased in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>public Object readAliasFrom(org.neo4j.graphdb.Relationship state)
readAliasFrom in interface TypeRepresentationStrategy<org.neo4j.graphdb.Relationship>Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.