Edit D:\app\Administrator\product\11.2.0\dbhome_1\olap\api\doc\oracle\olapi\data\source\Assignment.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:19 UTC 2009 --> <TITLE> Assignment (Oracle OLAP Java API Reference) </TITLE> <META NAME="keywords" CONTENT="oracle.olapi.data.source.Assignment class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="Assignment (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"> PREV CLASS <A HREF="../../../../oracle/olapi/data/source/BooleanParameter.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/Assignment.html" target="_top"><B>FRAMES</B></A> <A HREF="Assignment.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"> oracle.olapi.data.source</FONT> <BR> Class Assignment</H2> <PRE> java.lang.Object <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>oracle.olapi.data.source.Assignment</B> </PRE> <HR> <DL> <DT><PRE>public class <B>Assignment</B><DT>extends java.lang.Object</DL> </PRE> <P> An object that belongs to a <CODE>Model</CODE> and that represents a calculation, a set of <CODE>Source</CODE> elements, and a precedence. When Oracle OLAP applies a <CODE>Model</CODE> to an associated <CODE>Source</CODE>, the <CODE>Assignment</CODE> objects of the <CODE>Model</CODE> modify the values of that <CODE>Source</CODE>. <P> The calculation of an <CODE>Assignment</CODE> is specified by its <CODE>assigned</CODE> <CODE>Source</CODE>. Its set of <CODE>Source</CODE> elements are represented by its <CODE>Qualification</CODE> objects, and its precedence is indicated by an integer. <P> A <CODE>Qualification</CODE> specifies a <CODE>Source</CODE> and an element of that <CODE>Source</CODE>. The <CODE>Source</CODE> specified by a <CODE>Qualification</CODE> is its qualified <CODE>Source</CODE>. The precedence of an <CODE>Assignment</CODE> indicates the order in which Oracle OLAP evaluates it, relative to other <CODE>Assignment</CODE> objects, when Oracle OLAP applies the <CODE>Model</CODE> in retrieving or calculating data in a query. <P> Typically, an application does not explicitly create <CODE>Assignment</CODE> objects. Oracle OLAP creates an <CODE>Assignment</CODE> object when an application creates a custom dimension member, or when the application calls an <CODE>assign</CODE> method of a <CODE>Model</CODE>. <P> The <CODE>ImplementingExtractAsACustomModel.java</CODE> example program demonstrates calling the <CODE>assign</CODE> method of a <CODE>CustomModel</CODE>. For information on the example programs, see <a href="../../../../doc-files/ExamplePrograms.html">Example Oracle OLAP Java API Programs</a>. <P> <P> <DL> <DT><B>See Also:</B><DD><A HREF="../../../../oracle/olapi/data/source/Model.html" title="interface in oracle.olapi.data.source"><CODE>Model</CODE></A>, <A HREF="../../../../oracle/olapi/data/source/CustomModel.html" title="class in oracle.olapi.data.source"><CODE>CustomModel</CODE></A>, <A HREF="../../../../oracle/olapi/data/source/Qualification.html" title="class in oracle.olapi.data.source"><CODE>Qualification</CODE></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="../../../../oracle/olapi/data/source/Assignment.html#Assignment(oracle.olapi.data.source.Model, oracle.olapi.data.source.Qualification[], oracle.olapi.data.source.Source, int)">Assignment</A></B>(<A HREF="../../../../oracle/olapi/data/source/Model.html" title="interface in oracle.olapi.data.source">Model</A> owner, <A HREF="../../../../oracle/olapi/data/source/Qualification.html" title="class in oracle.olapi.data.source">Qualification</A>[] qualifications, <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> assigned, int precedence)</CODE> <BR> Creates an <CODE>Assignment</CODE> object.</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="../../../../oracle/olapi/data/source/Assignment.html#assign(oracle.olapi.data.source.Model, oracle.olapi.data.source.Source, oracle.olapi.data.source.Source)">assign</A></B>(<A HREF="../../../../oracle/olapi/data/source/Model.html" title="interface in oracle.olapi.data.source">Model</A> newOwner, <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> oldQualifiedSource, <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> newQualifiedSource)</CODE> <BR> Moves the ownership of the <CODE>Assignment</CODE> from one <CODE>Model</CODE> to another.</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/Assignment.html#getAssignedSource()">getAssignedSource</A></B>()</CODE> <BR> The <CODE>Source</CODE> that represents the calculated value that the <CODE>Model</CODE> assigns for a <CODE>Source</CODE> that has the qualified <CODE>Source</CODE> objects as inputs.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../../oracle/olapi/data/source/Model.html" title="interface in oracle.olapi.data.source">Model</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Assignment.html#getOwner()">getOwner</A></B>()</CODE> <BR> Gets the <CODE>Model</CODE> to which the <CODE>Assignment</CODE> applies.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Assignment.html#getPrecedence()">getPrecedence</A></B>()</CODE> <BR> Gets the precedence of the <CODE>Assignment</CODE>; a higher value indicates a higher precedence.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> java.util.List</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../../oracle/olapi/data/source/Assignment.html#getQualifications()">getQualifications</A></B>()</CODE> <BR> Gets the <CODE>Qualification</CODE> objects for the <CODE>Assignment</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> <!-- ========= 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="Assignment(oracle.olapi.data.source.Model, oracle.olapi.data.source.Qualification[], oracle.olapi.data.source.Source, int)"><!-- --></A><H3> Assignment</H3> <PRE> public <B>Assignment</B>(<A HREF="../../../../oracle/olapi/data/source/Model.html" title="interface in oracle.olapi.data.source">Model</A> owner, <A HREF="../../../../oracle/olapi/data/source/Qualification.html" title="class in oracle.olapi.data.source">Qualification</A>[] qualifications, <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> assigned, int precedence)</PRE> <DL> <DD>Creates an <CODE>Assignment</CODE> object. <P> <DL> <DT><B>Parameters:</B><DD><CODE>owner</CODE> - The <CODE>Model</CODE> to which this <CODE>Assignment</CODE> applies.<DD><CODE>qualifications</CODE> - An array of <CODE>Qualification</CODE> objects.<DD><CODE>assigned</CODE> - A <CODE>Source</CODE> that specifies the value to assign for the qualified <CODE>Source</CODE> elements.<DD><CODE>precedence</CODE> - The precedence of the <CODE>Assignment</CODE> in relation to the other <CODE>Assignment</CODE> objects of the <CODE>Model</CODE>.</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="assign(oracle.olapi.data.source.Model, oracle.olapi.data.source.Source, oracle.olapi.data.source.Source)"><!-- --></A><H3> assign</H3> <PRE> public void <B>assign</B>(<A HREF="../../../../oracle/olapi/data/source/Model.html" title="interface in oracle.olapi.data.source">Model</A> newOwner, <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> oldQualifiedSource, <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> newQualifiedSource)</PRE> <DL> <DD>Moves the ownership of the <CODE>Assignment</CODE> from one <CODE>Model</CODE> to another. <P> <DD><DL> <DT><B>Parameters:</B><DD><CODE>newOwner</CODE> - The <CODE>Model</CODE> to which you want the <CODE>Assignment</CODE> to apply.<DD><CODE>oldQualifiedSource</CODE> - The qualified <CODE>Source</CODE> to replace in the <CODE>Qualification</CODE> objects of the <CODE>Assignment</CODE>.<DD><CODE>newQualifiedSource</CODE> - The <CODE>Source</CODE> that replaces the old qualified <CODE>Source</CODE> in the <CODE>Qualification</CODE> objects of the <CODE>Assignment</CODE>.</DL> </DD> </DL> <HR> <A NAME="getOwner()"><!-- --></A><H3> getOwner</H3> <PRE> public final <A HREF="../../../../oracle/olapi/data/source/Model.html" title="interface in oracle.olapi.data.source">Model</A> <B>getOwner</B>()</PRE> <DL> <DD>Gets the <CODE>Model</CODE> to which the <CODE>Assignment</CODE> applies. <P> <DD><DL> <DT><B>Returns:</B><DD>The <CODE>Model</CODE> to which the <CODE>Assignment</CODE> applies.</DL> </DD> </DL> <HR> <A NAME="getQualifications()"><!-- --></A><H3> getQualifications</H3> <PRE> public final java.util.List <B>getQualifications</B>()</PRE> <DL> <DD>Gets the <CODE>Qualification</CODE> objects for the <CODE>Assignment</CODE>. <P> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>List</CODE> of the <CODE>Qualification</CODE> objects of the <CODE>Assignment</CODE>.</DL> </DD> </DL> <HR> <A NAME="getAssignedSource()"><!-- --></A><H3> getAssignedSource</H3> <PRE> public final <A HREF="../../../../oracle/olapi/data/source/Source.html" title="class in oracle.olapi.data.source">Source</A> <B>getAssignedSource</B>()</PRE> <DL> <DD>The <CODE>Source</CODE> that represents the calculated value that the <CODE>Model</CODE> assigns for a <CODE>Source</CODE> that has the qualified <CODE>Source</CODE> objects as inputs. <P> <DD><DL> <DT><B>Returns:</B><DD>A <CODE>Source</CODE> that represents the value to assign as the value specified by the qualified <CODE>Source</CODE> objects.</DL> </DD> </DL> <HR> <A NAME="getPrecedence()"><!-- --></A><H3> getPrecedence</H3> <PRE> public final int <B>getPrecedence</B>()</PRE> <DL> <DD>Gets the precedence of the <CODE>Assignment</CODE>; a higher value indicates a higher precedence. Oracle OLAP uses the precedence value in determining the order in which it evaluates the <CODE>Assignment</CODE> objects of a <CODE>Model</CODE>. It evaluates an <CODE>Assignment</CODE> with a higher value before one with a lower value. <P> <DD><DL> <DT><B>Returns:</B><DD>An integer that specifies the precedence of this <CODE>Model</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"> PREV CLASS <A HREF="../../../../oracle/olapi/data/source/BooleanParameter.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/Assignment.html" target="_top"><B>FRAMES</B></A> <A HREF="Assignment.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> </BODY> </HTML>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de