Annotation Interface ExtensionFor


@Target(TYPE) @Retention(RUNTIME) @Documented public @interface ExtensionFor
Identifies the annotated class as an extension object for the given baseline class.

Inclusion of this annotation will perform the necessary wiring within JPA.

Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    (Required) The class for which this one is an extension.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    (Optional) The name of the property on the source object which will hold the extension object.
  • Element Details

    • value

      Class<?> value
      (Required) The class for which this one is an extension.
      Returns:
      the class for which this one is an extension.
    • extensionPropertyName

      String extensionPropertyName
      (Optional) The name of the property on the source object which will hold the extension object.
      Returns:
      the name of the property on the source object which will hold the extension object.
      Default:
      "extension"