org.castor.jdo.jpa.processors.fieldprocessors
Class JPAIdProcessor
java.lang.Object
org.castor.jdo.jpa.processors.BaseJPAAnnotationProcessor
org.castor.jdo.jpa.processors.fieldprocessors.JPAIdProcessor
- All Implemented Interfaces:
- AnnotationProcessor, TargetAwareAnnotationProcessor
public class JPAIdProcessor
- extends BaseJPAAnnotationProcessor
Processes the JPA annotation Id. After this processor is done, the
annotated field will be treaded as an ID field and
JPAFieldNature.isId() returns true.
- Version:
- 2008-12-08
- Author:
- Martin Kandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAIdProcessor
public JPAIdProcessor()
forAnnotationClass
public 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.