Package com.querydsl.codegen
Class TypeFactory
java.lang.Object
com.querydsl.codegen.TypeFactory
TypeFactory is a factory class for Type instances- Author:
- tiwe
-
Constructor Summary
ConstructorsConstructorDescriptionTypeFactory(List<Class<? extends Annotation>> entityAnnotations) TypeFactory(List<Class<? extends Annotation>> entityAnnotations, Function<EntityType, String> variableNameFunction) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotationHelper(AnnotationHelper annotationHelper) voidaddEmbeddableType(Class<?> cl) voidget(boolean entity, Class<?> cl, AnnotatedElement annotated, Type genericType) get(Class<?> cl, AnnotatedElement annotated, Type genericType) getEntityType(Class<?> cl) voidsetUnknownAsEntity(boolean unknownAsEntity)
-
Constructor Details
-
TypeFactory
public TypeFactory() -
TypeFactory
-
TypeFactory
public TypeFactory(List<Class<? extends Annotation>> entityAnnotations, Function<EntityType, String> variableNameFunction)
-
-
Method Details
-
getEntityType
-
get
-
get
-
get
-
get
-
get
-
extendTypes
public void extendTypes() -
setUnknownAsEntity
public void setUnknownAsEntity(boolean unknownAsEntity) -
addEmbeddableType
-
addAnnotationHelper
-