<!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_11) on Wed Jul 20 09:13:46 CDT 2011 --> | |
<META http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
<TITLE> | |
SelectionImpl (OpenJPA Parent POM 2.1.1 API) | |
</TITLE> | |
<META NAME="date" CONTENT="2011-07-20"> | |
<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="SelectionImpl (OpenJPA Parent POM 2.1.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> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SelectionImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/openjpa/persistence/criteria/RootImpl.html" title="class in org.apache.openjpa.persistence.criteria"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SubqueryImpl.html" title="class in org.apache.openjpa.persistence.criteria"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/openjpa/persistence/criteria/SelectionImpl.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="SelectionImpl.html" target="_top"><B>NO FRAMES</B></A> | |
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.criteria</FONT> | |
<BR> | |
Class SelectionImpl<X></H2> | |
<PRE> | |
<A HREF="http://java.sun.com/j2se/6/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.criteria.SelectionImpl<X></B> | |
</PRE> | |
<DL> | |
<DT><DT><B>Type Parameters:</B><DD><CODE>X</CODE> - the type this term evaluates to</DL> | |
<DL> | |
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><X>, <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TupleElement.html?is-external=true" title="class or interface in javax.persistence">TupleElement</A><X>, <A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpression</A></DD> | |
</DL> | |
<DL> | |
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CompoundSelections.Array.html" title="class in org.apache.openjpa.persistence.criteria">CompoundSelections.Array</A>, <A HREF="../../../../../org/apache/openjpa/persistence/criteria/CompoundSelections.MultiSelection.html" title="class in org.apache.openjpa.persistence.criteria">CompoundSelections.MultiSelection</A>, <A HREF="../../../../../org/apache/openjpa/persistence/criteria/CompoundSelections.NewInstance.html" title="class in org.apache.openjpa.persistence.criteria">CompoundSelections.NewInstance</A>, <A HREF="../../../../../org/apache/openjpa/persistence/criteria/CompoundSelections.Tuple.html" title="class in org.apache.openjpa.persistence.criteria">CompoundSelections.Tuple</A>, <A HREF="../../../../../org/apache/openjpa/persistence/criteria/ExpressionImpl.html" title="class in org.apache.openjpa.persistence.criteria">ExpressionImpl</A></DD> | |
</DL> | |
<HR> | |
<DL> | |
<DT><PRE>abstract class <B>SelectionImpl<X></B><DT>extends <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><X>, <A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpression</A></DL> | |
</PRE> | |
<P> | |
An item selected in the projection clause of Criteria query. | |
Base implementation for all concrete expressions. | |
<P> | |
<P> | |
<DL> | |
<DT><B>Since:</B></DT> | |
<DD>2.0.0</DD> | |
<DT><B>Author:</B></DT> | |
<DD>Pinaki Poddar</DD> | |
</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/criteria/SelectionImpl.html#SelectionImpl(java.lang.Class)">SelectionImpl</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>> cls)</CODE> | |
<BR> | |
Construct with the immutable type represented by this selection term.</TD> | |
</TR> | |
</TABLE> | |
| |
<!-- ========== 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> void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#acceptVisit(org.apache.openjpa.persistence.criteria.CriteriaExpressionVisitor)">acceptVisit</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpressionVisitor.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpressionVisitor</A> visitor)</CODE> | |
<BR> | |
Accept visit from the given visitor.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#alias(java.lang.String)">alias</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> alias)</CODE> | |
<BR> | |
Sets the alias on this selection term.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#asProjection(org.apache.openjpa.persistence.criteria.AliasContext)">asProjection</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/AliasContext.html" title="interface in org.apache.openjpa.persistence.criteria">AliasContext</A> q)</CODE> | |
<BR> | |
Get a string representation of this node as a projection term in the context of the given query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#assertValidName(java.lang.String)">assertValidName</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</CODE> | |
<BR> | |
</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#asValue(org.apache.openjpa.persistence.criteria.AliasContext)">asValue</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/AliasContext.html" title="interface in org.apache.openjpa.persistence.criteria">AliasContext</A> q)</CODE> | |
<BR> | |
Get a string representation of this node as a value in the context of the given query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#asVariable(org.apache.openjpa.persistence.criteria.AliasContext)">asVariable</A></B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/AliasContext.html" title="interface in org.apache.openjpa.persistence.criteria">AliasContext</A> q)</CODE> | |
<BR> | |
Get a string representation of this node as a variable in the context of the given query.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/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/criteria/SelectionImpl.html#getAlias()">getAlias</A></B>()</CODE> | |
<BR> | |
Gets the alias set of this selection term.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><?>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#getCompoundSelectionItems()">getCompoundSelectionItems</A></B>()</CODE> | |
<BR> | |
Throws IllegalStateException because a selection term, by default, consists of single value.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>></CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#getJavaType()">getJavaType</A></B>()</CODE> | |
<BR> | |
Gets the immutable type represented by this selection term.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#isAliased()">isAliased</A></B>()</CODE> | |
<BR> | |
Affirms if this expression has been assigned an alias by <A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#alias(java.lang.String)">alias(String)</A> method.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#isAutoAliased()">isAutoAliased</A></B>()</CODE> | |
<BR> | |
Affirms if the alias of this expression is assigned automatically.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE> boolean</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#isCompoundSelection()">isCompoundSelection</A></B>()</CODE> | |
<BR> | |
Returns false because a selection term, by default, consists of single value.</TD> | |
</TR> | |
<TR BGCOLOR="white" CLASS="TableRowColor"> | |
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> | |
<CODE>(package private) void</CODE></FONT></TD> | |
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#setAutoAlias(java.lang.String)">setAutoAlias</A></B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> alias)</CODE> | |
<BR> | |
Sets the alias of this expression internally.</TD> | |
</TR> | |
</TABLE> | |
<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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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/6/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> | |
| |
<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="SelectionImpl(java.lang.Class)"><!-- --></A><H3> | |
SelectionImpl</H3> | |
<PRE> | |
public <B>SelectionImpl</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>> cls)</PRE> | |
<DL> | |
<DD>Construct with the immutable type represented by this selection term. | |
<P> | |
</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="getJavaType()"><!-- --></A><H3> | |
getJavaType</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>> <B>getJavaType</B>()</PRE> | |
<DL> | |
<DD>Gets the immutable type represented by this selection term. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TupleElement.html?is-external=true#getJavaType()" title="class or interface in javax.persistence">getJavaType</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TupleElement.html?is-external=true" title="class or interface in javax.persistence">TupleElement</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getAlias()"><!-- --></A><H3> | |
getAlias</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getAlias</B>()</PRE> | |
<DL> | |
<DD>Gets the alias set of this selection term. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TupleElement.html?is-external=true#getAlias()" title="class or interface in javax.persistence">getAlias</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/TupleElement.html?is-external=true" title="class or interface in javax.persistence">TupleElement</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="alias(java.lang.String)"><!-- --></A><H3> | |
alias</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>> <B>alias</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> alias)</PRE> | |
<DL> | |
<DD>Sets the alias on this selection term. | |
Alias can only be set once. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true#alias(java.lang.String)" title="class or interface in javax.persistence.criteria">alias</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="setAutoAlias(java.lang.String)"><!-- --></A><H3> | |
setAutoAlias</H3> | |
<PRE> | |
void <B>setAutoAlias</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> alias)</PRE> | |
<DL> | |
<DD>Sets the alias of this expression internally. Only valid if the expression is not aliased explicitly | |
by calling <A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#alias(java.lang.String)">alias(String)</A>. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isAutoAliased()"><!-- --></A><H3> | |
isAutoAliased</H3> | |
<PRE> | |
boolean <B>isAutoAliased</B>()</PRE> | |
<DL> | |
<DD>Affirms if the alias of this expression is assigned automatically. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isAliased()"><!-- --></A><H3> | |
isAliased</H3> | |
<PRE> | |
boolean <B>isAliased</B>()</PRE> | |
<DL> | |
<DD>Affirms if this expression has been assigned an alias by <A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#alias(java.lang.String)">alias(String)</A> method. | |
An alias can be assigned also by internal implementation. | |
<P> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
<DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html#isAutoAliased()"><CODE>isAutoAliased()</CODE></A></DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="getCompoundSelectionItems()"><!-- --></A><H3> | |
getCompoundSelectionItems</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><?>> <B>getCompoundSelectionItems</B>()</PRE> | |
<DL> | |
<DD>Throws IllegalStateException because a selection term, by default, consists of single value. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true#getCompoundSelectionItems()" title="class or interface in javax.persistence.criteria">getCompoundSelectionItems</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="isCompoundSelection()"><!-- --></A><H3> | |
isCompoundSelection</H3> | |
<PRE> | |
public boolean <B>isCompoundSelection</B>()</PRE> | |
<DL> | |
<DD>Returns false because a selection term, by default, consists of single value. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true#isCompoundSelection()" title="class or interface in javax.persistence.criteria">isCompoundSelection</A></CODE> in interface <CODE><A HREF="http://java.sun.com/javaee/6/docs/api/javax/persistence/criteria/Selection.html?is-external=true" title="class or interface in javax.persistence.criteria">Selection</A><<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SelectionImpl.html" title="type parameter in SelectionImpl">X</A>></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="assertValidName(java.lang.String)"><!-- --></A><H3> | |
assertValidName</H3> | |
<PRE> | |
void <B>assertValidName</B>(<A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> name)</PRE> | |
<DL> | |
<DD><DL> | |
</DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="asValue(org.apache.openjpa.persistence.criteria.AliasContext)"><!-- --></A><H3> | |
asValue</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A> <B>asValue</B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/AliasContext.html" title="interface in org.apache.openjpa.persistence.criteria">AliasContext</A> q)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#asValue(org.apache.openjpa.persistence.criteria.AliasContext)">CriteriaExpression</A></CODE></B></DD> | |
<DD>Get a string representation of this node as a value in the context of the given query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#asValue(org.apache.openjpa.persistence.criteria.AliasContext)">asValue</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="asVariable(org.apache.openjpa.persistence.criteria.AliasContext)"><!-- --></A><H3> | |
asVariable</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A> <B>asVariable</B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/AliasContext.html" title="interface in org.apache.openjpa.persistence.criteria">AliasContext</A> q)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#asVariable(org.apache.openjpa.persistence.criteria.AliasContext)">CriteriaExpression</A></CODE></B></DD> | |
<DD>Get a string representation of this node as a variable in the context of the given query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#asVariable(org.apache.openjpa.persistence.criteria.AliasContext)">asVariable</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="asProjection(org.apache.openjpa.persistence.criteria.AliasContext)"><!-- --></A><H3> | |
asProjection</H3> | |
<PRE> | |
public <A HREF="http://java.sun.com/j2se/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A> <B>asProjection</B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/AliasContext.html" title="interface in org.apache.openjpa.persistence.criteria">AliasContext</A> q)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#asProjection(org.apache.openjpa.persistence.criteria.AliasContext)">CriteriaExpression</A></CODE></B></DD> | |
<DD>Get a string representation of this node as a projection term in the context of the given query. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#asProjection(org.apache.openjpa.persistence.criteria.AliasContext)">asProjection</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
</DL> | |
</DD> | |
</DL> | |
<HR> | |
<A NAME="acceptVisit(org.apache.openjpa.persistence.criteria.CriteriaExpressionVisitor)"><!-- --></A><H3> | |
acceptVisit</H3> | |
<PRE> | |
public void <B>acceptVisit</B>(<A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpressionVisitor.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpressionVisitor</A> visitor)</PRE> | |
<DL> | |
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#acceptVisit(org.apache.openjpa.persistence.criteria.CriteriaExpressionVisitor)">CriteriaExpression</A></CODE></B></DD> | |
<DD>Accept visit from the given visitor. The receiver is responsible | |
to propagate the visitor to the constituent sub-nodes if any. | |
<P> | |
<DD><DL> | |
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html#acceptVisit(org.apache.openjpa.persistence.criteria.CriteriaExpressionVisitor)">acceptVisit</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/persistence/criteria/CriteriaExpression.html" title="interface in org.apache.openjpa.persistence.criteria">CriteriaExpression</A></CODE></DL> | |
</DD> | |
<DD><DL> | |
<DT><B>Parameters:</B><DD><CODE>visitor</CODE> - a processor to walk the nodes of a tree.</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> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> | |
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SelectionImpl.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> | |
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> | |
</TR> | |
</TABLE> | |
</TD> | |
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> | |
</EM> | |
</TD> | |
</TR> | |
<TR> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../org/apache/openjpa/persistence/criteria/RootImpl.html" title="class in org.apache.openjpa.persistence.criteria"><B>PREV CLASS</B></A> | |
<A HREF="../../../../../org/apache/openjpa/persistence/criteria/SubqueryImpl.html" title="class in org.apache.openjpa.persistence.criteria"><B>NEXT CLASS</B></A></FONT></TD> | |
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> | |
<A HREF="../../../../../index.html?org/apache/openjpa/persistence/criteria/SelectionImpl.html" target="_top"><B>FRAMES</B></A> | |
<A HREF="SelectionImpl.html" target="_top"><B>NO FRAMES</B></A> | |
<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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> | |
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> | |
DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> | |
</TR> | |
</TABLE> | |
<A NAME="skip-navbar_bottom"></A> | |
<!-- ======== END OF BOTTOM NAVBAR ======= --> | |
<HR> | |
Copyright © 2006-2011 <a href="http://www.apache.org">Apache Software Foundation</a>. All Rights Reserved. | |
</BODY> | |
</HTML> |