com.mysema.query.apt.jpa
Class JPAConfiguration

java.lang.Object
  extended by com.mysema.query.apt.DefaultConfiguration
      extended by com.mysema.query.apt.jpa.JPAConfiguration
All Implemented Interfaces:
Configuration
Direct Known Subclasses:
HibernateConfiguration

public class JPAConfiguration
extends DefaultConfiguration

Configuration for JPAAnnotationProcessor

Author:
tiwe
See Also:
JPAAnnotationProcessor

Field Summary
 
Fields inherited from class com.mysema.query.apt.DefaultConfiguration
embeddableAnn, entityAnn, skipAnn, superTypeAnn
 
Constructor Summary
JPAConfiguration(RoundEnvironment roundEnv, Map<String,String> options, Class<? extends Annotation> entityAnn, Class<? extends Annotation> superTypeAnn, Class<? extends Annotation> embeddableAnn, Class<? extends Annotation> skipAnn)
           
 
Method Summary
protected  List<Class<? extends Annotation>> getAnnotations()
           
 VisitorConfig getConfig(TypeElement e, List<? extends Element> elements)
           
 Collection<String> getKeywords()
           
 
Methods inherited from class com.mysema.query.apt.DefaultConfiguration
getDTOSerializer, getEmbeddableAnn, getEmbeddableSerializer, getEntityAnn, getEntitySerializer, getNamePrefix, getSerializerConfig, getSkipAnn, getSuperTypeAnn, getSupertypeSerializer, getTypeMappings, isBlockedField, isBlockedGetter, isUseFields, isUseGetters, isValidConstructor, isValidField, isValidGetter, setNamePrefix, setUseFields, setUseGetters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPAConfiguration

public JPAConfiguration(RoundEnvironment roundEnv,
                        Map<String,String> options,
                        Class<? extends Annotation> entityAnn,
                        Class<? extends Annotation> superTypeAnn,
                        Class<? extends Annotation> embeddableAnn,
                        Class<? extends Annotation> skipAnn)
                 throws ClassNotFoundException
Throws:
ClassNotFoundException
Method Detail

getAnnotations

protected List<Class<? extends Annotation>> getAnnotations()
                                                    throws ClassNotFoundException
Throws:
ClassNotFoundException

getConfig

public VisitorConfig getConfig(TypeElement e,
                               List<? extends Element> elements)
Specified by:
getConfig in interface Configuration
Overrides:
getConfig in class DefaultConfiguration

getKeywords

public Collection<String> getKeywords()
Specified by:
getKeywords in interface Configuration
Overrides:
getKeywords in class DefaultConfiguration


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.