|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsf.qof.customizer.DefaultCustomizer
public class DefaultCustomizer
Provides the default implementation to customize the generation process.
Customizer
Constructor Summary | |
---|---|
DefaultCustomizer()
|
Method Summary | |
---|---|
String |
getClassName(Class<?> queryDefinitionClass)
Customizes the class name of the generated query object. |
ConnectionFactoryCustomizer |
getConnectionFactoryCustomizer(Class<?> queryDefinitionClass)
Customizes the implementation of getConnection() and setConnection() methods. |
org.objectweb.asm.Type |
getListType()
Customizes the type of List implementations. |
org.objectweb.asm.Type |
getMapType()
Customizes the type of Map implementations. |
org.objectweb.asm.Type |
getSetType()
Customizes the type of Set implementations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCustomizer()
Method Detail |
---|
public org.objectweb.asm.Type getListType()
List
implementations.
getListType
in interface Customizer
ArrayList
typeList
public org.objectweb.asm.Type getMapType()
Map
implementations.
getMapType
in interface Customizer
HashMap
typeMap
public org.objectweb.asm.Type getSetType()
Set
implementations.
getSetType
in interface Customizer
HashSet
typeSet
public String getClassName(Class<?> queryDefinitionClass)
getClassName
in interface Customizer
queryDefinitionClass
- query definition class or interface
Customizer.getClassName(Class)
public ConnectionFactoryCustomizer getConnectionFactoryCustomizer(Class<?> queryDefinitionClass)
getConnectionFactoryCustomizer
in interface Customizer
queryDefinitionClass
- query definition class or interface
Customizer.getConnectionFactoryCustomizer(Class)
,
ConnectionFactoryCustomizer
|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |