Annotation Interface DependsOnProperties


@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface DependsOnProperties
Defines properties that the annotated property depends on.

These properties are taken into account when building fetch plans and when loading/saving cross-datastore references. Also, if the annotated property is read-only (no setter), EntityPropertyChangeEvent is sent for this property when the specified properties are changed.

Specify only immediate local and reference properties in the annotation. Property paths like customer.name are not supported.

  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
  • Element Details

    • value

      String[] value
      Default:
      {""}