Class BaseJPAAnnotationProcessor

java.lang.Object
org.castor.cpa.jpa.processors.BaseJPAAnnotationProcessor
All Implemented Interfaces:
AnnotationProcessor, TargetAwareAnnotationProcessor
Direct Known Subclasses:
JPABasicProcessor, JPACacheProcessor, JPAColumnProcessor, JPAEntityProcessor, JPAEnumeratedProcessor, JPAGeneratedValueProcessor, JPAIdProcessor, JPAInheritanceProcessor, JPAJoinColumnProcessor, JPAJoinTableProcessor, JPALobProcessor, JPAManyToManyProcessor, JPAManyToOneProcessor, JPAMappedSuperclassProcessor, JPANamedNativeQueriesProcessor, JPANamedNativeQueryProcessor, JPANamedQueriesProcessor, JPANamedQueryProcessor, JPAOneToManyProcessor, JPAOneToOneProcessor, JPASequenceGeneratorClassProcessor, JPASequenceGeneratorFieldProcessor, JPATableGeneratorClassProcessor, JPATableGeneratorFieldProcessor, JPATableProcessor, JPATemporalProcessor, JPATransientProcessor, JPAVersionProcessor

public abstract class BaseJPAAnnotationProcessor extends Object implements TargetAwareAnnotationProcessor
Basic abstract TargetAwareAnnotationProcessor that does not allow processing without a target (returns false).
Author:
Peter Schmidt
See Also:
  • invalid reference
    AnnotationProcessor#processAnnotation(BaseNature, Annotation)
  • Constructor Details

    • BaseJPAAnnotationProcessor

      public BaseJPAAnnotationProcessor()
  • Method Details

    • processAnnotation

      public final <I extends BaseNature, A extends Annotation> boolean processAnnotation(I info, A annotation)
      Returns false - non target aware processing shall not be implemented in JPA-Annotation processing. The processing action of this processor. If an annotation is given which is not supported false is returned.
      Specified by:
      processAnnotation in interface AnnotationProcessor
      Parameters:
      info - the Info class that should be filled with the information read
      annotation - the annotation to process
      Returns:
      true, if the annotation was processed successfully, false if not
      See Also: