You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by ma...@apache.org on 2010/09/24 07:09:57 UTC

svn commit: r1000710 [39/44] - in /incubator/oodt/site/components/maven: apidocs/org/apache/oodt/grid/ apidocs/org/apache/oodt/grid/class-use/ apidocs/org/apache/oodt/profile/handlers/cas/ apidocs/org/apache/oodt/profile/handlers/cas/class-use/ apidocs...

Added: incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html
URL: http://svn.apache.org/viewvc/incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html?rev=1000710&view=auto
==============================================================================
--- incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html (added)
+++ incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html Fri Sep 24 05:09:48 2010
@@ -0,0 +1,92 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xml:lang="en"><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>DatabaseTableGroup xref</title><link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /></head><body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1" id="1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2" id="2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="3" href="#3" id="3">3</a>   <em class="jxr_javadoccomment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a name="4" href="#4" id="4">4</a>   <em class="jxr_javadoccomment"> * this work for additional information regarding copyright ownership.</em>
+<a name="5" href="#5" id="5">5</a>   <em class="jxr_javadoccomment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="6" href="#6" id="6">6</a>   <em class="jxr_javadoccomment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="7" href="#7" id="7">7</a>   <em class="jxr_javadoccomment"> * the License.  You may obtain a copy of the License at</em>
+<a name="8" href="#8" id="8">8</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="9" href="#9" id="9">9</a>   <em class="jxr_javadoccomment"> *     <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="10" href="#10" id="10">10</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="11" href="#11" id="11">11</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="12" href="#12" id="12">12</a>  <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="13" href="#13" id="13">13</a>  <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="14" href="#14" id="14">14</a>  <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em>
+<a name="15" href="#15" id="15">15</a>  <em class="jxr_javadoccomment"> * limitations under the License.</em>
+<a name="16" href="#16" id="16">16</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="17" href="#17" id="17">17</a>  
+<a name="18" href="#18" id="18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.oodt.xmlps.mapping;
+<a name="19" href="#19" id="19">19</a>  
+<a name="20" href="#20" id="20">20</a>  <em class="jxr_comment">//JDK imports</em>
+<a name="21" href="#21" id="21">21</a>  <strong class="jxr_keyword">import</strong> java.util.Iterator;
+<a name="22" href="#22" id="22">22</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="23" href="#23" id="23">23</a>  <strong class="jxr_keyword">import</strong> java.util.Map;
+<a name="24" href="#24" id="24">24</a>  <strong class="jxr_keyword">import</strong> java.util.TreeMap;
+<a name="25" href="#25" id="25">25</a>  <strong class="jxr_keyword">import</strong> java.util.Vector;
+<a name="26" href="#26" id="26">26</a>  
+<a name="27" href="#27" id="27">27</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="28" href="#28" id="28">28</a>  <em class="jxr_javadoccomment"> * </em>
+<a name="29" href="#29" id="29">29</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;</em>
+<a name="30" href="#30" id="30">30</a>  <em class="jxr_javadoccomment"> * A collection of {@link DatabaseTable}s</em>
+<a name="31" href="#31" id="31">31</a>  <em class="jxr_javadoccomment"> * &lt;/p&gt;.</em>
+<a name="32" href="#32" id="32">32</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="33" href="#33" id="33">33</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html">DatabaseTableGroup</a> {
+<a name="34" href="#34" id="34">34</a>  
+<a name="35" href="#35" id="35">35</a>      <strong class="jxr_keyword">private</strong> Map&lt;String, DatabaseTable&gt; group;
+<a name="36" href="#36" id="36">36</a>  
+<a name="37" href="#37" id="37">37</a>      <strong class="jxr_keyword">private</strong> List&lt;DatabaseTable&gt; orderedGroup;
+<a name="38" href="#38" id="38">38</a>  
+<a name="39" href="#39" id="39">39</a>      <strong class="jxr_keyword">private</strong> String defaultTable;
+<a name="40" href="#40" id="40">40</a>  
+<a name="41" href="#41" id="41">41</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html">DatabaseTableGroup</a>() {
+<a name="42" href="#42" id="42">42</a>          <strong class="jxr_keyword">this</strong>.group = <strong class="jxr_keyword">new</strong> TreeMap&lt;String, DatabaseTable&gt;();
+<a name="43" href="#43" id="43">43</a>          <strong class="jxr_keyword">this</strong>.orderedGroup = <strong class="jxr_keyword">new</strong> Vector&lt;DatabaseTable&gt;();
+<a name="44" href="#44" id="44">44</a>      }
+<a name="45" href="#45" id="45">45</a>  
+<a name="46" href="#46" id="46">46</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addTable(String tblName, <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTable.html">DatabaseTable</a> tbl) {
+<a name="47" href="#47" id="47">47</a>          <strong class="jxr_keyword">this</strong>.group.put(tblName, tbl);
+<a name="48" href="#48" id="48">48</a>          <strong class="jxr_keyword">this</strong>.orderedGroup.add(tbl);
+<a name="49" href="#49" id="49">49</a>      }
+<a name="50" href="#50" id="50">50</a>  
+<a name="51" href="#51" id="51">51</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTable.html">DatabaseTable</a> getTableByName(String name) {
+<a name="52" href="#52" id="52">52</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.group.get(name);
+<a name="53" href="#53" id="53">53</a>      }
+<a name="54" href="#54" id="54">54</a>  
+<a name="55" href="#55" id="55">55</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getNumTables() {
+<a name="56" href="#56" id="56">56</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.group.keySet().size();
+<a name="57" href="#57" id="57">57</a>      }
+<a name="58" href="#58" id="58">58</a>  
+<a name="59" href="#59" id="59">59</a>      <strong class="jxr_keyword">public</strong> List&lt;String&gt; getTableNames() {
+<a name="60" href="#60" id="60">60</a>          List&lt;String&gt; names = <strong class="jxr_keyword">new</strong> Vector&lt;String&gt;();
+<a name="61" href="#61" id="61">61</a>          <strong class="jxr_keyword">for</strong> (Iterator&lt;DatabaseTable&gt; i = <strong class="jxr_keyword">this</strong>.orderedGroup.iterator(); i
+<a name="62" href="#62" id="62">62</a>                  .hasNext();) {
+<a name="63" href="#63" id="63">63</a>              <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTable.html">DatabaseTable</a> tbl = i.next();
+<a name="64" href="#64" id="64">64</a>              names.add(tbl.getName());
+<a name="65" href="#65" id="65">65</a>          }
+<a name="66" href="#66" id="66">66</a>  
+<a name="67" href="#67" id="67">67</a>          <strong class="jxr_keyword">return</strong> names;
+<a name="68" href="#68" id="68">68</a>      }
+<a name="69" href="#69" id="69">69</a>  
+<a name="70" href="#70" id="70">70</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="71" href="#71" id="71">71</a>  <em class="jxr_javadoccomment">     * @return the defaultTable</em>
+<a name="72" href="#72" id="72">72</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="73" href="#73" id="73">73</a>      <strong class="jxr_keyword">public</strong> String getDefaultTable() {
+<a name="74" href="#74" id="74">74</a>          <strong class="jxr_keyword">return</strong> defaultTable;
+<a name="75" href="#75" id="75">75</a>      }
+<a name="76" href="#76" id="76">76</a>  
+<a name="77" href="#77" id="77">77</a>      <em class="jxr_javadoccomment">/**</em>
+<a name="78" href="#78" id="78">78</a>  <em class="jxr_javadoccomment">     * @param defaultTable</em>
+<a name="79" href="#79" id="79">79</a>  <em class="jxr_javadoccomment">     *            the defaultTable to set</em>
+<a name="80" href="#80" id="80">80</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="81" href="#81" id="81">81</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setDefaultTable(String defaultTable) {
+<a name="82" href="#82" id="82">82</a>          <strong class="jxr_keyword">this</strong>.defaultTable = defaultTable;
+<a name="83" href="#83" id="83">83</a>      }
+<a name="84" href="#84" id="84">84</a>  
+<a name="85" href="#85" id="85">85</a>  }
+</pre>
+<hr /><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body></html>
\ No newline at end of file

Added: incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldScope.html
URL: http://svn.apache.org/viewvc/incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldScope.html?rev=1000710&view=auto
==============================================================================
--- incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldScope.html (added)
+++ incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldScope.html Fri Sep 24 05:09:48 2010
@@ -0,0 +1,83 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xml:lang="en"><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>FieldScope xref</title><link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /></head><body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/oodt/xmlps/mapping/FieldScope.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1" id="1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2" id="2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="3" href="#3" id="3">3</a>   <em class="jxr_javadoccomment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a name="4" href="#4" id="4">4</a>   <em class="jxr_javadoccomment"> * this work for additional information regarding copyright ownership.</em>
+<a name="5" href="#5" id="5">5</a>   <em class="jxr_javadoccomment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="6" href="#6" id="6">6</a>   <em class="jxr_javadoccomment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="7" href="#7" id="7">7</a>   <em class="jxr_javadoccomment"> * the License.  You may obtain a copy of the License at</em>
+<a name="8" href="#8" id="8">8</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="9" href="#9" id="9">9</a>   <em class="jxr_javadoccomment"> *     <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="10" href="#10" id="10">10</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="11" href="#11" id="11">11</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="12" href="#12" id="12">12</a>  <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="13" href="#13" id="13">13</a>  <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="14" href="#14" id="14">14</a>  <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em>
+<a name="15" href="#15" id="15">15</a>  <em class="jxr_javadoccomment"> * limitations under the License.</em>
+<a name="16" href="#16" id="16">16</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="17" href="#17" id="17">17</a>  
+<a name="18" href="#18" id="18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.oodt.xmlps.mapping;
+<a name="19" href="#19" id="19">19</a>  
+<a name="20" href="#20" id="20">20</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="21" href="#21" id="21">21</a>  <em class="jxr_javadoccomment"> * </em>
+<a name="22" href="#22" id="22">22</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;</em>
+<a name="23" href="#23" id="23">23</a>  <em class="jxr_javadoccomment"> * Defines the scope of a {@link MappingField}.</em>
+<a name="24" href="#24" id="24">24</a>  <em class="jxr_javadoccomment"> * &lt;/p&gt;.</em>
+<a name="25" href="#25" id="25">25</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="26" href="#26" id="26">26</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> {
+<a name="27" href="#27" id="27">27</a>  
+<a name="28" href="#28" id="28">28</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> QUERY = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">QueryFieldScope</a>();
+<a name="29" href="#29" id="29">29</a>  
+<a name="30" href="#30" id="30">30</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> RETURN = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">ReturnFieldScope</a>();
+<a name="31" href="#31" id="31">31</a>  
+<a name="32" href="#32" id="32">32</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SCOPE_QUERY = <span class="jxr_string">"query"</span>;
+<a name="33" href="#33" id="33">33</a>  
+<a name="34" href="#34" id="34">34</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SCOPE_RETURN = <span class="jxr_string">"return"</span>;
+<a name="35" href="#35" id="35">35</a>  
+<a name="36" href="#36" id="36">36</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">abstract</strong> String getType();
+<a name="37" href="#37" id="37">37</a>  
+<a name="38" href="#38" id="38">38</a>      @Override
+<a name="39" href="#39" id="39">39</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> equals(Object o) {
+<a name="40" href="#40" id="40">40</a>          <strong class="jxr_keyword">if</strong> (!(o instanceof FieldScope)) {
+<a name="41" href="#41" id="41">41</a>              <strong class="jxr_keyword">return</strong> false;
+<a name="42" href="#42" id="42">42</a>          }
+<a name="43" href="#43" id="43">43</a>  
+<a name="44" href="#44" id="44">44</a>          <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> other = (FieldScope) o;
+<a name="45" href="#45" id="45">45</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.getType().equals(other.getType());
+<a name="46" href="#46" id="46">46</a>      }
+<a name="47" href="#47" id="47">47</a>  
+<a name="48" href="#48" id="48">48</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">QueryFieldScope</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> {
+<a name="49" href="#49" id="49">49</a>  
+<a name="50" href="#50" id="50">50</a>          <em class="jxr_comment">/*</em>
+<a name="51" href="#51" id="51">51</a>  <em class="jxr_comment">         * (non-Javadoc)</em>
+<a name="52" href="#52" id="52">52</a>  <em class="jxr_comment">         * </em>
+<a name="53" href="#53" id="53">53</a>  <em class="jxr_comment">         * @see org.apache.oodt.xmlps.mapping.FieldScope#getType()</em>
+<a name="54" href="#54" id="54">54</a>  <em class="jxr_comment">         */</em>
+<a name="55" href="#55" id="55">55</a>          @Override
+<a name="56" href="#56" id="56">56</a>          <strong class="jxr_keyword">protected</strong> String getType() {
+<a name="57" href="#57" id="57">57</a>              <strong class="jxr_keyword">return</strong> SCOPE_QUERY;
+<a name="58" href="#58" id="58">58</a>          }
+<a name="59" href="#59" id="59">59</a>  
+<a name="60" href="#60" id="60">60</a>      }
+<a name="61" href="#61" id="61">61</a>  
+<a name="62" href="#62" id="62">62</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">ReturnFieldScope</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> {
+<a name="63" href="#63" id="63">63</a>  
+<a name="64" href="#64" id="64">64</a>          <em class="jxr_comment">/*</em>
+<a name="65" href="#65" id="65">65</a>  <em class="jxr_comment">         * (non-Javadoc)</em>
+<a name="66" href="#66" id="66">66</a>  <em class="jxr_comment">         * </em>
+<a name="67" href="#67" id="67">67</a>  <em class="jxr_comment">         * @see org.apache.oodt.xmlps.mapping.FieldScope#getType()</em>
+<a name="68" href="#68" id="68">68</a>  <em class="jxr_comment">         */</em>
+<a name="69" href="#69" id="69">69</a>          @Override
+<a name="70" href="#70" id="70">70</a>          <strong class="jxr_keyword">protected</strong> String getType() {
+<a name="71" href="#71" id="71">71</a>              <strong class="jxr_keyword">return</strong> SCOPE_RETURN;
+<a name="72" href="#72" id="72">72</a>          }
+<a name="73" href="#73" id="73">73</a>  
+<a name="74" href="#74" id="74">74</a>      }
+<a name="75" href="#75" id="75">75</a>  
+<a name="76" href="#76" id="76">76</a>  }
+</pre>
+<hr /><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body></html>
\ No newline at end of file

Added: incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldType.html
URL: http://svn.apache.org/viewvc/incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldType.html?rev=1000710&view=auto
==============================================================================
--- incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldType.html (added)
+++ incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/FieldType.html Fri Sep 24 05:09:48 2010
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xml:lang="en"><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>FieldType xref</title><link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /></head><body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/oodt/xmlps/mapping/FieldType.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1" id="1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2" id="2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="3" href="#3" id="3">3</a>   <em class="jxr_javadoccomment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a name="4" href="#4" id="4">4</a>   <em class="jxr_javadoccomment"> * this work for additional information regarding copyright ownership.</em>
+<a name="5" href="#5" id="5">5</a>   <em class="jxr_javadoccomment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="6" href="#6" id="6">6</a>   <em class="jxr_javadoccomment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="7" href="#7" id="7">7</a>   <em class="jxr_javadoccomment"> * the License.  You may obtain a copy of the License at</em>
+<a name="8" href="#8" id="8">8</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="9" href="#9" id="9">9</a>   <em class="jxr_javadoccomment"> *     <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="10" href="#10" id="10">10</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="11" href="#11" id="11">11</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="12" href="#12" id="12">12</a>  <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="13" href="#13" id="13">13</a>  <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="14" href="#14" id="14">14</a>  <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em>
+<a name="15" href="#15" id="15">15</a>  <em class="jxr_javadoccomment"> * limitations under the License.</em>
+<a name="16" href="#16" id="16">16</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="17" href="#17" id="17">17</a>  
+<a name="18" href="#18" id="18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.oodt.xmlps.mapping;
+<a name="19" href="#19" id="19">19</a>  
+<a name="20" href="#20" id="20">20</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="21" href="#21" id="21">21</a>  <em class="jxr_javadoccomment"> * </em>
+<a name="22" href="#22" id="22">22</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;</em>
+<a name="23" href="#23" id="23">23</a>  <em class="jxr_javadoccomment"> * Defines the type of a {@link MappingField}</em>
+<a name="24" href="#24" id="24">24</a>  <em class="jxr_javadoccomment"> * &lt;/p&gt;.</em>
+<a name="25" href="#25" id="25">25</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="26" href="#26" id="26">26</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">abstract</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> {
+<a name="27" href="#27" id="27">27</a>  
+<a name="28" href="#28" id="28">28</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_DYNAMIC = <span class="jxr_string">"dynamic"</span>;
+<a name="29" href="#29" id="29">29</a>  
+<a name="30" href="#30" id="30">30</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TYPE_CONSTANT = <span class="jxr_string">"constant"</span>;
+<a name="31" href="#31" id="31">31</a>  
+<a name="32" href="#32" id="32">32</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> DYNAMIC = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">DynamicFieldType</a>();
+<a name="33" href="#33" id="33">33</a>  
+<a name="34" href="#34" id="34">34</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> CONSTANT = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">ConstantFieldType</a>();
+<a name="35" href="#35" id="35">35</a>  
+<a name="36" href="#36" id="36">36</a>      <strong class="jxr_keyword">protected</strong> <strong class="jxr_keyword">abstract</strong> String getType();
+<a name="37" href="#37" id="37">37</a>      
+<a name="38" href="#38" id="38">38</a>      @Override
+<a name="39" href="#39" id="39">39</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> equals(Object o){
+<a name="40" href="#40" id="40">40</a>          <strong class="jxr_keyword">if</strong>(!(o instanceof <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a>)){
+<a name="41" href="#41" id="41">41</a>              <strong class="jxr_keyword">return</strong> false;
+<a name="42" href="#42" id="42">42</a>          }
+<a name="43" href="#43" id="43">43</a>          
+<a name="44" href="#44" id="44">44</a>          <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> other = (FieldType)o;
+<a name="45" href="#45" id="45">45</a>          <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.getType().equals(other.getType());
+<a name="46" href="#46" id="46">46</a>      }
+<a name="47" href="#47" id="47">47</a>  
+<a name="48" href="#48" id="48">48</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">DynamicFieldType</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> {
+<a name="49" href="#49" id="49">49</a>  
+<a name="50" href="#50" id="50">50</a>          <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">DynamicFieldType</a>() {
+<a name="51" href="#51" id="51">51</a>  
+<a name="52" href="#52" id="52">52</a>          }
+<a name="53" href="#53" id="53">53</a>  
+<a name="54" href="#54" id="54">54</a>          <em class="jxr_comment">/*</em>
+<a name="55" href="#55" id="55">55</a>  <em class="jxr_comment">         * (non-Javadoc)</em>
+<a name="56" href="#56" id="56">56</a>  <em class="jxr_comment">         * </em>
+<a name="57" href="#57" id="57">57</a>  <em class="jxr_comment">         * @see org.apache.oodt.xmlps.mapping.FieldType#getType()</em>
+<a name="58" href="#58" id="58">58</a>  <em class="jxr_comment">         */</em>
+<a name="59" href="#59" id="59">59</a>          @Override
+<a name="60" href="#60" id="60">60</a>          <strong class="jxr_keyword">protected</strong> String getType() {
+<a name="61" href="#61" id="61">61</a>              <strong class="jxr_keyword">return</strong> TYPE_DYNAMIC;
+<a name="62" href="#62" id="62">62</a>          }
+<a name="63" href="#63" id="63">63</a>  
+<a name="64" href="#64" id="64">64</a>      }
+<a name="65" href="#65" id="65">65</a>  
+<a name="66" href="#66" id="66">66</a>      <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">ConstantFieldType</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> {
+<a name="67" href="#67" id="67">67</a>  
+<a name="68" href="#68" id="68">68</a>          <em class="jxr_comment">/*</em>
+<a name="69" href="#69" id="69">69</a>  <em class="jxr_comment">         * (non-Javadoc)</em>
+<a name="70" href="#70" id="70">70</a>  <em class="jxr_comment">         * </em>
+<a name="71" href="#71" id="71">71</a>  <em class="jxr_comment">         * @see org.apache.oodt.xmlps.mapping.FieldType#getType()</em>
+<a name="72" href="#72" id="72">72</a>  <em class="jxr_comment">         */</em>
+<a name="73" href="#73" id="73">73</a>          @Override
+<a name="74" href="#74" id="74">74</a>          <strong class="jxr_keyword">protected</strong> String getType() {
+<a name="75" href="#75" id="75">75</a>              <em class="jxr_comment">// TODO Auto-generated method stub</em>
+<a name="76" href="#76" id="76">76</a>              <strong class="jxr_keyword">return</strong> TYPE_CONSTANT;
+<a name="77" href="#77" id="77">77</a>          }
+<a name="78" href="#78" id="78">78</a>  
+<a name="79" href="#79" id="79">79</a>      }
+<a name="80" href="#80" id="80">80</a>  
+<a name="81" href="#81" id="81">81</a>  }
+</pre>
+<hr /><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body></html>
\ No newline at end of file

