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

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 Operator<Boolean> MEMBER_OF
           
 
Constructor Summary
protected JPQLTemplates()
           
 
Method Summary
 String getExistsProjection()
           
 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

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()
Method Detail

wrapElements

public boolean wrapElements(Operator<?> operator)

wrapConstant

public boolean wrapConstant(Constant<?> expr)

isTypeAsString

public boolean isTypeAsString()

getExistsProjection

@Nullable
public String getExistsProjection()


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