com.mysema.query.apt
Class ElementHandler
java.lang.Object
  
com.mysema.query.apt.ElementHandler
@Immutable
public final class ElementHandler
- extends Object
 
ElementHandler is a an APT visitor for entity types
- Author:
 
  - tiwe
 
 
| 
Method Summary | 
 void | 
handleConstructors(EntityType entityType,
                   List<? extends Element> elements)
 
            | 
 void | 
handleFieldProperty(EntityType entityType,
                    VariableElement field,
                    Map<String,Property> properties,
                    Set<String> blockedProperties,
                    Map<String,com.mysema.codegen.model.TypeCategory> types)
 
            | 
 void | 
handleMethodProperty(EntityType entityType,
                     String propertyName,
                     ExecutableElement method,
                     Map<String,Property> properties,
                     Set<String> blockedProperties,
                     Map<String,com.mysema.codegen.model.TypeCategory> types)
 
            | 
 EntityType | 
handleNormalType(TypeElement e)
 
            | 
 EntityType | 
handleProjectionType(TypeElement e)
 
            | 
 void | 
handleQueryMethod(EntityType entityType,
                  ExecutableElement executable,
                  Set<Method> queryMethods)
 
            | 
 List<com.mysema.codegen.model.Parameter> | 
transformParams(List<? extends VariableElement> params)
 
            | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ElementHandler
public ElementHandler(Configuration configuration,
                      ExtendedTypeFactory typeFactory)
handleConstructors
public void handleConstructors(EntityType entityType,
                               List<? extends Element> elements)
 
handleFieldProperty
public void handleFieldProperty(EntityType entityType,
                                VariableElement field,
                                Map<String,Property> properties,
                                Set<String> blockedProperties,
                                Map<String,com.mysema.codegen.model.TypeCategory> types)
 
handleMethodProperty
public void handleMethodProperty(EntityType entityType,
                                 String propertyName,
                                 ExecutableElement method,
                                 Map<String,Property> properties,
                                 Set<String> blockedProperties,
                                 Map<String,com.mysema.codegen.model.TypeCategory> types)
 
handleNormalType
public EntityType handleNormalType(TypeElement e)
 
handleProjectionType
public EntityType handleProjectionType(TypeElement e)
 
handleQueryMethod
public void handleQueryMethod(EntityType entityType,
                              ExecutableElement executable,
                              Set<Method> queryMethods)
 
transformParams
public List<com.mysema.codegen.model.Parameter> transformParams(List<? extends VariableElement> params)
 
Copyright © 2007-2011 Mysema Ltd. All Rights Reserved.