Annotation Interface TypeDef


Type definitions allow associating existing types with a specific DataType. Can be applied as a stereotype (meta-annotation) to other Repository and/or MappedEntity to provide additional type information for custom types.
Since:
1.0.0
Author:
graemerocher
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The data type.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
     
    The data converter.
     
  • Element Details

    • type

      DataType type
      The data type.
      Returns:
      The type
    • converter

      Class<?> converter
      The data converter.
      Returns:
      The converter class
      Default:
      java.lang.Object.class
    • classes

      Class[] classes
      Returns:
      The classes for this data type.
      Default:
      {}
    • names

      String[] names
      Returns:
      The class or parameter names for this data type.
      Default:
      {}