Edit D:\app\Administrator\product\11.2.0\dbhome_1\olap\api\doc\oracle\olapi\data\source\Parameter.html
<!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_17) on Wed Aug 12 19:50:21 UTC 2009 --> <TITLE> Parameter (Oracle OLAP Java API Reference) </TITLE> <META NAME="keywords" CONTENT="oracle.olapi.data.source.Parameter class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Parameter (Oracle OLAP Java API Reference)"; } </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> </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="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> <b>Oracle® OLAP Java API Reference<br>11<i>g</i> Release 2 (11.2)</b><br>E10794-01<br>Beta Draft</EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../oracle/olapi/data/source/NumberSource.html" title="class in oracle.olapi.data.source"><B>PREV CLASS</B></A> <A HREF="../../../../oracle/olapi/data/source/ParameterVisitor.html" title="class in oracle.olapi.data.source"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?oracle/olapi/data/source/Parameter.html" target="_top"><B>FRAMES</B></A> <A HREF="Parameter.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <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"> oracle.olapi.data.source</FONT> <BR> Class Parameter</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>oracle.olapi.data.source.Parameter</B> </PRE> <DL> <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../oracle/olapi/data/source/BooleanParameter.html" title="class in oracle.olapi.data.source">BooleanParameter</A>, <A HREF="../../../../oracle/olapi/data/source/DateParameter.html" title="class in oracle.olapi.data.source">DateParameter</A>, <A HREF="../../../../oracle/olapi/data/source/NumberParameter.html" title="class in oracle.olapi.data.source">NumberParameter</A>, <A HREF="../../../../oracle/olapi/data/source/StringParameter.html" title="class in oracle.olapi.data.source">StringParameter</A></DD> </DL> <HR> <DL> <DT><PRE>public abstract class <B>Parameter</B><DT>extends java.lang.Object</DL> </PRE> <P> An object that specifies a value that you use in creating a query. After creating the query, you can change the value of the <CODE>Parameter</CODE> and thereby change the selection of dimension or measure elements that the query represents. <P> The <CODE>createSource</CODE> method of a <CODE>Parameter</CODE> creates a parameterized <CODE>Source</CODE>. You then use the parameterized <CODE>Source</CODE> as a parameter to a method that selects one or more elements of another <CODE>Source</CODE> and produces a derived <CODE>Source</CODE>. You can create a <CODE>Cursor</CODE> for the <CODE>Source</CODE> to retrieve the results of the query. <P> You can change the selection of elements that the derived <CODE>Source</CODE> represents with the <CODE>setValue</CODE> method of a concrete subclass of <CODE>Parameter</CODE>. The <CODE>Cursor</CODE> for the query <CODE>Source</CODE> then has the values of the new selection. You do not need to create a new <CODE>Cursor</CODE>. You can instead just get the values for the new selection from the existing <CODE>Cursor</CODE>. <P> <P> <HR> <P> <!-- ========== 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>abstract java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Parameter.html#acceptVisitor(oracle.olapi.data.source.ParameterVisitor, java.lang.Object)">acceptVisitor</A></B>(<A HREF="../../../../oracle/olapi/data/source/ParameterVisitor.html" title="class in oracle.olapi.data.source">ParameterVisitor</A> visitor, java.lang.Object context)</CODE> <BR> Calls the appropriate method of the specified <CODE>ParameterVisitor</CODE> and passes that method the <CODE>Parameter</CODE> and the specified context <CODE>Object</CODE>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Parameter.html#createSource()">createSource</A></B>()</CODE> <BR> Creates a <CODE>Source</CODE> of the appropriate data type that contains the value specified for the <CODE>Parameter</CODE>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../oracle/olapi/data/source/DataProvider.html" title="class in oracle.olapi.data.source">DataProvider</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Parameter.html#getDataProvider()">getDataProvider</A></B>()</CODE> <BR> Gets the <CODE>DataProvider</CODE> for this <CODE>Parameter</CODE>.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.lang.String</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Parameter.html#getID()">getID</A></B>()</CODE> <BR> Gets a <CODE>String</CODE> that uniquely identifies this <CODE>Parameter</CODE> during this connection.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE>abstract java.lang.Object</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Parameter.html#getValueObject()">getValueObject</A></B>()</CODE> <BR> Gets an <CODE>Object</CODE> that contains the value for this <CODE>Parameter</CODE>.</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.Object</B></TH> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD> </TR> </TABLE> <P> <!-- ============ 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="acceptVisitor(oracle.olapi.data.source.ParameterVisitor, java.lang.Object)"><!-- --></A><H3> acceptVisitor</H3> <PRE> public abstract java.lang.Object <B>acceptVisitor</B>(<A HREF="../../../../oracle/olapi/data/source/ParameterVisitor.html" title="class in oracle.olapi.data.source">ParameterVisitor</A> visitor, java.lang.Object context)</PRE> <DL> <DD>Calls the appropriate method of the specified <CODE>ParameterVisitor</CODE> and passes that method the <CODE>Parameter</CODE> and the specified context <CODE>Object</CODE>. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>visitor</CODE> - An instance a class derived from the <CODE>ParameterVisitor</CODE> class.<DD><CODE>context</CODE> - An <CODE>Object</CODE>. <DT><B>Returns:</B><DD>The <CODE>Object</CODE> returned by the appropriate method of the specified <CODE>ParameterVisitor</CODE>.</DL> </DD> </DL> <HR> <A NAME="getDataProvider()"><!-- --></A><H3> getDataProvider</H3> <PRE> public final <A HREF="../../../../oracle/olapi/data/source/DataProvider.html" title="class in oracle.olapi.data.source">DataProvider</A> <B>getDataProvider</B>()</PRE> <DL> <DD>Gets the <CODE>DataProvider</CODE> for this <CODE>Parameter</CODE>. <P> <DD><DL> <DT><B>Returns:</B><DD>The <CODE>DataProvider</CODE> for this <CODE>Parameter</CODE>.</DL> </DD> </DL> <HR> <A NAME="getID()"><!-- --></A><H3> getID</H3> <PRE> public final java.lang.String <B>getID</B>()</PRE> <DL> <DD>Gets a <CODE>String</CODE> that uniquely identifies this <CODE>Parameter</CODE> during this connection. <P> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>String</CODE> that uniquely identifies this <CODE>Parameter</CODE>.</DL> </DD> </DL> <HR> <A NAME="getValueObject()"><!-- --></A><H3> getValueObject</H3> <PRE> public abstract java.lang.Object <B>getValueObject</B>()</PRE> <DL> <DD>Gets an <CODE>Object</CODE> that contains the value for this <CODE>Parameter</CODE>. <P> <DD><DL> <DT><B>Returns:</B><DD>An <CODE>Object</CODE> that contains the value for this <CODE>Parameter</CODE>.</DL> </DD> </DL> <HR> <A NAME="createSource()"><!-- --></A><H3> createSource</H3> <PRE> public <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> <B>createSource</B>()</PRE> <DL> <DD>Creates a <CODE>Source</CODE> of the appropriate data type that contains the value specified for the <CODE>Parameter</CODE>. The concrete subclasses of <CODE>Parameter</CODE> have constructors that take an initial value. An application can specify a different value by calling the <CODE>setValue</CODE> of the subclass. <P> <DD><DL> <DT><B>Returns:</B><DD>The <CODE>Source</CODE> associated with the <CODE>Parameter</CODE>.</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="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> <center>Copyright © 2002, 2009, Oracle. All rights reserved.</center></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../oracle/olapi/data/source/NumberSource.html" title="class in oracle.olapi.data.source"><B>PREV CLASS</B></A> <A HREF="../../../../oracle/olapi/data/source/ParameterVisitor.html" title="class in oracle.olapi.data.source"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?oracle/olapi/data/source/Parameter.html" target="_top"><B>FRAMES</B></A> <A HREF="Parameter.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 | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> </BODY> </HTML>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de