Package org.springframework.data.neo4j.core.schema
@NonNullApi
package org.springframework.data.neo4j.core.schema
This package contains the schema that is defined by a set of classes, representing nodes and relationships and their
properties. It provides Neo4js main annotations to mark classes as persistable nodes.
- Author:
- Michael J. Simons
-
ClassDescriptionThis annotation indicates a
persistent property
that is composed of multiple properties on a node or relationship.The default implementation, passing map properties through as they are on the way to the graph and possibly applying a post processor on the way out of the graph.The default operation for transforming the keys.Phase of the mapping currently taking place.This annotation can be used on a field of typeCollection<String>
.Indicates a generated id.ThisIdGenerator
does nothing.This generator is automatically applied when a field of typeUUID
is annotated with@Id
and@GeneratedValue
.This annotation is included here for completeness.IdGenerator<T>Interface for generating ids for entities.The annotation to configure the mapping from a node with a given set of labels to a class and vice versa.Informs SDN that the method annotated with this should be run once the object is loaded from the database and fully hydrated.The annotation to configure the mapping from a property to an attribute and vice versa.Annotation to configure mappings of relationship.Enumeration of the direction a relationship can take.A combined annotation for id fields inRelationshipProperties
classes.This marker interface is used on classes to mark that they represent additional relationship properties.Marks an entity in aRelationshipProperties
as the target node.