@Retention(value=RUNTIME) @Target(value={FIELD,METHOD}) public @interface RelatedToVia
NodeEntity
fields that relate to other entities via
relationships. The fields represent read only iterators that provide the relationship-entities
RelationshipEntity
of the relationships. The iterator reflects the underlying relationships.
@RelatedToVia([type="roles"], elementClass=Role.class) Iterator<Role> roles;
Modifier and Type | Optional Element and Description |
---|---|
org.neo4j.graphdb.Direction |
direction |
Class<?> |
elementClass |
String |
type |
public abstract String type
public abstract org.neo4j.graphdb.Direction direction
public abstract Class<?> elementClass
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.