blob: e9c85581b62b4d5f9a353099f5e4cf0a8b65be46 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_21) on Wed Aug 25 21:59:45 EDT 2010 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
CaseExpressionImpl (OpenJPA Parent POM 2.0.1 API)
</TITLE>
<META NAME="date" CONTENT="2010-08-25">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="CaseExpressionImpl (OpenJPA Parent POM 2.0.1 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= START OF TOP NAVBAR ======= -->
<A NAME="navbar_top"><!-- --></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CaseExpressionImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/ConcatExpression.html" title="class in org.apache.openjpa.persistence.query"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/openjpa/persistence/query/CaseExpressionImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="CaseExpressionImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<!-- ========= END OF TOP NAVBAR ========= -->
<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.openjpa.persistence.query</FONT>
<BR>
Class CaseExpressionImpl</H2>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.persistence.query.CaseExpressionImpl</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html" title="interface in org.apache.openjpa.persistence.query">Visitable</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>CaseExpressionImpl</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A>, <A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html" title="interface in org.apache.openjpa.persistence.query">Visitable</A></DL>
</PRE>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.openjpa.persistence.query.CaseExpressionImpl">Serialized Form</A></DL>
<HR>
<P>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#CaseExpressionImpl()">CaseExpressionImpl</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#CaseExpressionImpl(java.lang.Object)">CaseExpressionImpl</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;caseOperand)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#asExpression(org.apache.openjpa.persistence.query.AliasContext)">asExpression</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a JPQL fragment as used in WHERE clause.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#asJoinable(org.apache.openjpa.persistence.query.AliasContext)">asJoinable</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the string representation in FROM clause.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#asProjection(org.apache.openjpa.persistence.query.AliasContext)">asProjection</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the string representation in SELECT projection.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#assertThenState()">assertThenState</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#assertWhenState()">assertWhenState</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#elseCase(java.util.Calendar)">elseCase</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;arg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add else to a case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#elseCase(java.lang.Class)">elseCase</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;arg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add else to a case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#elseCase(java.util.Date)">elseCase</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;arg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add else to a case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#elseCase(java.lang.Enum)">elseCase</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;arg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add else to a case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#elseCase(org.apache.openjpa.persistence.query.Expression)">elseCase</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;arg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add else to a case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#elseCase(java.lang.Number)">elseCase</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A>&nbsp;arg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add else to a case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#elseCase(java.lang.String)">elseCase</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;arg)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add else to a case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#getAliasHint(org.apache.openjpa.persistence.query.AliasContext)">getAliasHint</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the hint to be used while creating alias.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#then(java.util.Calendar)">then</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;then)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a then clause to a general or simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#then(java.lang.Class)">then</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;then)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a then clause to a general or simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#then(java.util.Date)">then</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;then)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a then clause to a general or simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#then(java.lang.Enum)">then</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;then)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a then clause to a general or simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#then(org.apache.openjpa.persistence.query.Expression)">then</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;then)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a then clause to a general or simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#then(java.lang.Number)">then</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A>&nbsp;then)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a then clause to a general or simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#then(java.lang.String)">then</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;then)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a then clause to a general or simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>(package private) &nbsp;<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#toJPQL(org.apache.openjpa.persistence.query.AliasContext, java.lang.Object)">toJPQL</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx,
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;o)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(java.util.Calendar)">when</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when clause to a simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(java.lang.Class)">when</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when clause to a simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(java.util.Date)">when</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when clause to a simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(java.lang.Enum)">when</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when clause to a simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(org.apache.openjpa.persistence.query.Expression)">when</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when clause to a simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(java.lang.Number)">when</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A>&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when clause to a simple case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(org.apache.openjpa.persistence.query.Predicate)">when</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A>&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when predicate clause to a general case expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpressionImpl.html#when(java.lang.String)">when</A></B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;when)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a when clause to a simple case expression.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="CaseExpressionImpl()"><!-- --></A><H3>
CaseExpressionImpl</H3>
<PRE>
public <B>CaseExpressionImpl</B>()</PRE>
<DL>
</DL>
<HR>
<A NAME="CaseExpressionImpl(java.lang.Object)"><!-- --></A><H3>
CaseExpressionImpl</H3>
<PRE>
public <B>CaseExpressionImpl</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;caseOperand)</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="elseCase(org.apache.openjpa.persistence.query.Expression)"><!-- --></A><H3>
elseCase</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>elseCase</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;arg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(org.apache.openjpa.persistence.query.Expression)">CaseExpression</A></CODE></B></DD>
<DD>Add else to a case expression. A case expression must have an else
clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(org.apache.openjpa.persistence.query.Expression)">elseCase</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - -
corresponds to the result of the case expression if the when
condition is not satisfied
<DT><B>Returns:</B><DD>Expression corresponding to the case expression with the added
clause</DL>
</DD>
</DL>
<HR>
<A NAME="elseCase(java.lang.String)"><!-- --></A><H3>
elseCase</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>elseCase</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;arg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.String)">CaseExpression</A></CODE></B></DD>
<DD>Add else to a case expression. A case expression must have an else
clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.String)">elseCase</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - -
corresponds to the result of the case expression if the when
condition is not satisfied
<DT><B>Returns:</B><DD>Expression corresponding to the case expression with the added
clause</DL>
</DD>
</DL>
<HR>
<A NAME="elseCase(java.lang.Number)"><!-- --></A><H3>
elseCase</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>elseCase</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A>&nbsp;arg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.Number)">CaseExpression</A></CODE></B></DD>
<DD>Add else to a case expression. A case expression must have an else
clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.Number)">elseCase</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - -
corresponds to the result of the case expression if the when
condition is not satisfied
<DT><B>Returns:</B><DD>Expression corresponding to the case expression with the added
clause</DL>
</DD>
</DL>
<HR>
<A NAME="elseCase(java.util.Date)"><!-- --></A><H3>
elseCase</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>elseCase</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;arg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.util.Date)">CaseExpression</A></CODE></B></DD>
<DD>Add else to a case expression. A case expression must have an else
clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.util.Date)">elseCase</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - -
corresponds to the result of the case expression if the when
condition is not satisfied
<DT><B>Returns:</B><DD>Expression corresponding to the case expression with the added
clause</DL>
</DD>
</DL>
<HR>
<A NAME="elseCase(java.util.Calendar)"><!-- --></A><H3>
elseCase</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>elseCase</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;arg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.util.Calendar)">CaseExpression</A></CODE></B></DD>
<DD>Add else to a case expression. A case expression must have an else
clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.util.Calendar)">elseCase</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - -
corresponds to the result of the case expression if the when
condition is not satisfied
<DT><B>Returns:</B><DD>Expression corresponding to the case expression with the added
clause</DL>
</DD>
</DL>
<HR>
<A NAME="elseCase(java.lang.Class)"><!-- --></A><H3>
elseCase</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>elseCase</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;arg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.Class)">CaseExpression</A></CODE></B></DD>
<DD>Add else to a case expression. A case expression must have an else
clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.Class)">elseCase</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - -
corresponds to the result of the case expression if the when
condition is not satisfied
<DT><B>Returns:</B><DD>Expression corresponding to the case expression with the added
clause</DL>
</DD>
</DL>
<HR>
<A NAME="elseCase(java.lang.Enum)"><!-- --></A><H3>
elseCase</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A> <B>elseCase</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;arg)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.Enum)">CaseExpression</A></CODE></B></DD>
<DD>Add else to a case expression. A case expression must have an else
clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#elseCase(java.lang.Enum)">elseCase</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>arg</CODE> - -
corresponds to the result of the case expression if the when
condition is not satisfied
<DT><B>Returns:</B><DD>Expression corresponding to the case expression with the added
clause</DL>
</DD>
</DL>
<HR>
<A NAME="then(org.apache.openjpa.persistence.query.Expression)"><!-- --></A><H3>
then</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>then</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;then)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(org.apache.openjpa.persistence.query.Expression)">CaseExpression</A></CODE></B></DD>
<DD>Add a then clause to a general or simple case expression. The then clause
specifies the result corresponding to the immediately preceding when.
Clauses are evaluated in the order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(org.apache.openjpa.persistence.query.Expression)">then</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>then</CODE> - -
corresponds to the result of the case expression if the when
is satisfied
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added then
clause</DL>
</DD>
</DL>
<HR>
<A NAME="then(java.lang.Number)"><!-- --></A><H3>
then</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>then</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A>&nbsp;then)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.Number)">CaseExpression</A></CODE></B></DD>
<DD>Add a then clause to a general or simple case expression. The then clause
specifies the result corresponding to the immediately preceding when.
Clauses are evaluated in the order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.Number)">then</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>then</CODE> - -
corresponds to the result of the case expression if the when
is satisfied
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added then
clause</DL>
</DD>
</DL>
<HR>
<A NAME="then(java.lang.String)"><!-- --></A><H3>
then</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>then</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;then)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.String)">CaseExpression</A></CODE></B></DD>
<DD>Add a then clause to a general or simple case expression. The then clause
specifies the result corresponding to the immediately preceding when.
Clauses are evaluated in the order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.String)">then</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>then</CODE> - -
corresponds to the result of the case expression if the when
is satisfied
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added then
clause</DL>
</DD>
</DL>
<HR>
<A NAME="then(java.util.Date)"><!-- --></A><H3>
then</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>then</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;then)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.util.Date)">CaseExpression</A></CODE></B></DD>
<DD>Add a then clause to a general or simple case expression. The then clause
specifies the result corresponding to the immediately preceding when.
Clauses are evaluated in the order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.util.Date)">then</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>then</CODE> - -
corresponds to the result of the case expression if the when
is satisfied
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added then
clause</DL>
</DD>
</DL>
<HR>
<A NAME="then(java.util.Calendar)"><!-- --></A><H3>
then</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>then</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;then)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.util.Calendar)">CaseExpression</A></CODE></B></DD>
<DD>Add a then clause to a general or simple case expression. The then clause
specifies the result corresponding to the immediately preceding when.
Clauses are evaluated in the order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.util.Calendar)">then</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>then</CODE> - -
corresponds to the result of the case expression if the when
is satisfied
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added then
clause</DL>
</DD>
</DL>
<HR>
<A NAME="then(java.lang.Class)"><!-- --></A><H3>
then</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>then</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;then)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.Class)">CaseExpression</A></CODE></B></DD>
<DD>Add a then clause to a general or simple case expression. The then clause
specifies the result corresponding to the immediately preceding when.
Clauses are evaluated in the order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.Class)">then</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>then</CODE> - -
corresponds to the result of the case expression if the when
is satisfied
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added then
clause</DL>
</DD>
</DL>
<HR>
<A NAME="then(java.lang.Enum)"><!-- --></A><H3>
then</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>then</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;then)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.Enum)">CaseExpression</A></CODE></B></DD>
<DD>Add a then clause to a general or simple case expression. The then clause
specifies the result corresponding to the immediately preceding when.
Clauses are evaluated in the order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#then(java.lang.Enum)">then</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>then</CODE> - -
corresponds to the result of the case expression if the when
is satisfied
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added then
clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(org.apache.openjpa.persistence.query.Predicate)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Predicate.html" title="interface in org.apache.openjpa.persistence.query">Predicate</A>&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(org.apache.openjpa.persistence.query.Predicate)">CaseExpression</A></CODE></B></DD>
<DD>Add a when predicate clause to a general case expression. The when
predicate must be followed by the corresponding then case expression that
specifies the result of the specific case. Clauses are evaluated in the
order added.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(org.apache.openjpa.persistence.query.Predicate)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the evaluation condition for the specific case
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added when
clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(org.apache.openjpa.persistence.query.Expression)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/Expression.html" title="interface in org.apache.openjpa.persistence.query">Expression</A>&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(org.apache.openjpa.persistence.query.Expression)">CaseExpression</A></CODE></B></DD>
<DD>Add a when clause to a simple case expression. The when case expression
must be followed by the corresponding then case expression that specifies
the result of the specific case. Clauses are evaluated in the order added
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(org.apache.openjpa.persistence.query.Expression)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the value against which the case operand of
the simple case is tested
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(java.lang.Number)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Number.html?is-external=true" title="class or interface in java.lang">Number</A>&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.Number)">CaseExpression</A></CODE></B></DD>
<DD>Add a when clause to a simple case expression. The when case expression
must be followed by the corresponding then case expression that specifies
the result of the specific case. Clauses are evaluated in the order added
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.Number)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the value against which the case operand of
the simple case is tested
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(java.lang.String)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.String)">CaseExpression</A></CODE></B></DD>
<DD>Add a when clause to a simple case expression. The when case expression
must be followed by the corresponding then case expression that specifies
the result of the specific case. Clauses are evaluated in the order added
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.String)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the value against which the
case operand of the simple case is tested
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(java.util.Date)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Date.html?is-external=true" title="class or interface in java.util">Date</A>&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.util.Date)">CaseExpression</A></CODE></B></DD>
<DD>Add a when clause to a simple case expression. The when case expression
must be followed by the corresponding then case expression that specifies
the result of the specific case. Clauses are evaluated in the order added
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.util.Date)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the value against which the case operand of
the simple case is tested
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(java.util.Calendar)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/util/Calendar.html?is-external=true" title="class or interface in java.util">Calendar</A>&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.util.Calendar)">CaseExpression</A></CODE></B></DD>
<DD>Add a when clause to a simple case expression. The when case expression
must be followed by the corresponding then case expression that specifies
the result of the specific case. Clauses are evaluated in the order added
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.util.Calendar)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the value against which the case operand of
the simple case is tested
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(java.lang.Class)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A>&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.Class)">CaseExpression</A></CODE></B></DD>
<DD>Add a when clause to a simple case expression. The when case expression
must be followed by the corresponding then case expression that specifies
the result of the specific case. Clauses are evaluated in the order added
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.Class)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the value against which the case operand of
the simple case is tested
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added clause</DL>
</DD>
</DL>
<HR>
<A NAME="when(java.lang.Enum)"><!-- --></A><H3>
when</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A> <B>when</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</A>&lt;?&gt;&nbsp;when)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.Enum)">CaseExpression</A></CODE></B></DD>
<DD>Add a when clause to a simple case expression. The when case expression
must be followed by the corresponding then case expression that specifies
the result of the specific case. Clauses are evaluated in the order added
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html#when(java.lang.Enum)">when</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query">CaseExpression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>when</CODE> - -
corresponds to the value against which the case operand of
the simple case is tested
<DT><B>Returns:</B><DD>CaseExpression corresponding to the case with the added clause</DL>
</DD>
</DL>
<HR>
<A NAME="assertWhenState()"><!-- --></A><H3>
assertWhenState</H3>
<PRE>
void <B>assertWhenState</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="assertThenState()"><!-- --></A><H3>
assertThenState</H3>
<PRE>
void <B>assertThenState</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="asExpression(org.apache.openjpa.persistence.query.AliasContext)"><!-- --></A><H3>
asExpression</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>asExpression</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#asExpression(org.apache.openjpa.persistence.query.AliasContext)">Visitable</A></CODE></B></DD>
<DD>Get a JPQL fragment as used in WHERE clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#asExpression(org.apache.openjpa.persistence.query.AliasContext)">asExpression</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html" title="interface in org.apache.openjpa.persistence.query">Visitable</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="asProjection(org.apache.openjpa.persistence.query.AliasContext)"><!-- --></A><H3>
asProjection</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>asProjection</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#asProjection(org.apache.openjpa.persistence.query.AliasContext)">Visitable</A></CODE></B></DD>
<DD>Gets the string representation in SELECT projection.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#asProjection(org.apache.openjpa.persistence.query.AliasContext)">asProjection</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html" title="interface in org.apache.openjpa.persistence.query">Visitable</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="asJoinable(org.apache.openjpa.persistence.query.AliasContext)"><!-- --></A><H3>
asJoinable</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>asJoinable</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#asJoinable(org.apache.openjpa.persistence.query.AliasContext)">Visitable</A></CODE></B></DD>
<DD>Gets the string representation in FROM clause.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#asJoinable(org.apache.openjpa.persistence.query.AliasContext)">asJoinable</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html" title="interface in org.apache.openjpa.persistence.query">Visitable</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAliasHint(org.apache.openjpa.persistence.query.AliasContext)"><!-- --></A><H3>
getAliasHint</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAliasHint</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#getAliasHint(org.apache.openjpa.persistence.query.AliasContext)">Visitable</A></CODE></B></DD>
<DD>Gets the hint to be used while creating alias.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html#getAliasHint(org.apache.openjpa.persistence.query.AliasContext)">getAliasHint</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/query/Visitable.html" title="interface in org.apache.openjpa.persistence.query">Visitable</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="toJPQL(org.apache.openjpa.persistence.query.AliasContext, java.lang.Object)"><!-- --></A><H3>
toJPQL</H3>
<PRE>
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>toJPQL</B>(<A HREF="../../../../../org/apache/openjpa/persistence/query/AliasContext.html" title="class in org.apache.openjpa.persistence.query">AliasContext</A>&nbsp;ctx,
<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A>&nbsp;o)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<A NAME="navbar_bottom"><!-- --></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/CaseExpressionImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/CaseExpression.html" title="interface in org.apache.openjpa.persistence.query"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/openjpa/persistence/query/ConcatExpression.html" title="class in org.apache.openjpa.persistence.query"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/openjpa/persistence/query/CaseExpressionImpl.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="CaseExpressionImpl.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
&nbsp;<SCRIPT type="text/javascript">
<!--
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
//-->
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2006-2010 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved.
</BODY>
</HTML>