Annotation Type | Description |
---|---|
CompositeIndex |
Used to annotate a class to notify the OGM to create a composite index or node key constraint on
given properties for a label of annotated class.
|
CompositeIndexes | |
EndNode |
Identifies the domain entity representing the end node of
a relationship in the graph, and, along with @
StartNode
is a mandatory annotation on any domain entity that is annotated
with @RelationshipEntity |
GeneratedValue |
Used to generate an ID.
|
GraphId | Deprecated
Just replace
GraphId with Id and GeneratedValue . |
Id |
Represents the primary unique constraint used to reference an EntityNode.
|
Index |
Fields and properties marked with this annotation will notify the OGM that they
should be used as part of an index and/or for use during lookups and merging.
|
Labels |
Annotation to declare that the mapped entity will control which labels are added to a node.
|
NodeEntity |
Identifies a domain entity as being backed by a node in the graph.
|
PostLoad |
Informs the OGM that the method annotated with this should be run once the object is loaded from the database and
fully hydrated.
|
Properties |
Tells OGM to map values of a Map field in a node or relationship entity to properties of a node or a relationship
in the graph.
|
Property |
Establishes the mapping between a domain entity attribute
and a node or relationship property in the graph.
|
Relationship |
Identifies field that is to be represented as a relationship
|
RelationshipEntity |
Identifies a domain entity as being backed by a relationship in the graph.
|
Required |
Annotation which notifies OGM that this property is required.
|
StartNode |
Identifies a domain entity as being the start node of
a relationship in the graph, and, along with @
EndNode
is a mandatory annotation on any domain entity that is annotated
with @RelationshipEntity |
Transient |
By default all domain entity types will be persisted unless they are
annotated with @Transient, or are non-annotated abstract classes.
|
ValueFor |
Annotation mainly focused to be used on the value attribute of another annotation.
|
Version |
Tells OGM to use a property as a version field to implement optimistic locking on entities
|
Copyright © 2015–2020 Neo Technology, Inc.. All rights reserved.