- All Superinterfaces:
- GraphBacked<org.neo4j.graphdb.Relationship,RelationshipBacked>, ManagedEntity<org.neo4j.graphdb.Relationship,RelationshipBacked>
public interface RelationshipBacked
- extends GraphBacked<org.neo4j.graphdb.Relationship,RelationshipBacked>
concrete interface introduced onto Relationship entities by the Neo4jRelationshipBacking
aspect, encapsulates a neo4j relationship as backing state
- the id of the underlying relationship or null if there is none
<R extends RelationshipBacked> R projectTo(Class<R> targetType)
- Project this relationship entity as another relationship backed type. The same underlying relationship will be
used for the new entity.
targetType - type to project to
- new instance of specified type, sharing the same underlying relationship with this entity
Copyright © 2013 SpringSource. All Rights Reserved.