Annotation Interface Property


@Target({PARAMETER,RECORD_COMPONENT}) @Retention(RUNTIME) @Preview(name="Object mapping") public @interface Property
Defines property name that should be mapped to the annotated parameter.
Since:
5.28.5
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The property name that should be mapped to the annotated parameter.
  • Element Details

    • value

      String value
      The property name that should be mapped to the annotated parameter.
      Returns:
      the property name