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 TypeMethodDescription@Nullable PersistentPropertyAccessor<?> getRelationshipPropertiesPropertyAccessor(Object relatedValue) @Nullable ObjectgetValue()identifyAndExtractRelationshipTargetNode(Object relatedValue) booleanbooleanstatic NestedRelationshipContextof(Association<@NonNull Neo4jPersistentProperty> handler, PersistentPropertyAccessor<?> propertyAccessor, Neo4jPersistentEntity<?> neo4jPersistentEntity)
-
Method Details
-
of
public static NestedRelationshipContext of(Association<@NonNull Neo4jPersistentProperty> handler, PersistentPropertyAccessor<?> propertyAccessor, Neo4jPersistentEntity<?> neo4jPersistentEntity) -
isReadOnly
public boolean isReadOnly() -
getInverse
-
getValue
-
getRelationship
-
inverseValueIsEmpty
public boolean inverseValueIsEmpty() -
identifyAndExtractRelationshipTargetNode
-
getRelationshipPropertiesPropertyAccessor
public @Nullable PersistentPropertyAccessor<?> getRelationshipPropertiesPropertyAccessor(Object relatedValue)
-