sf.qof.codegen
Class QueryObjectGenerator
java.lang.Object
sf.qof.codegen.QueryObjectGenerator
public class QueryObjectGenerator
- extends Object
Internal - QueryObjectGenerator is the main generator class for query objects.
Field Summary |
static int |
DEFAULT_BATCH_SIZE
Default batch size used if not defined in query definition class. |
static int |
DEFAULT_FETCH_SIZE
Default fetch size used if not defined in query definition class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_FETCH_SIZE
public static final int DEFAULT_FETCH_SIZE
- Default fetch size used if not defined in query definition class.
- See Also:
- Constant Field Values
DEFAULT_BATCH_SIZE
public static final int DEFAULT_BATCH_SIZE
- Default batch size used if not defined in query definition class.
- See Also:
- Constant Field Values
QueryObjectGenerator
public QueryObjectGenerator(Customizer customizer,
SQLDialect sqlDialect)
getSqlDialect
public SQLDialect getSqlDialect()
getImplementPaging
public boolean getImplementPaging()
getClassNameType
public String getClassNameType()
getCustomizer
public Customizer getCustomizer()
create
public <T> Class<T> create(Class<T> queryDefinitionClass,
List<Mapper> mappers)
create
public <T> Class<T> create(Class<T> queryDefinitionClass,
List<Mapper> mappers,
Class<?> superClass)
getAdapterFieldName
public static String getAdapterFieldName(Class<?> adapterClass)
emitGetField
public void emitGetField(net.sf.cglib.core.CodeEmitter co,
String fieldName)
emitPutField
public void emitPutField(net.sf.cglib.core.CodeEmitter co,
String fieldName)
Copyright © 2007 brunella ltd. All Rights Reserved.