org.castor.jdo.jpa.processors.fieldprocessors
Class JPAManyToOneProcessor
java.lang.Object
org.castor.jdo.jpa.processors.BaseJPAAnnotationProcessor
org.castor.jdo.jpa.processors.fieldprocessors.JPAManyToOneProcessor
- All Implemented Interfaces:
- AnnotationProcessor, TargetAwareAnnotationProcessor
public class JPAManyToOneProcessor
- extends BaseJPAAnnotationProcessor
Processes the JPA annotation ManyToOne. After this processor is done,
JPAFieldNature.getRelationTargetEntity(),
JPAFieldNature.isRelationLazyFetch() and
JPAFieldNature.isRelationOptional() will return valid values.
- Version:
- 2009-01-03
- Author:
- Martin Kandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JPAManyToOneProcessor
public JPAManyToOneProcessor()
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.