com.mysema.query.codegen
Class TypeModelFactory

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

public class TypeModelFactory
extends Object

TypeModelFactory is a factory class for TypeModel instances

Author:
tiwe

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

Constructor Detail

TypeModelFactory

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

TypeModelFactory

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

create

public TypeModel create(Class<?> cl)

create

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

createArrayType

public TypeModel createArrayType(TypeModel valueType)

createCollectionType

public TypeModel createCollectionType(TypeModel valueType)

createListType

public TypeModel createListType(TypeModel valueType)

createMapType

public TypeModel createMapType(TypeModel keyType,
                               TypeModel valueType)

createSetType

public TypeModel createSetType(TypeModel valueType)


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