blob: 7e7e187e2981a0acf67b62d0d7884b6b09dad2b7 [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.5.0_06) on Wed Jul 19 14:42:47 EDT 2006 -->
<TITLE>
UnaryExpression (Cayenne API Documentation - v.1.2)
</TITLE>
<META NAME="keywords" CONTENT="org.objectstyle.cayenne.exp.UnaryExpression class">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../objectstyle-javadoc.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="UnaryExpression (Cayenne API Documentation - v.1.2)";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<!-- ========= 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="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-files/index-1.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/objectstyle/cayenne/exp/TraversalHelper.html" title="class in org.objectstyle.cayenne.exp"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/objectstyle/cayenne/exp/UnaryExpression.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="UnaryExpression.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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.objectstyle.cayenne.exp</FONT>
<BR>
Class UnaryExpression</H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">org.objectstyle.cayenne.exp.Expression</A>
<IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>org.objectstyle.cayenne.exp.UnaryExpression</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, <A HREF="../../../../org/objectstyle/cayenne/util/XMLSerializable.html" title="interface in org.objectstyle.cayenne.util">XMLSerializable</A></DD>
</DL>
<HR>
<B>Deprecated.</B>&nbsp;<I>since 1.2</I>
<P>
<DL>
<DT><PRE>public class <B>UnaryExpression</B><DT>extends <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></DL>
</PRE>
<P>
Generic unary expression. Describes expression in a form: "<tt>operation operand</tt>".
SQL example of unary expression is NOT expression.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Andrus Adamchik</DD>
<DT><B>See Also:</B><DD><A HREF="../../../../serialized-form.html#org.objectstyle.cayenne.exp.UnaryExpression">Serialized Form</A></DL>
<HR>
<P>
<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_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>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#operand">operand</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.objectstyle.cayenne.exp.Expression"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.objectstyle.cayenne.exp.<A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#ADD">ADD</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#ALL">ALL</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#AND">AND</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#ANY">ANY</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#AVG">AVG</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#BETWEEN">BETWEEN</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#COUNT">COUNT</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#DB_PATH">DB_PATH</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#DIVIDE">DIVIDE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#EQUAL_TO">EQUAL_TO</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#EXISTS">EXISTS</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#GREATER_THAN">GREATER_THAN</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#GREATER_THAN_EQUAL_TO">GREATER_THAN_EQUAL_TO</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#IN">IN</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#LESS_THAN">LESS_THAN</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#LESS_THAN_EQUAL_TO">LESS_THAN_EQUAL_TO</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#LIKE">LIKE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#LIKE_IGNORE_CASE">LIKE_IGNORE_CASE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#LIST">LIST</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#MAX">MAX</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#MIN">MIN</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#MULTIPLY">MULTIPLY</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#NEGATIVE">NEGATIVE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#NOT">NOT</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#NOT_BETWEEN">NOT_BETWEEN</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#NOT_EQUAL_TO">NOT_EQUAL_TO</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#NOT_IN">NOT_IN</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#NOT_LIKE">NOT_LIKE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#NOT_LIKE_IGNORE_CASE">NOT_LIKE_IGNORE_CASE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#OBJ_PATH">OBJ_PATH</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#OR">OR</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#POSITIVE">POSITIVE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#PRUNED_NODE">PRUNED_NODE</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#RAW_SQL">RAW_SQL</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#SOME">SOME</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#SUBQUERY">SUBQUERY</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#SUBTRACT">SUBTRACT</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#SUM">SUM</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#type">type</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== 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/objectstyle/cayenne/exp/UnaryExpression.html#UnaryExpression()">UnaryExpression</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#UnaryExpression(int)">UnaryExpression</A></B>(int&nbsp;type)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&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;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#encodeAsString(java.io.PrintWriter)">encodeAsString</A></B>(java.io.PrintWriter&nbsp;pw)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Stores a String representation of Expression using a provided PrintWriter.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#evaluate(java.lang.Object)">evaluate</A></B>(java.lang.Object&nbsp;o)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Calculates expression value with object as a context for path expressions.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#flattenTree()">flattenTree</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Restructures expression to make sure that there are no children of the same type as
this expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#getOperand(int)">getOperand</A></B>(int&nbsp;index)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns a value of operand at <code>index</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#getOperandCount()">getOperandCount</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns a count of operands of this expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#notExp()">notExp</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns a logical NOT of current expression.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#pruneNodeForPrunedChild(java.lang.Object)">pruneNodeForPrunedChild</A></B>(java.lang.Object&nbsp;prunedChild)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Returns true if this node should be pruned from expression tree in the event a
child is removed.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#setOperand(int, java.lang.Object)">setOperand</A></B>(int&nbsp;index,
java.lang.Object&nbsp;value)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Sets a value of operand at <code>index</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/objectstyle/cayenne/exp/UnaryExpression.html#shallowCopy()">shallowCopy</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<B>Deprecated.</B>&nbsp;Creates a copy of this expression node, without copying children.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.objectstyle.cayenne.exp.Expression"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.objectstyle.cayenne.exp.<A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#andExp(org.objectstyle.cayenne.exp.Expression)">andExp</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#deepCopy()">deepCopy</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#encodeAsXML(org.objectstyle.cayenne.util.XMLEncoder)">encodeAsXML</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#expName()">expName</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#expWithParameters(java.util.Map)">expWithParameters</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#expWithParameters(java.util.Map, boolean)">expWithParameters</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#filter(java.util.Collection, java.util.Collection)">filter</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#filterObjects(java.util.List)">filterObjects</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#fromString(java.lang.String)">fromString</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#getType()">getType</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#joinExp(int, org.objectstyle.cayenne.exp.Expression)">joinExp</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#match(java.lang.Object)">match</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#orExp(org.objectstyle.cayenne.exp.Expression)">orExp</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#setType(int)">setType</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#toString()">toString</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#transform(org.apache.commons.collections.Transformer)">transform</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#transformExpression(org.apache.commons.collections.Transformer)">transformExpression</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#traverse(org.objectstyle.cayenne.exp.Expression, org.objectstyle.cayenne.exp.TraversalHandler)">traverse</A>, <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#traverse(org.objectstyle.cayenne.exp.TraversalHandler)">traverse</A></CODE></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.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_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>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="operand"><!-- --></A><H3>
operand</H3>
<PRE>
protected java.lang.Object <B>operand</B></PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DL>
</DL>
</DL>
<!-- ========= 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="UnaryExpression()"><!-- --></A><H3>
UnaryExpression</H3>
<PRE>
public <B>UnaryExpression</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;</DL>
<HR>
<A NAME="UnaryExpression(int)"><!-- --></A><H3>
UnaryExpression</H3>
<PRE>
public <B>UnaryExpression</B>(int&nbsp;type)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;</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="notExp()"><!-- --></A><H3>
notExp</H3>
<PRE>
public <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A> <B>notExp</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#notExp()">Expression</A></CODE></B></DD>
<DD>Returns a logical NOT of current expression.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#notExp()">notExp</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="evaluate(java.lang.Object)"><!-- --></A><H3>
evaluate</H3>
<PRE>
public java.lang.Object <B>evaluate</B>(java.lang.Object&nbsp;o)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#evaluate(java.lang.Object)">Expression</A></CODE></B></DD>
<DD>Calculates expression value with object as a context for path expressions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#evaluate(java.lang.Object)">evaluate</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="flattenTree()"><!-- --></A><H3>
flattenTree</H3>
<PRE>
protected void <B>flattenTree</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#flattenTree()">Expression</A></CODE></B></DD>
<DD>Restructures expression to make sure that there are no children of the same type as
this expression.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#flattenTree()">flattenTree</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="pruneNodeForPrunedChild(java.lang.Object)"><!-- --></A><H3>
pruneNodeForPrunedChild</H3>
<PRE>
protected boolean <B>pruneNodeForPrunedChild</B>(java.lang.Object&nbsp;prunedChild)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#pruneNodeForPrunedChild(java.lang.Object)">Expression</A></CODE></B></DD>
<DD>Returns true if this node should be pruned from expression tree in the event a
child is removed.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#pruneNodeForPrunedChild(java.lang.Object)">pruneNodeForPrunedChild</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="shallowCopy()"><!-- --></A><H3>
shallowCopy</H3>
<PRE>
public <A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A> <B>shallowCopy</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD>Creates a copy of this expression node, without copying children.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#shallowCopy()">shallowCopy</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Since:</B></DT>
<DD>1.1</DD>
</DL>
</DD>
</DL>
<HR>
<A NAME="getOperandCount()"><!-- --></A><H3>
getOperandCount</H3>
<PRE>
public final int <B>getOperandCount</B>()</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#getOperandCount()">Expression</A></CODE></B></DD>
<DD>Returns a count of operands of this expression. In real life there are unary (count ==
1), binary (count == 2) and ternary (count == 3) expressions.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#getOperandCount()">getOperandCount</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getOperand(int)"><!-- --></A><H3>
getOperand</H3>
<PRE>
public java.lang.Object <B>getOperand</B>(int&nbsp;index)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#getOperand(int)">Expression</A></CODE></B></DD>
<DD>Returns a value of operand at <code>index</code>. Operand indexing starts at 0.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#getOperand(int)">getOperand</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setOperand(int, java.lang.Object)"><!-- --></A><H3>
setOperand</H3>
<PRE>
public void <B>setOperand</B>(int&nbsp;index,
java.lang.Object&nbsp;value)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#setOperand(int, java.lang.Object)">Expression</A></CODE></B></DD>
<DD>Sets a value of operand at <code>index</code>. Operand indexing starts at 0.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#setOperand(int, java.lang.Object)">setOperand</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="encodeAsString(java.io.PrintWriter)"><!-- --></A><H3>
encodeAsString</H3>
<PRE>
public void <B>encodeAsString</B>(java.io.PrintWriter&nbsp;pw)</PRE>
<DL>
<DD><B>Deprecated.</B>&nbsp;<DD><B>Description copied from class: <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#encodeAsString(java.io.PrintWriter)">Expression</A></CODE></B></DD>
<DD>Stores a String representation of Expression using a provided PrintWriter.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html#encodeAsString(java.io.PrintWriter)">encodeAsString</A></CODE> in class <CODE><A HREF="../../../../org/objectstyle/cayenne/exp/Expression.html" title="class in org.objectstyle.cayenne.exp">Expression</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Since:</B></DT>
<DD>1.1</DD>
</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="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-files/index-1.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/objectstyle/cayenne/exp/TraversalHelper.html" title="class in org.objectstyle.cayenne.exp"><B>PREV CLASS</B></A>&nbsp;
&nbsp;NEXT CLASS</FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html?org/objectstyle/cayenne/exp/UnaryExpression.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="UnaryExpression.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;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&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>
<!--@SFLOGO@--> &nbsp; <i>Copyright &#169; 2001-2006 <a href=
"http://objectstyle.org" target="_top">ObjectStyle.org</a> All Rights Reserved.</i>
</BODY>
</HTML>