Package org.castor.cpa.jpa.processors
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 java.lang.Object implements TargetAwareAnnotationProcessor
Basic abstractTargetAwareAnnotationProcessorthat does not allow processing without a target (returns false).- Author:
- Peter Schmidt
- See Also:
AnnotationProcessor#processAnnotation(BaseNature, Annotation)
-
-
Constructor Summary
Constructors Constructor Description BaseJPAAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <I extends BaseNature,A extends java.lang.annotation.Annotation>
booleanprocessAnnotation(I info, A annotation)Returns false - non target aware processing shall not be implemented in JPA-Annotation processing.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.castor.core.annotationprocessing.AnnotationProcessor
forAnnotationClass
-
Methods inherited from interface org.castor.core.annotationprocessing.TargetAwareAnnotationProcessor
processAnnotation
-
-
-
-
Method Detail
-
processAnnotation
public final <I extends BaseNature,A extends java.lang.annotation.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:
processAnnotationin interfaceAnnotationProcessor- Parameters:
info- the Info class that should be filled with the information readannotation- the annotation to process- Returns:
- true, if the annotation was processed successfully, false if not
- See Also:
AnnotationProcessor.processAnnotation(BaseNature, Annotation)
-
-