com.mysema.query.codegen
Class AbstractSerializer

java.lang.Object
  extended by com.mysema.query.codegen.AbstractSerializer
All Implemented Interfaces:
Serializer
Direct Known Subclasses:
DTOSerializer, EntitySerializer

public abstract class AbstractSerializer
extends Object
implements Serializer

AbstractSerializer is abstract base class for Serializer implementations

Author:
tiwe

Constructor Summary
AbstractSerializer()
           
 
Method Summary
 String getExprType(TypeModel type, EntityModel model, boolean raw)
           
 String getPathType(TypeModel type, EntityModel model, boolean raw)
          Get a String representation of the Querydsl type for the given TypeModel in tyhe given EntityModel context
 String getQueryType(TypeModel type, EntityModel model, String typeName, boolean raw, boolean extend)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.mysema.query.codegen.Serializer
serialize
 

Constructor Detail

AbstractSerializer

public AbstractSerializer()
Method Detail

getPathType

public String getPathType(TypeModel type,
                          EntityModel model,
                          boolean raw)
Description copied from interface: Serializer
Get a String representation of the Querydsl type for the given TypeModel in tyhe given EntityModel context

Specified by:
getPathType in interface Serializer
Returns:

getExprType

public String getExprType(TypeModel type,
                          EntityModel model,
                          boolean raw)

getQueryType

public String getQueryType(TypeModel type,
                           EntityModel model,
                           String typeName,
                           boolean raw,
                           boolean extend)


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