Annotation Interface PropertyName


@Target({FIELD,METHOD}) @Retention(RUNTIME) public @interface PropertyName
Use PropertyName annotation to give a name for a Class property (getter or field).
This name will be used everywhere by JaVers.

This annotation (together with TypeName) solves the problem of refactoring names while using JaversRepository.
Since:
3.1
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details