Annotation Interface Property


@Retention(RUNTIME) @Target(FIELD) @Inherited public @interface Property
Establishes the mapping between a domain entity attribute and a node or relationship property in the graph. This annotation is not needed if the mapping can be derived by the OGM, according to the following heuristics: an accessor method
Author:
Vince Bickers, Gerrit Meier
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Name of the property in the graph
    boolean
    Set this attribute to true to prevent writing any value of this property to the graph.
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • name

      String name
      Name of the property in the graph
      Default:
      ""
    • value

      String value
      Default:
      ""
    • readOnly

      boolean readOnly
      Set this attribute to true to prevent writing any value of this property to the graph.
      Returns:
      Default:
      false