Package io.micronaut.data.annotation
Annotation Interface TypeDef
@Retention(RUNTIME)
@Target({ANNOTATION_TYPE,TYPE,PARAMETER,METHOD,FIELD})
@Documented
@Repeatable(TypeDefinitions.class)
@Inherited
public @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
-
Optional Element Summary
-
Element Details
-
type
DataType typeThe data type.- Returns:
- The type
-
-