Annotation Interface IsPart


@Retention(RUNTIME) @Target(FIELD) public @interface IsPart
Annotation to indicate a field as part-of relation. The annotated field contains a reference to a part of the 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