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 Object
implements TargetAwareAnnotationProcessor
Basic abstract
TargetAwareAnnotationProcessor
that does not allow
processing without a target (returns false).- Author:
- Peter Schmidt
- See Also:
-
AnnotationProcessor#processAnnotation(BaseNature, Annotation)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal <I extends BaseNature,
A extends 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
-
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 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:
-