Annotation Type ViewConstructor


@Target(CONSTRUCTOR)
@Retention(RUNTIME)
public @interface ViewConstructor
A naming mechanism for entity view constructors. The ViewConstructor annotation can be applied to constructors of an entity view. It is necessary to use them if an entity view has more than one constructor.
Since:
1.0.0
Author:
Christian Beikov
  • Required Element Summary

    Required Elements 
    Modifier and Type Required Element Description
    String value
    The name of the view constructor which should be unique within the entity view.
  • Element Details

    • value

      String value
      The name of the view constructor which should be unique within the entity view.
      Returns:
      The name of the view constructor