com.mysema.query.codegen
Class TypeFactory

java.lang.Object
  extended by com.mysema.query.codegen.TypeFactory

public final class TypeFactory
extends Object

TypeFactory is a factory class for Type instances

Author:
tiwe

Constructor Summary
TypeFactory(Class<?>... entityAnnotations)
           
TypeFactory(List<Class<? extends Annotation>> entityAnnotations)
           
 
Method Summary
 Type create(Class<?> cl)
           
 Type create(Class<?> cl, Type genericType)
           
 Type createCollectionType(Type valueType)
           
 Type createListType(Type valueType)
           
 Type createMapType(Type keyType, Type valueType)
           
 Type createSetType(Type valueType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeFactory

public TypeFactory(Class<?>... entityAnnotations)

TypeFactory

public TypeFactory(List<Class<? extends Annotation>> entityAnnotations)
Method Detail

create

public Type create(Class<?> cl)

create

public Type create(Class<?> cl,
                   Type genericType)

createCollectionType

public Type createCollectionType(Type valueType)

createListType

public Type createListType(Type valueType)

createMapType

public Type createMapType(Type keyType,
                          Type valueType)

createSetType

public Type createSetType(Type valueType)


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