com.mysema.query.jpa
Class JPQLTemplates

java.lang.Object
  extended by com.mysema.query.types.Templates
      extended by com.mysema.query.jpa.JPQLTemplates
Direct Known Subclasses:
EclipseLinkTemplates, HQLTemplates, OpenJPATemplates

public class JPQLTemplates
extends Templates

JPQLTemplates extends Templates to provide operator patterns for JPQL serialization

Author:
tiwe
See Also:
HQLTemplates, EclipseLinkTemplates

Field Summary
static Operator<Object> CAST
           
static JPQLTemplates DEFAULT
           
static char DEFAULT_ESCAPE
           
static Operator<Boolean> MEMBER_OF
           
static Operator<String> TYPE
           
 
Constructor Summary
protected JPQLTemplates()
           
protected JPQLTemplates(char escape)
           
 
Method Summary
 String getExistsProjection()
           
 boolean isEnumInPathSupported()
           
 boolean isSelect1Supported()
           
 boolean isTypeAsString()
           
 boolean wrapConstant(Constant<?> expr)
           
 boolean wrapElements(Operator<?> operator)
           
 
Methods inherited from class com.mysema.query.types.Templates
add, add, getPrecedence, getTemplate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_ESCAPE

public static final char DEFAULT_ESCAPE
See Also:
Constant Field Values

TYPE

public static final Operator<String> TYPE

CAST

public static final Operator<Object> CAST

MEMBER_OF

public static final Operator<Boolean> MEMBER_OF

DEFAULT

public static final JPQLTemplates DEFAULT
Constructor Detail

JPQLTemplates

protected JPQLTemplates()

JPQLTemplates

protected JPQLTemplates(char escape)
Method Detail

wrapElements

public boolean wrapElements(Operator<?> operator)

isTypeAsString

public boolean isTypeAsString()

isEnumInPathSupported

public boolean isEnumInPathSupported()

isSelect1Supported

public boolean isSelect1Supported()

getExistsProjection

@Nullable
public String getExistsProjection()

wrapConstant

public boolean wrapConstant(Constant<?> expr)


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