Annotation Interface Property
@Retention(RUNTIME)
@Target(FIELD)
@Documented
@Inherited
@API(status=STABLE,
since="6.0")
public @interface Property
The annotation to configure the mapping from a property to an attribute and vice versa.
- Since:
- 6.0
- Author:
- Michael J. Simons
-
Optional Element Summary
-
Element Details
-
value
- Returns:
- See
name()
.
- Default:
- ""
-
name
- Returns:
- The name of the property in the graph.
- Default:
- ""
-
readOnly
boolean readOnly- Returns:
- Set this attribute to true to prevent writing any value of this property to the graph.
- Default:
- false
-