Annotation Type MappedTypes


  • @Documented
    @Retention(RUNTIME)
    @Target(TYPE)
    public @interface MappedTypes
    The annotation that specify java types to map TypeHandler.

    How to use:

     @MappedTypes(String.class)
     public class StringTrimmingTypeHandler implements TypeHandler<String> {
       // ...
     }
     
    Author:
    Eduardo Macarron
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      Class<?>[] value
      Returns java types to map TypeHandler.
    • Element Detail

      • value

        Class<?>[] value
        Returns java types to map TypeHandler.
        Returns:
        java types