Interface FieldAnnotationProcessor<T extends Annotation>
- Type Parameters:
T
- specific annotation class
- All Known Implementing Classes:
AbstractFieldAnnotationProcessor
,AutoMappedFieldAnnotationProcessor
public interface FieldAnnotationProcessor<T extends Annotation>
Base interface for processors of field-mapping annotations.
-
Method Summary
Modifier and TypeMethodDescriptionGets specific annotation classvoid
process
(MappingDefinition.MappingDefinitionBuilder builder, MetaClass rootEntityMetaClass, Annotation annotation) Processes field-mapping annotation and adds new Mapping Definition element to builder.
-
Method Details
-
process
void process(MappingDefinition.MappingDefinitionBuilder builder, MetaClass rootEntityMetaClass, Annotation annotation) Processes field-mapping annotation and adds new Mapping Definition element to builder.- Parameters:
builder
- Mapping Definition builderrootEntityMetaClass
- entity holds indexed propertiesannotation
- processed annotation
-
getAnnotationClass
Gets specific annotation class- Returns:
- annotation class
-