Annotation Type ConvertedColumnValue



  • @Documented
    @Target(METHOD)
    @Retention(RUNTIME)
    public @interface ConvertedColumnValue
    Indicate binding of method (setter) to converted value of the named column.

    Only public setter method of classes property should be annotated. Method is expected to have one ConversionResult parameter and void return type.

    Annotated method is invoked during UnivalConvertor.fillConvertedValues(List, Class, Convertor). Value of bound column obtained from ColumnValue annotated getter is converted with dictionary convertor and passed in as parameter.

    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      Indicate name of the bound column.
    • Element Detail

      • name

        java.lang.String name
        Indicate name of the bound column.
        Returns:
        name of the column