org.castor.jdo.jpa.processors.classprocessors
Class JPAEntityProcessor

java.lang.Object
  extended by org.castor.jdo.jpa.processors.BaseJPAAnnotationProcessor
      extended by org.castor.jdo.jpa.processors.classprocessors.JPAEntityProcessor
All Implemented Interfaces:
AnnotationProcessor, TargetAwareAnnotationProcessor

public class JPAEntityProcessor
extends BaseJPAAnnotationProcessor

Processes the JPA annotation Entity. After this processor is done, JPAClassNature.getEntityName() returns a valid value!

Version:
2009-01-03
Author:
Martin Kandler

Constructor Summary
JPAEntityProcessor()
           
 
Method Summary
 Class<? extends Annotation> forAnnotationClass()
          
<I extends BaseNature,A extends Annotation>
boolean
processAnnotation(I info, A annotation, AnnotatedElement target)
          
 
Methods inherited from class org.castor.jdo.jpa.processors.BaseJPAAnnotationProcessor
processAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPAEntityProcessor

public JPAEntityProcessor()
Method Detail

forAnnotationClass

public final Class<? extends Annotation> forAnnotationClass()

See Also:
AnnotationProcessor.forAnnotationClass()

processAnnotation

public <I extends BaseNature,A extends Annotation> boolean processAnnotation(I info,
                                                                             A annotation,
                                                                             AnnotatedElement target)

See Also:
processAnnotation(BaseNature, Annotation, AnnotatedElement)


Copyright © 2010. All Rights Reserved.