com.mysema.query.codegen
Class TypeMappings

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

public class TypeMappings
extends Object

TypeMappings defines mappings from Java types to Expr, Path and Custom types

Author:
tiwe

Constructor Summary
TypeMappings()
           
 
Method Summary
 String getCustomType(com.mysema.codegen.model.Type type, EntityType model, boolean raw)
           
 String getCustomType(com.mysema.codegen.model.Type type, EntityType model, boolean raw, boolean rawParameters, boolean extend)
           
 String getExprType(com.mysema.codegen.model.Type type, EntityType model, boolean raw)
           
 String getExprType(com.mysema.codegen.model.Type type, EntityType model, boolean raw, boolean rawParameters, boolean extend)
           
 String getPathType(com.mysema.codegen.model.Type type, EntityType model, boolean raw)
           
 String getPathType(com.mysema.codegen.model.Type type, EntityType model, boolean raw, boolean rawParameters, boolean extend)
           
 String getQueryType(com.mysema.codegen.model.Type type, EntityType model, String typeName, boolean raw, boolean rawParameters, boolean extend)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeMappings

public TypeMappings()
Method Detail

getCustomType

public String getCustomType(com.mysema.codegen.model.Type type,
                            EntityType model,
                            boolean raw)

getCustomType

public String getCustomType(com.mysema.codegen.model.Type type,
                            EntityType model,
                            boolean raw,
                            boolean rawParameters,
                            boolean extend)

getExprType

public String getExprType(com.mysema.codegen.model.Type type,
                          EntityType model,
                          boolean raw)

getExprType

public String getExprType(com.mysema.codegen.model.Type type,
                          EntityType model,
                          boolean raw,
                          boolean rawParameters,
                          boolean extend)

getPathType

public String getPathType(com.mysema.codegen.model.Type type,
                          EntityType model,
                          boolean raw)

getPathType

public String getPathType(com.mysema.codegen.model.Type type,
                          EntityType model,
                          boolean raw,
                          boolean rawParameters,
                          boolean extend)

getQueryType

public String getQueryType(com.mysema.codegen.model.Type type,
                           EntityType model,
                           String typeName,
                           boolean raw,
                           boolean rawParameters,
                           boolean extend)


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