org.apache.openjpa.persistence.query
Class WhenClause

java.lang.Object
  extended by org.apache.openjpa.persistence.query.WhenClause

public class WhenClause
extends Object

Denotes WHEN ... THEN ... clause of a Case Statement.

Author:
Pinaki Poddar

Constructor Summary
WhenClause(Object op)
           
 
Method Summary
(package private)  Object getThen()
           
(package private)  boolean hasThen()
           
(package private)  void setThen(Object then)
           
 String toJPQL(AliasContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhenClause

WhenClause(Object op)
Method Detail

getThen

Object getThen()

setThen

void setThen(Object then)

hasThen

boolean hasThen()

toJPQL

public String toJPQL(AliasContext ctx)


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.