sf logo

sf.qof.customizer
Interface Customizer

All Known Implementing Classes:
DefaultCustomizer

public interface Customizer

Defines methods to customize the generation process.

See Also:
DefaultCustomizer

Method Summary
 String getClassName(Class<?> queryDefinitionClass)
          Customizes the class name of the generated query object.
 ConnectionFactoryCustomizer getConnectionFactoryCustomizer(Class<?> queryDefinitionClass)
          Customizes the way the query class gets its database connection.
 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.
 

Method Detail

getListType

org.objectweb.asm.Type getListType()
Customizes the type of List implementations.

Returns:
list type
See Also:
List

getSetType

org.objectweb.asm.Type getSetType()
Customizes the type of Set implementations.

Returns:
set type
See Also:
Set

getMapType

org.objectweb.asm.Type getMapType()
Customizes the type of Map implementations.

Returns:
map type
See Also:
Map

getClassName

String getClassName(Class<?> queryDefinitionClass)
Customizes the class name of the generated query object.

Parameters:
queryDefinitionClass - query definition class or interface
Returns:
class name of the query object

getConnectionFactoryCustomizer

ConnectionFactoryCustomizer getConnectionFactoryCustomizer(Class<?> queryDefinitionClass)
Customizes the way the query class gets its database connection.

Parameters:
queryDefinitionClass - query definition class or interface
Returns:
connection factory customizer instance

sf logo

Copyright © 2007 brunella ltd. All Rights Reserved.