public final class TypeFactory extends Object
TypeFactory
is a factory class for Type
instancesConstructor and Description |
---|
TypeFactory() |
TypeFactory(List<Class<? extends Annotation>> entityAnnotations) |
TypeFactory(List<Class<? extends Annotation>> entityAnnotations,
com.google.common.base.Function<EntityType,String> variableNameFunction) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotationHelper(AnnotationHelper annotationHelper) |
void |
addEmbeddableType(Class<?> cl) |
void |
extendTypes() |
com.mysema.codegen.model.Type |
get(boolean entity,
Class<?> cl,
AnnotatedElement annotated,
Type genericType) |
com.mysema.codegen.model.Type |
get(boolean entity,
Class<?> cl,
Type genericType) |
com.mysema.codegen.model.Type |
get(Class<?> cl) |
com.mysema.codegen.model.Type |
get(Class<?> cl,
AnnotatedElement annotated,
Type genericType) |
com.mysema.codegen.model.Type |
get(Class<?> cl,
Type genericType) |
EntityType |
getEntityType(Class<?> cl) |
void |
setUnknownAsEntity(boolean unknownAsEntity) |
public TypeFactory()
public TypeFactory(List<Class<? extends Annotation>> entityAnnotations)
public TypeFactory(List<Class<? extends Annotation>> entityAnnotations, com.google.common.base.Function<EntityType,String> variableNameFunction)
public EntityType getEntityType(Class<?> cl)
public com.mysema.codegen.model.Type get(Class<?> cl)
public com.mysema.codegen.model.Type get(Class<?> cl, AnnotatedElement annotated, Type genericType)
public com.mysema.codegen.model.Type get(boolean entity, Class<?> cl, AnnotatedElement annotated, Type genericType)
public void extendTypes()
public void setUnknownAsEntity(boolean unknownAsEntity)
public void addEmbeddableType(Class<?> cl)
public void addAnnotationHelper(AnnotationHelper annotationHelper)
Copyright © 2007–2016 Querydsl. All rights reserved.