Annotation Interface 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<?>[]
    Returns java types to map TypeHandler.
  • Element Details

    • value

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