Annotation Interface Node
@Retention(RUNTIME)
@Target(TYPE)
@Documented
@API(status=STABLE,
since="6.0")
public @interface Node
The annotation to configure the mapping from a node with a given set of labels to a class and vice versa.
- Since:
- 6.0
- Author:
- Michael J. Simons
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
-
labels
- Returns:
- The labels to identify a node with that is supposed to be mapped to the class annotated with
@Node
. The first label will be the primary label ifprimaryLabel()
was not set explicitly.
- Default:
{}
-
-