Annotation Type PodamStrategyValue


  • @Documented
    @PodamAnnotation
    @Target({FIELD,PARAMETER})
    @Retention(RUNTIME)
    public @interface PodamStrategyValue
    Annotation to drive the value of the annotated attribute.

    If specified, this annotation will take precedence over all other annotations which influence the value of an attribute. In few words, this annotation dictates law in terms of which value the attribute ultimately will get.

    Author:
    mtedone
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<? extends AttributeStrategy<?>> value
      The strategy that will populate the annotated attribute
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String comment
      It allows clients to write a comment on the usage of this annotation
    • Element Detail

      • value

        Class<? extends AttributeStrategy<?>> value
        The strategy that will populate the annotated attribute
        Returns:
        The strategy that will populate the annotated attribute
      • comment

        String comment
        It allows clients to write a comment on the usage of this annotation
        Returns:
        The comment string
        Default:
        ""