Package io.micronaut.data.annotation
Annotation Type 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 specificDataType
. Can be applied as a stereotype (meta-annotation) to otherRepository
and/orMappedEntity
to provide additional type information for custom types.- Since:
- 1.0.0
- Author:
- graemerocher
-
-
Element Detail
-
type
DataType type
The data type.- Returns:
- The type
-
-