@Target(allowedTargets = [AnnotationTarget.CLASS])
@Node
annotation class DomainNode(val topLevelQueryName: String = "", val searchQueryName: String = "")

Annotation to mark a class with should be persisted in the Neo4j database

Parameters

topLevelQueryName

If not empty, a top level query of this node type is available with the given name

searchQueryName

If not empty, a search query of this node type is available with the given name

Properties

Link copied to clipboard
Link copied to clipboard