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 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 builder
      rootEntityMetaClass - entity holds indexed properties
      annotation - processed annotation
    • getAnnotationClass

      Class<T> getAnnotationClass()
      Gets specific annotation class
      Returns:
      annotation class