Class NestedRelationshipContext
java.lang.Object
org.springframework.data.neo4j.core.mapping.NestedRelationshipContext
Working on nested relationships happens in a certain algorithmic context. This context enables a tight cohesion
between the algorithmic steps and the data, these steps are performed on. In our the interaction happens between the
data that describes the relationship and the specific steps of the algorithm.
- Since:
- 6.0
- Author:
- Philipp Tölle, Gerrit Meier, Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptiongetRelationshipPropertiesPropertyAccessor
(Object relatedValue) getValue()
identifyAndExtractRelationshipTargetNode
(Object relatedValue) boolean
boolean
static NestedRelationshipContext
of
(Association<Neo4jPersistentProperty> handler, PersistentPropertyAccessor<?> propertyAccessor, Neo4jPersistentEntity<?> neo4jPersistentEntity)
-
Method Details
-
isReadOnly
public boolean isReadOnly() -
getInverse
-
getValue
-
getRelationship
-
inverseValueIsEmpty
public boolean inverseValueIsEmpty() -
identifyAndExtractRelationshipTargetNode
-
getRelationshipPropertiesPropertyAccessor
@Nullable public PersistentPropertyAccessor<?> getRelationshipPropertiesPropertyAccessor(@Nullable Object relatedValue) -
of
public static NestedRelationshipContext of(Association<Neo4jPersistentProperty> handler, PersistentPropertyAccessor<?> propertyAccessor, Neo4jPersistentEntity<?> neo4jPersistentEntity)
-