@CompileStatic @GroovyASTTransformation(phase: CompilePhase.CANONICALIZATION) class JpaGormEntityTransformation extends GormEntityTransformation
Enhanced GORM entity annotated with JPA annotations
| Fields inherited from class | Fields |
|---|---|
class GormEntityTransformation |
ADD_TO_PARAMETERS, DEFAULT_ID_TYPE_LONG, DEFAULT_ID_TYPE_NATIVE, DEFAULT_ID_TYPE_PROPERTY, JPA_ENTITY_ANNOTATION_NODE, JPA_ENTITY_CLASS_NODE, JPA_ID_ANNOTATION_NODE, JPA_TRANSIENT_ANNOTATION_NODE, JPA_VERSION_ANNOTATION_NODE, SERIALIZABLE_CLASS_NODE, compilationUnit |
| Constructor and description |
|---|
JpaGormEntityTransformation() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
int |
priority() |
|
void |
visit(ASTNode[] astNodes, SourceUnit sourceUnit) |
|
void |
visit(ClassNode classNode, SourceUnit sourceUnit) |
| Methods inherited from class | Name |
|---|---|
class GormEntityTransformation |
getOrCreateListProperty, injectIdProperty, injectVersionProperty, priority, resolveIdentityType, resolveTraitProvider, setCompilationUnit, visit, visit |