Search in sources :

Example 16 with EntityType

use of com.querydsl.codegen.EntityType in project querydsl by querydsl.

the class ExtendedBeanSerializerTest method setUp.

@Before
public void setUp() throws IOException {
    Type typeModel = new SimpleType(TypeCategory.ENTITY, FULL_NAME, PACKAGE, CLASS_NAME, false, false);
    type = new EntityType(typeModel);
    File srcFolder = compileFolder.newFolder(PATH);
    srcFile = new File(srcFolder, CLASS_NAME + ".java");
}
Also used : EntityType(com.querydsl.codegen.EntityType) SimpleType(com.querydsl.codegen.utils.model.SimpleType) EntityType(com.querydsl.codegen.EntityType) SimpleType(com.querydsl.codegen.utils.model.SimpleType) Type(com.querydsl.codegen.utils.model.Type) ClassType(com.querydsl.codegen.utils.model.ClassType) File(java.io.File) Before(org.junit.Before)

Example 17 with EntityType

use of com.querydsl.codegen.EntityType in project querydsl by querydsl.

the class ExtendedNamingStrategyTest method setUp.

@Before
public void setUp() {
    entityModel = new EntityType(Types.OBJECT);
    // entityModel.addAnnotation(new TableImpl("OBJECT"));
    entityModel.getData().put("table", "OBJECT");
}
Also used : EntityType(com.querydsl.codegen.EntityType) Before(org.junit.Before)

Example 18 with EntityType

use of com.querydsl.codegen.EntityType in project querydsl by querydsl.

the class OriginalNamingStrategyTest method setUp.

@Before
public void setUp() {
    entityModel = new EntityType(Types.OBJECT);
    // entityModel.addAnnotation(new TableImpl("OBJECT"));
    entityModel.getData().put("table", "OBJECT");
}
Also used : EntityType(com.querydsl.codegen.EntityType) Before(org.junit.Before)

Aggregations

EntityType (com.querydsl.codegen.EntityType)18 Type (com.querydsl.codegen.utils.model.Type)11 SimpleType (com.querydsl.codegen.utils.model.SimpleType)9 Property (com.querydsl.codegen.Property)6 ArrayType (javax.lang.model.type.ArrayType)4 DeclaredType (javax.lang.model.type.DeclaredType)4 ErrorType (javax.lang.model.type.ErrorType)4 ExecutableType (javax.lang.model.type.ExecutableType)4 NoType (javax.lang.model.type.NoType)4 NullType (javax.lang.model.type.NullType)4 PrimitiveType (javax.lang.model.type.PrimitiveType)4 WildcardType (javax.lang.model.type.WildcardType)4 Before (org.junit.Before)4 ClassType (com.querydsl.codegen.utils.model.ClassType)3 TypeCategory (com.querydsl.codegen.utils.model.TypeCategory)3 AnnotatedElement (java.lang.reflect.AnnotatedElement)3 SimpleType (com.mysema.codegen.model.SimpleType)2 Type (com.mysema.codegen.model.Type)2 PropertyType (com.querydsl.core.annotations.PropertyType)2 QueryType (com.querydsl.core.annotations.QueryType)2