Added: incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/Mapping.html
URL: http://svn.apache.org/viewvc/incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/Mapping.html?rev=1000710&view=auto
==============================================================================
--- incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/Mapping.html (added)
+++ incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/Mapping.html Fri Sep 24 05:09:48 2010
@@ -0,0 +1,197 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xml:lang="en"><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>Mapping xref</title><link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /></head><body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/oodt/xmlps/mapping/Mapping.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1" id="1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2" id="2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="3" href="#3" id="3">3</a>   <em class="jxr_javadoccomment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a name="4" href="#4" id="4">4</a>   <em class="jxr_javadoccomment"> * this work for additional information regarding copyright ownership.</em>
+<a name="5" href="#5" id="5">5</a>   <em class="jxr_javadoccomment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="6" href="#6" id="6">6</a>   <em class="jxr_javadoccomment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="7" href="#7" id="7">7</a>   <em class="jxr_javadoccomment"> * the License.  You may obtain a copy of the License at</em>
+<a name="8" href="#8" id="8">8</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="9" href="#9" id="9">9</a>   <em class="jxr_javadoccomment"> *     <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="10" href="#10" id="10">10</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="11" href="#11" id="11">11</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="12" href="#12" id="12">12</a>  <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="13" href="#13" id="13">13</a>  <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="14" href="#14" id="14">14</a>  <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em>
+<a name="15" href="#15" id="15">15</a>  <em class="jxr_javadoccomment"> * limitations under the License.</em>
+<a name="16" href="#16" id="16">16</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="17" href="#17" id="17">17</a>  
+<a name="18" href="#18" id="18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.oodt.xmlps.mapping;
+<a name="19" href="#19" id="19">19</a>  
+<a name="20" href="#20" id="20">20</a>  <em class="jxr_comment">//JDK imports</em>
+<a name="21" href="#21" id="21">21</a>  <strong class="jxr_keyword">import</strong> java.util.Arrays;
+<a name="22" href="#22" id="22">22</a>  <strong class="jxr_keyword">import</strong> java.util.Iterator;
+<a name="23" href="#23" id="23">23</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="24" href="#24" id="24">24</a>  <strong class="jxr_keyword">import</strong> java.util.Map;
+<a name="25" href="#25" id="25">25</a>  <strong class="jxr_keyword">import</strong> java.util.TreeMap;
+<a name="26" href="#26" id="26">26</a>  
+<a name="27" href="#27" id="27">27</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="28" href="#28" id="28">28</a>  <em class="jxr_javadoccomment"> * </em>
+<a name="29" href="#29" id="29">29</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;</em>
+<a name="30" href="#30" id="30">30</a>  <em class="jxr_javadoccomment"> * An Mapping is a {@link List} of {@link MappingField}s that define the</em>
+<a name="31" href="#31" id="31">31</a>  <em class="jxr_javadoccomment"> * translation of common ontological queries into queries against a local site's</em>
+<a name="32" href="#32" id="32">32</a>  <em class="jxr_javadoccomment"> * DBMS</em>
+<a name="33" href="#33" id="33">33</a>  <em class="jxr_javadoccomment"> * &lt;/p&gt;</em>
+<a name="34" href="#34" id="34">34</a>  <em class="jxr_javadoccomment"> * .</em>
+<a name="35" href="#35" id="35">35</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="36" href="#36" id="36">36</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/Mapping.html">Mapping</a> {
+<a name="37" href="#37" id="37">37</a>  
+<a name="38" href="#38" id="38">38</a>    <strong class="jxr_keyword">private</strong> Map&lt;String, MappingField&gt; fields;
+<a name="39" href="#39" id="39">39</a>  
+<a name="40" href="#40" id="40">40</a>    <strong class="jxr_keyword">private</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html">DatabaseTableGroup</a> tables;
+<a name="41" href="#41" id="41">41</a>  
+<a name="42" href="#42" id="42">42</a>    <strong class="jxr_keyword">private</strong> String id;
+<a name="43" href="#43" id="43">43</a>  
+<a name="44" href="#44" id="44">44</a>    <strong class="jxr_keyword">private</strong> String name;
+<a name="45" href="#45" id="45">45</a>  
+<a name="46" href="#46" id="46">46</a>    <em class="jxr_javadoccomment">/**</em>
+<a name="47" href="#47" id="47">47</a>  <em class="jxr_javadoccomment">     * </em>
+<a name="48" href="#48" id="48">48</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="49" href="#49" id="49">49</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/Mapping.html">Mapping</a>() {
+<a name="50" href="#50" id="50">50</a>      <strong class="jxr_keyword">this</strong>.fields = <strong class="jxr_keyword">new</strong> TreeMap&lt;String, MappingField&gt;();
+<a name="51" href="#51" id="51">51</a>      <strong class="jxr_keyword">this</strong>.tables = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html">DatabaseTableGroup</a>();
+<a name="52" href="#52" id="52">52</a>    }
+<a name="53" href="#53" id="53">53</a>  
+<a name="54" href="#54" id="54">54</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/Mapping.html">Mapping</a>(Map&lt;String, MappingField&gt; fields, <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTableGroup.html">DatabaseTableGroup</a> tables,
+<a name="55" href="#55" id="55">55</a>        String id, String name) {
+<a name="56" href="#56" id="56">56</a>      <strong class="jxr_keyword">super</strong>();
+<a name="57" href="#57" id="57">57</a>      <strong class="jxr_keyword">this</strong>.fields = fields;
+<a name="58" href="#58" id="58">58</a>      <strong class="jxr_keyword">this</strong>.id = id;
+<a name="59" href="#59" id="59">59</a>      <strong class="jxr_keyword">this</strong>.name = name;
+<a name="60" href="#60" id="60">60</a>      <strong class="jxr_keyword">this</strong>.tables = tables;
+<a name="61" href="#61" id="61">61</a>    }
+<a name="62" href="#62" id="62">62</a>  
+<a name="63" href="#63" id="63">63</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addField(String fldName, <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a> field) {
+<a name="64" href="#64" id="64">64</a>      <strong class="jxr_keyword">this</strong>.fields.put(fldName, field);
+<a name="65" href="#65" id="65">65</a>    }
+<a name="66" href="#66" id="66">66</a>  
+<a name="67" href="#67" id="67">67</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a> getFieldByLocalName(String localName) {
+<a name="68" href="#68" id="68">68</a>      <strong class="jxr_keyword">if</strong> (<strong class="jxr_keyword">this</strong>.fields == <strong class="jxr_keyword">null</strong>
+<a name="69" href="#69" id="69">69</a>          || (<strong class="jxr_keyword">this</strong>.fields != <strong class="jxr_keyword">null</strong> &amp;&amp; <strong class="jxr_keyword">this</strong>.fields.keySet() == <strong class="jxr_keyword">null</strong>)
+<a name="70" href="#70" id="70">70</a>          || (<strong class="jxr_keyword">this</strong>.fields != <strong class="jxr_keyword">null</strong> &amp;&amp; <strong class="jxr_keyword">this</strong>.fields.keySet() != <strong class="jxr_keyword">null</strong> &amp;&amp; <strong class="jxr_keyword">this</strong>.fields
+<a name="71" href="#71" id="71">71</a>              .keySet().size() == 0)) {
+<a name="72" href="#72" id="72">72</a>        <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a name="73" href="#73" id="73">73</a>      }
+<a name="74" href="#74" id="74">74</a>  
+<a name="75" href="#75" id="75">75</a>      <strong class="jxr_keyword">for</strong> (Iterator&lt;String&gt; i = <strong class="jxr_keyword">this</strong>.fields.keySet().iterator(); i.hasNext();) {
+<a name="76" href="#76" id="76">76</a>        String commonName = i.next();
+<a name="77" href="#77" id="77">77</a>        <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a> fld = <strong class="jxr_keyword">this</strong>.fields.get(commonName);
+<a name="78" href="#78" id="78">78</a>        <strong class="jxr_keyword">if</strong> (getFieldLocalName(fld).equals(localName)) {
+<a name="79" href="#79" id="79">79</a>          <strong class="jxr_keyword">return</strong> fld;
+<a name="80" href="#80" id="80">80</a>        }
+<a name="81" href="#81" id="81">81</a>      }
+<a name="82" href="#82" id="82">82</a>  
+<a name="83" href="#83" id="83">83</a>      <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
+<a name="84" href="#84" id="84">84</a>  
+<a name="85" href="#85" id="85">85</a>    }
+<a name="86" href="#86" id="86">86</a>  
+<a name="87" href="#87" id="87">87</a>    <strong class="jxr_keyword">public</strong> String getFieldLocalName(<a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a> fld) {
+<a name="88" href="#88" id="88">88</a>      String newFldName = fld.getName();
+<a name="89" href="#89" id="89">89</a>      <strong class="jxr_keyword">if</strong> (fld.getDbName() != <strong class="jxr_keyword">null</strong> &amp;&amp; !fld.getDbName().equals(<span class="jxr_string">""</span>)) {
+<a name="90" href="#90" id="90">90</a>        newFldName = fld.getDbName();
+<a name="91" href="#91" id="91">91</a>      }
+<a name="92" href="#92" id="92">92</a>  
+<a name="93" href="#93" id="93">93</a>      <strong class="jxr_keyword">if</strong> (fld.isAppendTableName()) {
+<a name="94" href="#94" id="94">94</a>        <strong class="jxr_keyword">if</strong> (fld.getTableName() != <strong class="jxr_keyword">null</strong> &amp;&amp; !fld.getTableName().equals(<span class="jxr_string">""</span>)) {
+<a name="95" href="#95" id="95">95</a>          newFldName = fld.getTableName() + <span class="jxr_string">"."</span> + newFldName;
+<a name="96" href="#96" id="96">96</a>        } <strong class="jxr_keyword">else</strong> {
+<a name="97" href="#97" id="97">97</a>          newFldName = getDefaultTable() + <span class="jxr_string">"."</span> + newFldName;
+<a name="98" href="#98" id="98">98</a>        }
+<a name="99" href="#99" id="99">99</a>      }
+<a name="100" href="#100" id="100">100</a> 
+<a name="101" href="#101" id="101">101</a>     <strong class="jxr_keyword">return</strong> newFldName;
+<a name="102" href="#102" id="102">102</a>   }
+<a name="103" href="#103" id="103">103</a> 
+<a name="104" href="#104" id="104">104</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a> getFieldByName(String name) {
+<a name="105" href="#105" id="105">105</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.fields.get(name);
+<a name="106" href="#106" id="106">106</a>   }
+<a name="107" href="#107" id="107">107</a> 
+<a name="108" href="#108" id="108">108</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> constantField(String localName) {
+<a name="109" href="#109" id="109">109</a>     <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a> fld = getFieldByLocalName(localName);
+<a name="110" href="#110" id="110">110</a> 
+<a name="111" href="#111" id="111">111</a>     <strong class="jxr_keyword">if</strong> (fld == <strong class="jxr_keyword">null</strong>) {
+<a name="112" href="#112" id="112">112</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>; <em class="jxr_comment">// leave it out</em>
+<a name="113" href="#113" id="113">113</a>     }
+<a name="114" href="#114" id="114">114</a> 
+<a name="115" href="#115" id="115">115</a>     <strong class="jxr_keyword">if</strong> (fld.getType().equals(FieldType.CONSTANT)) {
+<a name="116" href="#116" id="116">116</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">true</strong>;
+<a name="117" href="#117" id="117">117</a>     } <strong class="jxr_keyword">else</strong>
+<a name="118" href="#118" id="118">118</a>       <strong class="jxr_keyword">return</strong> false;
+<a name="119" href="#119" id="119">119</a>   }
+<a name="120" href="#120" id="120">120</a> 
+<a name="121" href="#121" id="121">121</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getNumFields() {
+<a name="122" href="#122" id="122">122</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.fields.keySet().size();
+<a name="123" href="#123" id="123">123</a>   }
+<a name="124" href="#124" id="124">124</a> 
+<a name="125" href="#125" id="125">125</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addTable(String tblName, <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTable.html">DatabaseTable</a> tbl) {
+<a name="126" href="#126" id="126">126</a>     <strong class="jxr_keyword">this</strong>.tables.addTable(tblName, tbl);
+<a name="127" href="#127" id="127">127</a>   }
+<a name="128" href="#128" id="128">128</a> 
+<a name="129" href="#129" id="129">129</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/DatabaseTable.html">DatabaseTable</a> getTableByName(String name) {
+<a name="130" href="#130" id="130">130</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.tables.getTableByName(name);
+<a name="131" href="#131" id="131">131</a>   }
+<a name="132" href="#132" id="132">132</a> 
+<a name="133" href="#133" id="133">133</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> getNumTables() {
+<a name="134" href="#134" id="134">134</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.tables.getNumTables();
+<a name="135" href="#135" id="135">135</a>   }
+<a name="136" href="#136" id="136">136</a> 
+<a name="137" href="#137" id="137">137</a>   <strong class="jxr_keyword">public</strong> List&lt;String&gt; getTableNames() {
+<a name="138" href="#138" id="138">138</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.tables.getTableNames();
+<a name="139" href="#139" id="139">139</a>   }
+<a name="140" href="#140" id="140">140</a> 
+<a name="141" href="#141" id="141">141</a>   <strong class="jxr_keyword">public</strong> List&lt;String&gt; getFieldNames() {
+<a name="142" href="#142" id="142">142</a>     <strong class="jxr_keyword">return</strong> Arrays.asList(<strong class="jxr_keyword">this</strong>.fields.keySet().toArray(<strong class="jxr_keyword">new</strong> String[] { <span class="jxr_string">""</span> }));
+<a name="143" href="#143" id="143">143</a>   }
+<a name="144" href="#144" id="144">144</a> 
+<a name="145" href="#145" id="145">145</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="146" href="#146" id="146">146</a> <em class="jxr_javadoccomment">   * @return the id</em>
+<a name="147" href="#147" id="147">147</a> <em class="jxr_javadoccomment">   */</em>
+<a name="148" href="#148" id="148">148</a>   <strong class="jxr_keyword">public</strong> String getId() {
+<a name="149" href="#149" id="149">149</a>     <strong class="jxr_keyword">return</strong> id;
+<a name="150" href="#150" id="150">150</a>   }
+<a name="151" href="#151" id="151">151</a> 
+<a name="152" href="#152" id="152">152</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="153" href="#153" id="153">153</a> <em class="jxr_javadoccomment">   * @param id</em>
+<a name="154" href="#154" id="154">154</a> <em class="jxr_javadoccomment">   *          the id to set</em>
+<a name="155" href="#155" id="155">155</a> <em class="jxr_javadoccomment">   */</em>
+<a name="156" href="#156" id="156">156</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setId(String id) {
+<a name="157" href="#157" id="157">157</a>     <strong class="jxr_keyword">this</strong>.id = id;
+<a name="158" href="#158" id="158">158</a>   }
+<a name="159" href="#159" id="159">159</a> 
+<a name="160" href="#160" id="160">160</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="161" href="#161" id="161">161</a> <em class="jxr_javadoccomment">   * @return the name</em>
+<a name="162" href="#162" id="162">162</a> <em class="jxr_javadoccomment">   */</em>
+<a name="163" href="#163" id="163">163</a>   <strong class="jxr_keyword">public</strong> String getName() {
+<a name="164" href="#164" id="164">164</a>     <strong class="jxr_keyword">return</strong> name;
+<a name="165" href="#165" id="165">165</a>   }
+<a name="166" href="#166" id="166">166</a> 
+<a name="167" href="#167" id="167">167</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="168" href="#168" id="168">168</a> <em class="jxr_javadoccomment">   * @param name</em>
+<a name="169" href="#169" id="169">169</a> <em class="jxr_javadoccomment">   *          the name to set</em>
+<a name="170" href="#170" id="170">170</a> <em class="jxr_javadoccomment">   */</em>
+<a name="171" href="#171" id="171">171</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setName(String name) {
+<a name="172" href="#172" id="172">172</a>     <strong class="jxr_keyword">this</strong>.name = name;
+<a name="173" href="#173" id="173">173</a>   }
+<a name="174" href="#174" id="174">174</a> 
+<a name="175" href="#175" id="175">175</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="176" href="#176" id="176">176</a> <em class="jxr_javadoccomment">   * @return the defaultTable</em>
+<a name="177" href="#177" id="177">177</a> <em class="jxr_javadoccomment">   */</em>
+<a name="178" href="#178" id="178">178</a>   <strong class="jxr_keyword">public</strong> String getDefaultTable() {
+<a name="179" href="#179" id="179">179</a>     <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>.tables.getDefaultTable();
+<a name="180" href="#180" id="180">180</a>   }
+<a name="181" href="#181" id="181">181</a> 
+<a name="182" href="#182" id="182">182</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="183" href="#183" id="183">183</a> <em class="jxr_javadoccomment">   * @param defaultTable</em>
+<a name="184" href="#184" id="184">184</a> <em class="jxr_javadoccomment">   *          the defaultTable to set</em>
+<a name="185" href="#185" id="185">185</a> <em class="jxr_javadoccomment">   */</em>
+<a name="186" href="#186" id="186">186</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setDefaultTable(String defaultTable) {
+<a name="187" href="#187" id="187">187</a>     <strong class="jxr_keyword">this</strong>.tables.setDefaultTable(defaultTable);
+<a name="188" href="#188" id="188">188</a>   }
+<a name="189" href="#189" id="189">189</a> 
+<a name="190" href="#190" id="190">190</a> }
+</pre>
+<hr /><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body></html>
\ No newline at end of file

