org.castor.jdo.jpa.processors
Class BaseJPAAnnotationProcessor

java.lang.Object
  extended by org.castor.jdo.jpa.processors.BaseJPAAnnotationProcessor
All Implemented Interfaces:
AnnotationProcessor, TargetAwareAnnotationProcessor
Direct Known Subclasses:
JPABasicProcessor, JPAColumnProcessor, JPAEntityProcessor, JPAIdProcessor, JPAJoinColumnProcessor, JPAJoinTableProcessor, JPAManyToManyProcessor, JPAManyToOneProcessor, JPAOneToManyProcessor, JPAOneToOneProcessor, JPATableProcessor, JPATransientProcessor

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
BaseJPAAnnotationProcessor()
           
 
Method Summary
<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.
 
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.TargetAwareAnnotationProcessor
processAnnotation
 
Methods inherited from interface org.castor.core.annotationprocessing.AnnotationProcessor
forAnnotationClass
 

Constructor Detail

BaseJPAAnnotationProcessor

public BaseJPAAnnotationProcessor()
Method Detail

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.

Specified by:
processAnnotation in interface AnnotationProcessor
See Also:
AnnotationProcessor.processAnnotation(BaseNature, Annotation)


Copyright © 2010. All Rights Reserved.