Package io.micronaut.data.annotation
Annotation Interface GeneratedValue
@Retention(RUNTIME)
@Target({METHOD,FIELD,ANNOTATION_TYPE})
@Documented
public @interface GeneratedValue
Designates a property as a generated value. Typically not used
 directly but instead mapped to via annotation such as 
javax.persistence.GeneratedValue.- Since:
- 1.0.0
- Author:
- graemerocher
- 
Nested Class SummaryNested Classes
- 
Optional Element SummaryOptional ElementsModifier and TypeOptional ElementDescriptionIn the case of sequence generators if you wish to define statement that creates the sequence, you can do so here.In the case of sequence generators if you wish to alter the name of the sequence generator do so with this member.The generation type.
- 
Element Details- 
valueGeneratedValue.Type valueThe generation type.- Returns:
- The generation type.
 - Default:
- AUTO
 
- 
definitionString definitionIn the case of sequence generators if you wish to define statement that creates the sequence, you can do so here.- Returns:
- The sequence definition
 - Default:
- ""
 
- 
refString refIn the case of sequence generators if you wish to alter the name of the sequence generator do so with this member.- Returns:
- The name to use to reference the sequence generator
 - Default:
- ""
 
 
-