com.mysema.query.types.expr
Class CaseBuilder.Cases<A,Q extends Expression<A>>

java.lang.Object
  extended by com.mysema.query.types.expr.CaseBuilder.Cases<A,Q>
Type Parameters:
A -
Enclosing class:
CaseBuilder

public abstract static class CaseBuilder.Cases<A,Q extends Expression<A>>
extends Object

Cascading typesafe Case builder

Author:
tiwe

Constructor Summary
CaseBuilder.Cases(Class<A> type)
           
 
Method Summary
protected abstract  Q createResult(Class<A> type, Expression<A> last)
           
 Q otherwise(A constant)
           
 Q otherwise(Expression<A> expr)
           
 CaseBuilder.CaseWhen<A,Q> when(BooleanExpression b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CaseBuilder.Cases

public CaseBuilder.Cases(Class<A> type)
Method Detail

createResult

protected abstract Q createResult(Class<A> type,
                                  Expression<A> last)

otherwise

public Q otherwise(A constant)

otherwise

public Q otherwise(Expression<A> expr)

when

public CaseBuilder.CaseWhen<A,Q> when(BooleanExpression b)


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