Annotation Interface MetaAnnotation


@Target(ANNOTATION_TYPE) @Retention(RUNTIME) public @interface MetaAnnotation
Marks an annotation as being a meta-annotation for entity classes and attributes.

Meta-annotations are automatically processed by metadata loader and are available via MetaClass.getAnnotations() or MetaProperty.getAnnotations(). They can be also added or overridden in metadata.xml.

If a meta-annotation is defined on a class, it's propagated down to subclasses until it has the propagateToSubclasses attribute set to false. See for example SystemLevel annotation.