Added: incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/MappingField.html
URL: http://svn.apache.org/viewvc/incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/MappingField.html?rev=1000710&view=auto
==============================================================================
--- incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/MappingField.html (added)
+++ incubator/oodt/site/components/maven/xref/org/apache/oodt/xmlps/mapping/MappingField.html Fri Sep 24 05:09:48 2010
@@ -0,0 +1,277 @@
+<?xml version='1.0' encoding='utf-8'?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xml:lang="en"><head><meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>MappingField xref</title><link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" /></head><body>
+<div id="overview"><a href="../../../../../../apidocs/org/apache/oodt/xmlps/mapping/MappingField.html">View Javadoc</a></div><pre>
+
+<a name="1" href="#1" id="1">1</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="2" href="#2" id="2">2</a>   <em class="jxr_javadoccomment"> * Licensed to the Apache Software Foundation (ASF) under one or more</em>
+<a name="3" href="#3" id="3">3</a>   <em class="jxr_javadoccomment"> * contributor license agreements.  See the NOTICE file distributed with</em>
+<a name="4" href="#4" id="4">4</a>   <em class="jxr_javadoccomment"> * this work for additional information regarding copyright ownership.</em>
+<a name="5" href="#5" id="5">5</a>   <em class="jxr_javadoccomment"> * The ASF licenses this file to You under the Apache License, Version 2.0</em>
+<a name="6" href="#6" id="6">6</a>   <em class="jxr_javadoccomment"> * (the "License"); you may not use this file except in compliance with</em>
+<a name="7" href="#7" id="7">7</a>   <em class="jxr_javadoccomment"> * the License.  You may obtain a copy of the License at</em>
+<a name="8" href="#8" id="8">8</a>   <em class="jxr_javadoccomment"> *</em>
+<a name="9" href="#9" id="9">9</a>   <em class="jxr_javadoccomment"> *     <a href="http://www.apache.org/licenses/LICENSE-2.0" target="alexandria_uri">http://www.apache.org/licenses/LICENSE-2.0</a></em>
+<a name="10" href="#10" id="10">10</a>  <em class="jxr_javadoccomment"> *</em>
+<a name="11" href="#11" id="11">11</a>  <em class="jxr_javadoccomment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="12" href="#12" id="12">12</a>  <em class="jxr_javadoccomment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="13" href="#13" id="13">13</a>  <em class="jxr_javadoccomment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="14" href="#14" id="14">14</a>  <em class="jxr_javadoccomment"> * See the License for the specific language governing permissions and</em>
+<a name="15" href="#15" id="15">15</a>  <em class="jxr_javadoccomment"> * limitations under the License.</em>
+<a name="16" href="#16" id="16">16</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="17" href="#17" id="17">17</a>  
+<a name="18" href="#18" id="18">18</a>  <strong class="jxr_keyword">package</strong> org.apache.oodt.xmlps.mapping;
+<a name="19" href="#19" id="19">19</a>  
+<a name="20" href="#20" id="20">20</a>  <em class="jxr_comment">//OODT imports</em>
+<a name="21" href="#21" id="21">21</a>  <strong class="jxr_keyword">import</strong> org.apache.oodt.xmlps.mapping.funcs.MappingFunc;
+<a name="22" href="#22" id="22">22</a>  
+<a name="23" href="#23" id="23">23</a>  <em class="jxr_comment">//JDK imports</em>
+<a name="24" href="#24" id="24">24</a>  <strong class="jxr_keyword">import</strong> java.util.Iterator;
+<a name="25" href="#25" id="25">25</a>  <strong class="jxr_keyword">import</strong> java.util.List;
+<a name="26" href="#26" id="26">26</a>  <strong class="jxr_keyword">import</strong> java.util.Vector;
+<a name="27" href="#27" id="27">27</a>  
+<a name="28" href="#28" id="28">28</a>  <em class="jxr_javadoccomment">/**</em>
+<a name="29" href="#29" id="29">29</a>  <em class="jxr_javadoccomment"> * </em>
+<a name="30" href="#30" id="30">30</a>  <em class="jxr_javadoccomment"> * &lt;p&gt;</em>
+<a name="31" href="#31" id="31">31</a>  <em class="jxr_javadoccomment"> * A field within a mapping.xml file that defines the relationship between CDEs</em>
+<a name="32" href="#32" id="32">32</a>  <em class="jxr_javadoccomment"> * and the underlying attributes of a local site's DBMS.</em>
+<a name="33" href="#33" id="33">33</a>  <em class="jxr_javadoccomment"> * &lt;/p&gt;</em>
+<a name="34" href="#34" id="34">34</a>  <em class="jxr_javadoccomment"> * .</em>
+<a name="35" href="#35" id="35">35</a>  <em class="jxr_javadoccomment"> */</em>
+<a name="36" href="#36" id="36">36</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a> {
+<a name="37" href="#37" id="37">37</a>  
+<a name="38" href="#38" id="38">38</a>    <strong class="jxr_keyword">private</strong> String name;
+<a name="39" href="#39" id="39">39</a>  
+<a name="40" href="#40" id="40">40</a>    <strong class="jxr_keyword">private</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> type;
+<a name="41" href="#41" id="41">41</a>  
+<a name="42" href="#42" id="42">42</a>    <strong class="jxr_keyword">private</strong> String dbName;
+<a name="43" href="#43" id="43">43</a>  
+<a name="44" href="#44" id="44">44</a>    <strong class="jxr_keyword">private</strong> String tableName;
+<a name="45" href="#45" id="45">45</a>  
+<a name="46" href="#46" id="46">46</a>    <strong class="jxr_keyword">private</strong> String constantValue;
+<a name="47" href="#47" id="47">47</a>  
+<a name="48" href="#48" id="48">48</a>    <strong class="jxr_keyword">private</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> scope;
+<a name="49" href="#49" id="49">49</a>  
+<a name="50" href="#50" id="50">50</a>    <strong class="jxr_keyword">private</strong> List&lt;MappingFunc&gt; funcs;
+<a name="51" href="#51" id="51">51</a>  
+<a name="52" href="#52" id="52">52</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> string;
+<a name="53" href="#53" id="53">53</a>  
+<a name="54" href="#54" id="54">54</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> appendTableName;
+<a name="55" href="#55" id="55">55</a>  
+<a name="56" href="#56" id="56">56</a>    <em class="jxr_javadoccomment">/**</em>
+<a name="57" href="#57" id="57">57</a>  <em class="jxr_javadoccomment">   * @param name</em>
+<a name="58" href="#58" id="58">58</a>  <em class="jxr_javadoccomment">   * @param type</em>
+<a name="59" href="#59" id="59">59</a>  <em class="jxr_javadoccomment">   * @param dbName</em>
+<a name="60" href="#60" id="60">60</a>  <em class="jxr_javadoccomment">   * @param tableName</em>
+<a name="61" href="#61" id="61">61</a>  <em class="jxr_javadoccomment">   * @param constantValue</em>
+<a name="62" href="#62" id="62">62</a>  <em class="jxr_javadoccomment">   * @param scope</em>
+<a name="63" href="#63" id="63">63</a>  <em class="jxr_javadoccomment">   * @param funcs</em>
+<a name="64" href="#64" id="64">64</a>  <em class="jxr_javadoccomment">   * @param string</em>
+<a name="65" href="#65" id="65">65</a>  <em class="jxr_javadoccomment">   * @param appendTableName</em>
+<a name="66" href="#66" id="66">66</a>  <em class="jxr_javadoccomment">   */</em>
+<a name="67" href="#67" id="67">67</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a>(String name, <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> type, String dbName,
+<a name="68" href="#68" id="68">68</a>        String tableName, String constantValue, <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> scope,
+<a name="69" href="#69" id="69">69</a>        List&lt;MappingFunc&gt; funcs, <strong class="jxr_keyword">boolean</strong> string, <strong class="jxr_keyword">boolean</strong> appendTableName) {
+<a name="70" href="#70" id="70">70</a>      <strong class="jxr_keyword">super</strong>();
+<a name="71" href="#71" id="71">71</a>      <strong class="jxr_keyword">this</strong>.name = name;
+<a name="72" href="#72" id="72">72</a>      <strong class="jxr_keyword">this</strong>.type = type;
+<a name="73" href="#73" id="73">73</a>      <strong class="jxr_keyword">this</strong>.dbName = dbName;
+<a name="74" href="#74" id="74">74</a>      <strong class="jxr_keyword">this</strong>.tableName = tableName;
+<a name="75" href="#75" id="75">75</a>      <strong class="jxr_keyword">this</strong>.constantValue = constantValue;
+<a name="76" href="#76" id="76">76</a>      <strong class="jxr_keyword">this</strong>.scope = scope;
+<a name="77" href="#77" id="77">77</a>      <strong class="jxr_keyword">this</strong>.funcs = funcs;
+<a name="78" href="#78" id="78">78</a>      <strong class="jxr_keyword">this</strong>.string = string;
+<a name="79" href="#79" id="79">79</a>      <strong class="jxr_keyword">this</strong>.appendTableName = appendTableName;
+<a name="80" href="#80" id="80">80</a>    }
+<a name="81" href="#81" id="81">81</a>  
+<a name="82" href="#82" id="82">82</a>    <em class="jxr_javadoccomment">/**</em>
+<a name="83" href="#83" id="83">83</a>  <em class="jxr_javadoccomment">     * </em>
+<a name="84" href="#84" id="84">84</a>  <em class="jxr_javadoccomment">     */</em>
+<a name="85" href="#85" id="85">85</a>    <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/MappingField.html">MappingField</a>() {
+<a name="86" href="#86" id="86">86</a>      <strong class="jxr_keyword">this</strong>.name = <strong class="jxr_keyword">null</strong>;
+<a name="87" href="#87" id="87">87</a>      <strong class="jxr_keyword">this</strong>.dbName = <strong class="jxr_keyword">null</strong>;
+<a name="88" href="#88" id="88">88</a>      <strong class="jxr_keyword">this</strong>.tableName = <strong class="jxr_keyword">null</strong>;
+<a name="89" href="#89" id="89">89</a>      <strong class="jxr_keyword">this</strong>.constantValue = <strong class="jxr_keyword">null</strong>;
+<a name="90" href="#90" id="90">90</a>      <strong class="jxr_keyword">this</strong>.scope = <strong class="jxr_keyword">null</strong>;
+<a name="91" href="#91" id="91">91</a>      <strong class="jxr_keyword">this</strong>.string = false;
+<a name="92" href="#92" id="92">92</a>      <strong class="jxr_keyword">this</strong>.appendTableName = false;
+<a name="93" href="#93" id="93">93</a>      <strong class="jxr_keyword">this</strong>.funcs = <strong class="jxr_keyword">new</strong> Vector&lt;MappingFunc&gt;();
+<a name="94" href="#94" id="94">94</a>    }
+<a name="95" href="#95" id="95">95</a>  
+<a name="96" href="#96" id="96">96</a>    <em class="jxr_javadoccomment">/**</em>
+<a name="97" href="#97" id="97">97</a>  <em class="jxr_javadoccomment">   * @return the constantValue</em>
+<a name="98" href="#98" id="98">98</a>  <em class="jxr_javadoccomment">   */</em>
+<a name="99" href="#99" id="99">99</a>    <strong class="jxr_keyword">public</strong> String getConstantValue() {
+<a name="100" href="#100" id="100">100</a>     <strong class="jxr_keyword">return</strong> constantValue;
+<a name="101" href="#101" id="101">101</a>   }
+<a name="102" href="#102" id="102">102</a> 
+<a name="103" href="#103" id="103">103</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="104" href="#104" id="104">104</a> <em class="jxr_javadoccomment">   * @param constantValue</em>
+<a name="105" href="#105" id="105">105</a> <em class="jxr_javadoccomment">   *          the constantValue to set</em>
+<a name="106" href="#106" id="106">106</a> <em class="jxr_javadoccomment">   */</em>
+<a name="107" href="#107" id="107">107</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setConstantValue(String constantValue) {
+<a name="108" href="#108" id="108">108</a>     <strong class="jxr_keyword">this</strong>.constantValue = constantValue;
+<a name="109" href="#109" id="109">109</a>   }
+<a name="110" href="#110" id="110">110</a> 
+<a name="111" href="#111" id="111">111</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="112" href="#112" id="112">112</a> <em class="jxr_javadoccomment">   * @return the dbName</em>
+<a name="113" href="#113" id="113">113</a> <em class="jxr_javadoccomment">   */</em>
+<a name="114" href="#114" id="114">114</a>   <strong class="jxr_keyword">public</strong> String getDbName() {
+<a name="115" href="#115" id="115">115</a>     <strong class="jxr_keyword">return</strong> dbName;
+<a name="116" href="#116" id="116">116</a>   }
+<a name="117" href="#117" id="117">117</a> 
+<a name="118" href="#118" id="118">118</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="119" href="#119" id="119">119</a> <em class="jxr_javadoccomment">   * @param dbName</em>
+<a name="120" href="#120" id="120">120</a> <em class="jxr_javadoccomment">   *          the dbName to set</em>
+<a name="121" href="#121" id="121">121</a> <em class="jxr_javadoccomment">   */</em>
+<a name="122" href="#122" id="122">122</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setDbName(String dbName) {
+<a name="123" href="#123" id="123">123</a>     <strong class="jxr_keyword">this</strong>.dbName = dbName;
+<a name="124" href="#124" id="124">124</a>   }
+<a name="125" href="#125" id="125">125</a> 
+<a name="126" href="#126" id="126">126</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="127" href="#127" id="127">127</a> <em class="jxr_javadoccomment">   * @return the name</em>
+<a name="128" href="#128" id="128">128</a> <em class="jxr_javadoccomment">   */</em>
+<a name="129" href="#129" id="129">129</a>   <strong class="jxr_keyword">public</strong> String getName() {
+<a name="130" href="#130" id="130">130</a>     <strong class="jxr_keyword">return</strong> name;
+<a name="131" href="#131" id="131">131</a>   }
+<a name="132" href="#132" id="132">132</a> 
+<a name="133" href="#133" id="133">133</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="134" href="#134" id="134">134</a> <em class="jxr_javadoccomment">   * @param name</em>
+<a name="135" href="#135" id="135">135</a> <em class="jxr_javadoccomment">   *          the name to set</em>
+<a name="136" href="#136" id="136">136</a> <em class="jxr_javadoccomment">   */</em>
+<a name="137" href="#137" id="137">137</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setName(String name) {
+<a name="138" href="#138" id="138">138</a>     <strong class="jxr_keyword">this</strong>.name = name;
+<a name="139" href="#139" id="139">139</a>   }
+<a name="140" href="#140" id="140">140</a> 
+<a name="141" href="#141" id="141">141</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="142" href="#142" id="142">142</a> <em class="jxr_javadoccomment">   * @return the scope</em>
+<a name="143" href="#143" id="143">143</a> <em class="jxr_javadoccomment">   */</em>
+<a name="144" href="#144" id="144">144</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> getScope() {
+<a name="145" href="#145" id="145">145</a>     <strong class="jxr_keyword">return</strong> scope;
+<a name="146" href="#146" id="146">146</a>   }
+<a name="147" href="#147" id="147">147</a> 
+<a name="148" href="#148" id="148">148</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="149" href="#149" id="149">149</a> <em class="jxr_javadoccomment">   * @param scope</em>
+<a name="150" href="#150" id="150">150</a> <em class="jxr_javadoccomment">   *          the scope to set</em>
+<a name="151" href="#151" id="151">151</a> <em class="jxr_javadoccomment">   */</em>
+<a name="152" href="#152" id="152">152</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setScope(<a href="../../../../../org/apache/oodt/xmlps/mapping/FieldScope.html">FieldScope</a> scope) {
+<a name="153" href="#153" id="153">153</a>     <strong class="jxr_keyword">this</strong>.scope = scope;
+<a name="154" href="#154" id="154">154</a>   }
+<a name="155" href="#155" id="155">155</a> 
+<a name="156" href="#156" id="156">156</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="157" href="#157" id="157">157</a> <em class="jxr_javadoccomment">   * @return the tableName</em>
+<a name="158" href="#158" id="158">158</a> <em class="jxr_javadoccomment">   */</em>
+<a name="159" href="#159" id="159">159</a>   <strong class="jxr_keyword">public</strong> String getTableName() {
+<a name="160" href="#160" id="160">160</a>     <strong class="jxr_keyword">return</strong> tableName;
+<a name="161" href="#161" id="161">161</a>   }
+<a name="162" href="#162" id="162">162</a> 
+<a name="163" href="#163" id="163">163</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="164" href="#164" id="164">164</a> <em class="jxr_javadoccomment">   * @param tableName</em>
+<a name="165" href="#165" id="165">165</a> <em class="jxr_javadoccomment">   *          the tableName to set</em>
+<a name="166" href="#166" id="166">166</a> <em class="jxr_javadoccomment">   */</em>
+<a name="167" href="#167" id="167">167</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setTableName(String tableName) {
+<a name="168" href="#168" id="168">168</a>     <strong class="jxr_keyword">this</strong>.tableName = tableName;
+<a name="169" href="#169" id="169">169</a>   }
+<a name="170" href="#170" id="170">170</a> 
+<a name="171" href="#171" id="171">171</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="172" href="#172" id="172">172</a> <em class="jxr_javadoccomment">   * @return the type</em>
+<a name="173" href="#173" id="173">173</a> <em class="jxr_javadoccomment">   */</em>
+<a name="174" href="#174" id="174">174</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> getType() {
+<a name="175" href="#175" id="175">175</a>     <strong class="jxr_keyword">return</strong> type;
+<a name="176" href="#176" id="176">176</a>   }
+<a name="177" href="#177" id="177">177</a> 
+<a name="178" href="#178" id="178">178</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="179" href="#179" id="179">179</a> <em class="jxr_javadoccomment">   * @param type</em>
+<a name="180" href="#180" id="180">180</a> <em class="jxr_javadoccomment">   *          the type to set</em>
+<a name="181" href="#181" id="181">181</a> <em class="jxr_javadoccomment">   */</em>
+<a name="182" href="#182" id="182">182</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setType(<a href="../../../../../org/apache/oodt/xmlps/mapping/FieldType.html">FieldType</a> type) {
+<a name="183" href="#183" id="183">183</a>     <strong class="jxr_keyword">this</strong>.type = type;
+<a name="184" href="#184" id="184">184</a>   }
+<a name="185" href="#185" id="185">185</a> 
+<a name="186" href="#186" id="186">186</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="187" href="#187" id="187">187</a> <em class="jxr_javadoccomment">   * @return the funcs</em>
+<a name="188" href="#188" id="188">188</a> <em class="jxr_javadoccomment">   */</em>
+<a name="189" href="#189" id="189">189</a>   <strong class="jxr_keyword">public</strong> List&lt;MappingFunc&gt; getFuncs() {
+<a name="190" href="#190" id="190">190</a>     <strong class="jxr_keyword">return</strong> funcs;
+<a name="191" href="#191" id="191">191</a>   }
+<a name="192" href="#192" id="192">192</a> 
+<a name="193" href="#193" id="193">193</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="194" href="#194" id="194">194</a> <em class="jxr_javadoccomment">   * @param funcs</em>
+<a name="195" href="#195" id="195">195</a> <em class="jxr_javadoccomment">   *          the funcs to set</em>
+<a name="196" href="#196" id="196">196</a> <em class="jxr_javadoccomment">   */</em>
+<a name="197" href="#197" id="197">197</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setFuncs(List&lt;MappingFunc&gt; funcs) {
+<a name="198" href="#198" id="198">198</a>     <strong class="jxr_keyword">this</strong>.funcs = funcs;
+<a name="199" href="#199" id="199">199</a>   }
+<a name="200" href="#200" id="200">200</a> 
+<a name="201" href="#201" id="201">201</a>   <strong class="jxr_keyword">public</strong> String toString() {
+<a name="202" href="#202" id="202">202</a>     StringBuffer rStr = <strong class="jxr_keyword">new</strong> StringBuffer(<span class="jxr_string">"[name="</span>);
+<a name="203" href="#203" id="203">203</a>     rStr.append(<strong class="jxr_keyword">this</strong>.name);
+<a name="204" href="#204" id="204">204</a>     rStr.append(<span class="jxr_string">",dbname="</span>);
+<a name="205" href="#205" id="205">205</a>     rStr.append(<strong class="jxr_keyword">this</strong>.dbName);
+<a name="206" href="#206" id="206">206</a>     rStr.append(<span class="jxr_string">",constant_value="</span>);
+<a name="207" href="#207" id="207">207</a>     rStr.append(<strong class="jxr_keyword">this</strong>.constantValue);
+<a name="208" href="#208" id="208">208</a>     rStr.append(<span class="jxr_string">",table_name="</span>);
+<a name="209" href="#209" id="209">209</a>     rStr.append(<strong class="jxr_keyword">this</strong>.tableName);
+<a name="210" href="#210" id="210">210</a>     rStr.append(<span class="jxr_string">",scope="</span>);
+<a name="211" href="#211" id="211">211</a>     rStr.append(<strong class="jxr_keyword">this</strong>.scope.equals(FieldScope.RETURN) ? <span class="jxr_string">"return"</span> : <span class="jxr_string">"query"</span>);
+<a name="212" href="#212" id="212">212</a>     rStr.append(<span class="jxr_string">",type="</span>);
+<a name="213" href="#213" id="213">213</a>     rStr.append(<strong class="jxr_keyword">this</strong>.type.equals(FieldType.CONSTANT) ? <span class="jxr_string">"constant"</span> : <span class="jxr_string">"dynamic"</span>);
+<a name="214" href="#214" id="214">214</a>     rStr.append(<span class="jxr_string">",funcs="</span>);
+<a name="215" href="#215" id="215">215</a>     rStr.append(printClassNames(<strong class="jxr_keyword">this</strong>.funcs));
+<a name="216" href="#216" id="216">216</a>     rStr.append(<span class="jxr_string">",string="</span>);
+<a name="217" href="#217" id="217">217</a>     rStr.append(String.valueOf(<strong class="jxr_keyword">this</strong>.string));
+<a name="218" href="#218" id="218">218</a>     rStr.append(<span class="jxr_string">",appendTableName="</span>);
+<a name="219" href="#219" id="219">219</a>     rStr.append(String.valueOf(<strong class="jxr_keyword">this</strong>.appendTableName));
+<a name="220" href="#220" id="220">220</a>     rStr.append(<span class="jxr_string">"]"</span>);
+<a name="221" href="#221" id="221">221</a>     <strong class="jxr_keyword">return</strong> rStr.toString();
+<a name="222" href="#222" id="222">222</a>   }
+<a name="223" href="#223" id="223">223</a> 
+<a name="224" href="#224" id="224">224</a>   <strong class="jxr_keyword">private</strong> String printClassNames(List&lt;MappingFunc&gt; funcs) {
+<a name="225" href="#225" id="225">225</a>     StringBuffer buf = <strong class="jxr_keyword">new</strong> StringBuffer();
+<a name="226" href="#226" id="226">226</a> 
+<a name="227" href="#227" id="227">227</a>     <strong class="jxr_keyword">if</strong> (funcs == <strong class="jxr_keyword">null</strong> || (funcs != <strong class="jxr_keyword">null</strong> &amp;&amp; funcs.size() == 0)) {
+<a name="228" href="#228" id="228">228</a>       <strong class="jxr_keyword">return</strong> <span class="jxr_string">""</span>;
+<a name="229" href="#229" id="229">229</a>     } <strong class="jxr_keyword">else</strong> {
+<a name="230" href="#230" id="230">230</a>       <strong class="jxr_keyword">for</strong> (Iterator&lt;MappingFunc&gt; i = funcs.iterator(); i.hasNext();) {
+<a name="231" href="#231" id="231">231</a>         <a href="../../../../../org/apache/oodt/xmlps/mapping/funcs/MappingFunc.html">MappingFunc</a> func = i.next();
+<a name="232" href="#232" id="232">232</a>         buf.append(func.getClass().getName());
+<a name="233" href="#233" id="233">233</a>         buf.append(<span class="jxr_string">","</span>);
+<a name="234" href="#234" id="234">234</a>       }
+<a name="235" href="#235" id="235">235</a> 
+<a name="236" href="#236" id="236">236</a>       buf.deleteCharAt(buf.length() - 1);
+<a name="237" href="#237" id="237">237</a> 
+<a name="238" href="#238" id="238">238</a>       <strong class="jxr_keyword">return</strong> buf.toString();
+<a name="239" href="#239" id="239">239</a>     }
+<a name="240" href="#240" id="240">240</a>   }
+<a name="241" href="#241" id="241">241</a> 
+<a name="242" href="#242" id="242">242</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="243" href="#243" id="243">243</a> <em class="jxr_javadoccomment">   * @return the string</em>
+<a name="244" href="#244" id="244">244</a> <em class="jxr_javadoccomment">   */</em>
+<a name="245" href="#245" id="245">245</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isString() {
+<a name="246" href="#246" id="246">246</a>     <strong class="jxr_keyword">return</strong> string;
+<a name="247" href="#247" id="247">247</a>   }
+<a name="248" href="#248" id="248">248</a> 
+<a name="249" href="#249" id="249">249</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="250" href="#250" id="250">250</a> <em class="jxr_javadoccomment">   * @param string</em>
+<a name="251" href="#251" id="251">251</a> <em class="jxr_javadoccomment">   *          the string to set</em>
+<a name="252" href="#252" id="252">252</a> <em class="jxr_javadoccomment">   */</em>
+<a name="253" href="#253" id="253">253</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setString(<strong class="jxr_keyword">boolean</strong> string) {
+<a name="254" href="#254" id="254">254</a>     <strong class="jxr_keyword">this</strong>.string = string;
+<a name="255" href="#255" id="255">255</a>   }
+<a name="256" href="#256" id="256">256</a> 
+<a name="257" href="#257" id="257">257</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="258" href="#258" id="258">258</a> <em class="jxr_javadoccomment">   * @param appendTableName</em>
+<a name="259" href="#259" id="259">259</a> <em class="jxr_javadoccomment">   *          determines whether the Mapping should append DB table name to</em>
+<a name="260" href="#260" id="260">260</a> <em class="jxr_javadoccomment">   *          field name when constructing queries, retrieving results from</em>
+<a name="261" href="#261" id="261">261</a> <em class="jxr_javadoccomment">   *          ResultSets, etc.</em>
+<a name="262" href="#262" id="262">262</a> <em class="jxr_javadoccomment">   */</em>
+<a name="263" href="#263" id="263">263</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> setAppendTableName(<strong class="jxr_keyword">boolean</strong> appendTableName) {
+<a name="264" href="#264" id="264">264</a>     <strong class="jxr_keyword">this</strong>.appendTableName = appendTableName;
+<a name="265" href="#265" id="265">265</a>   }
+<a name="266" href="#266" id="266">266</a> 
+<a name="267" href="#267" id="267">267</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> isAppendTableName() {
+<a name="268" href="#268" id="268">268</a>     <strong class="jxr_keyword">return</strong> appendTableName;
+<a name="269" href="#269" id="269">269</a>   }
+<a name="270" href="#270" id="270">270</a> }
+</pre>
+<hr /><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body></html>
\ No newline at end of file