Annotation Interface PartOf


@Retention(RUNTIME) @Target(FIELD) public @interface PartOf
Annotation to indicate a field as part-of relation. The annotated field contains a reference to the composed object.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
    boolean
    If true, the "part" in an independent object.
     
  • Element Details

    • restriction

      String restriction
      Default:
      ""
    • export

      boolean export
      Default:
      true
    • independent

      boolean independent
      If true, the "part" in an independent object.
      Default:
      false