Annotation Type PodamConstructor


  • @Documented
    @PodamAnnotation
    @Target({CONSTRUCTOR,METHOD})
    @Retention(RUNTIME)
    public @interface PodamConstructor
    It identifies a constructor to use in order to create an instance of a class.

    This annotation should be used in POJOs with attributes but without setters. A typical example are immutable classes, where attributes are final and declared in the constructor and they have getters but not setters.

    Author:
    mtedone
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String comment
      Gives users the possibility to leave comments
    • Element Detail

      • comment

        String comment
        Gives users the possibility to leave comments
        Returns:
        comment value
        Default:
        ""