org.castor.cpa.jpa.processors.fieldprocessors
Class JPASequenceGeneratorFieldProcessor

java.lang.Object
  extended by org.castor.cpa.jpa.processors.BaseJPAAnnotationProcessor
      extended by org.castor.cpa.jpa.processors.fieldprocessors.JPASequenceGeneratorFieldProcessor
All Implemented Interfaces:
AnnotationProcessor, TargetAwareAnnotationProcessor

public class JPASequenceGeneratorFieldProcessor
extends BaseJPAAnnotationProcessor

Processes the JPA annotation SequenceGenerator. After this processor is done, all column specific methods of JPAFieldNature return valid values.

Since:
1.3.2
Author:
Werner Guttmann

Constructor Summary
JPASequenceGeneratorFieldProcessor()
           
 
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.cpa.jpa.processors.BaseJPAAnnotationProcessor
processAnnotation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPASequenceGeneratorFieldProcessor

public JPASequenceGeneratorFieldProcessor()
Method Detail

processAnnotation

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

forAnnotationClass

public Class<? extends Annotation> forAnnotationClass()


Copyright © 2011. All Rights Reserved.