Annotation Interface InheritProperty


@Target({FIELD,METHOD}) @Retention(RUNTIME) @Documented public @interface InheritProperty
Represents a property which should be inherited from another data object class.

Allows for the label to be overridden, but nothing else.

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

    Required Elements
    Modifier and Type
    Required Element
    Description
    Gets the name of the property to be inherited.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Gets the label to override.
  • Element Details

    • name

      String name
      Gets the name of the property to be inherited.
      Returns:
      the name of the property to be inherited.
    • label

      Label label
      Gets the label to override.
      Returns:
      the label to override.
      Default:
      @org.kuali.rice.krad.data.provider.annotation.Label("")