com.mysema.query.apt
Class DefaultConfiguration
java.lang.Object
com.mysema.query.apt.DefaultConfiguration
- All Implemented Interfaces:
- Configuration
- Direct Known Subclasses:
- JPAConfiguration
public class DefaultConfiguration
- extends Object
- implements Configuration
DefaultConfiguration is a simple implementation of the Configuration interface
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityAnn
protected final Class<? extends Annotation> entityAnn
entitiesAnn
@Nullable
protected final Class<? extends Annotation> entitiesAnn
superTypeAnn
@Nullable
protected final Class<? extends Annotation> superTypeAnn
embeddedAnn
@Nullable
protected final Class<? extends Annotation> embeddedAnn
embeddableAnn
@Nullable
protected final Class<? extends Annotation> embeddableAnn
skipAnn
@Nullable
protected final Class<? extends Annotation> skipAnn
DefaultConfiguration
public DefaultConfiguration(RoundEnvironment roundEnv,
Map<String,String> options,
Collection<String> keywords,
@Nullable
Class<? extends Annotation> entitiesAnn,
Class<? extends Annotation> entityAnn,
@Nullable
Class<? extends Annotation> superTypeAnn,
@Nullable
Class<? extends Annotation> embeddableAnn,
@Nullable
Class<? extends Annotation> embeddedAnn,
@Nullable
Class<? extends Annotation> skipAnn)
getConfig
public VisitorConfig getConfig(TypeElement e,
List<? extends Element> elements)
- Specified by:
getConfig
in interface Configuration
getDTOSerializer
public Serializer getDTOSerializer()
- Specified by:
getDTOSerializer
in interface Configuration
getEntitiesAnnotation
@Nullable
public Class<? extends Annotation> getEntitiesAnnotation()
- Specified by:
getEntitiesAnnotation
in interface Configuration
getEmbeddableAnnotation
@Nullable
public Class<? extends Annotation> getEmbeddableAnnotation()
- Specified by:
getEmbeddableAnnotation
in interface Configuration
getEmbeddableSerializer
public Serializer getEmbeddableSerializer()
- Specified by:
getEmbeddableSerializer
in interface Configuration
getEntityAnnotation
public Class<? extends Annotation> getEntityAnnotation()
- Specified by:
getEntityAnnotation
in interface Configuration
getEmbeddedAnnotation
@Nullable
public Class<? extends Annotation> getEmbeddedAnnotation()
- Specified by:
getEmbeddedAnnotation
in interface Configuration
getEntitySerializer
public Serializer getEntitySerializer()
- Specified by:
getEntitySerializer
in interface Configuration
getNamePrefix
public String getNamePrefix()
- Specified by:
getNamePrefix
in interface Configuration
getSerializerConfig
public SerializerConfig getSerializerConfig(EntityType entityType)
- Specified by:
getSerializerConfig
in interface Configuration
getSkipAnnotation
@Nullable
public Class<? extends Annotation> getSkipAnnotation()
- Specified by:
getSkipAnnotation
in interface Configuration
getSuperTypeAnnotation
@Nullable
public Class<? extends Annotation> getSuperTypeAnnotation()
- Specified by:
getSuperTypeAnnotation
in interface Configuration
getSupertypeSerializer
public Serializer getSupertypeSerializer()
- Specified by:
getSupertypeSerializer
in interface Configuration
isBlockedField
public boolean isBlockedField(VariableElement field)
- Specified by:
isBlockedField
in interface Configuration
isBlockedGetter
public boolean isBlockedGetter(ExecutableElement getter)
- Specified by:
isBlockedGetter
in interface Configuration
isDefaultOverwrite
public boolean isDefaultOverwrite()
- Specified by:
isDefaultOverwrite
in interface Configuration
isUseFields
public boolean isUseFields()
- Specified by:
isUseFields
in interface Configuration
isUseGetters
public boolean isUseGetters()
- Specified by:
isUseGetters
in interface Configuration
isValidConstructor
public boolean isValidConstructor(ExecutableElement constructor)
- Specified by:
isValidConstructor
in interface Configuration
isValidField
public boolean isValidField(VariableElement field)
- Specified by:
isValidField
in interface Configuration
isValidGetter
public boolean isValidGetter(ExecutableElement getter)
- Specified by:
isValidGetter
in interface Configuration
setNamePrefix
public void setNamePrefix(String namePrefix)
setUseFields
public void setUseFields(boolean b)
setUseGetters
public void setUseGetters(boolean b)
getTypeMappings
public TypeMappings getTypeMappings()
- Specified by:
getTypeMappings
in interface Configuration
getKeywords
public Collection<String> getKeywords()
- Specified by:
getKeywords
in interface Configuration
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.