incubator-graffito-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clomb...@apache.org
Subject svn commit: r448367 [11/13] - in /incubator/graffito/site/jcr-mapping: apidocs/org/apache/portals/graffito/jcr/mapper/model/ apidocs/org/apache/portals/graffito/jcr/mapper/model/class-use/ apidocs/org/apache/portals/graffito/jcr/persistence/ apidocs/or...
Date Wed, 20 Sep 2006 22:17:19 GMT
Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-frame.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-frame.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-frame.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,47 @@
+
+
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+  <html lang="en">
+    <head>
+      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+      <title>Graffito JCR Mapping 1.0-a1-dev Reference Package org.apache.portals.graffito.jcr.persistence.query</title>
+      <link rel="stylesheet" href="../../../../../../../stylesheet.css" type="text/css" title="style"></link>
+    </head>
+    <body>
+
+      <h3>
+        <a href="package-summary.html" target="classFrame">org.apache.portals.graffito.jcr.persistence.query</a>
+      </h3>
+
+      <h3>Classes</h3>
+
+      <ul>
+        
+          <li>
+            <a href="AllTests.html" target="classFrame">AllTests</a>
+          </li>
+        
+          <li>
+            <a href="PersistenceManagerAtomicQueryTest.html" target="classFrame">PersistenceManagerAtomicQueryTest</a>
+          </li>
+        
+          <li>
+            <a href="PersistenceManagerIteratorQueryTest.html" target="classFrame">PersistenceManagerIteratorQueryTest</a>
+          </li>
+        
+          <li>
+            <a href="PersistenceManagerMultiValueQueryTest.html" target="classFrame">PersistenceManagerMultiValueQueryTest</a>
+          </li>
+        
+          <li>
+            <a href="PersistenceManagerScopeQueryTest.html" target="classFrame">PersistenceManagerScopeQueryTest</a>
+          </li>
+        
+          <li>
+            <a href="PersistenceManagerSimpleQueryTest.html" target="classFrame">PersistenceManagerSimpleQueryTest</a>
+          </li>
+        
+      </ul>
+
+    </body>
+  </html>

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-summary.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-summary.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/query/package-summary.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,132 @@
+
+
+  
+
+  
+    
+
+    
+
+    
+
+  
+      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+      <html lang="en">
+        <head>
+          <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+          <title>Graffito JCR Mapping 1.0-a1-dev Reference Package </title>
+          <link rel="stylesheet" href="../../../../../../../stylesheet.css" type="text/css" title="style"></link>
+        </head>
+        <body>
+
+          
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../../../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../../../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+      
+      <h2>Package org.apache.portals.graffito.jcr.persistence.query</h2>
+
+      <table class="summary">
+        <thead>
+          <tr>
+            <th>Class Summary</th>
+          </tr>
+        </thead>
+
+        <tbody>
+          
+            <tr>
+              <td>
+                <a href="AllTests.html" target="classFrame">AllTests</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="PersistenceManagerAtomicQueryTest.html" target="classFrame">PersistenceManagerAtomicQueryTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="PersistenceManagerIteratorQueryTest.html" target="classFrame">PersistenceManagerIteratorQueryTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="PersistenceManagerMultiValueQueryTest.html" target="classFrame">PersistenceManagerMultiValueQueryTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="PersistenceManagerScopeQueryTest.html" target="classFrame">PersistenceManagerScopeQueryTest</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="PersistenceManagerSimpleQueryTest.html" target="classFrame">PersistenceManagerSimpleQueryTest</a>
+              </td>
+            </tr>
+          
+        </tbody>
+      </table>
+
+    
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../../../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../../../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+    
+
+          <hr></hr>
+
+          Copyright &copy; 2004-2006 The Apache Software Foundation. All Rights Reserved.
+        </body>
+      </html>
+    

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/AllTests.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/AllTests.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/AllTests.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/AllTests.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,59 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AllTests xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*<em class="comment"> ========================================================================</em></em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2004 The Apache Software Foundation</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> *</em>
+<a name="8" href="#8">8</a>   <em class="comment"> *     <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="9" href="#9">9</a>   <em class="comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * ========================================================================</em>
+<a name="16" href="#16">16</a>  <em class="comment"> */</em>
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/persistence/version/package-summary.html">org.apache.portals.graffito.jcr.persistence.version</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+<a name="20" href="#20">20</a>  
+<a name="21" href="#21">21</a>  <strong>import</strong> junit.framework.Test;
+<a name="22" href="#22">22</a>  <strong>import</strong> junit.framework.TestSuite;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <em>/**<em>*</em></em>
+<a name="26" href="#26">26</a>  <em> * Package level tests.</em>
+<a name="27" href="#27">27</a>  <em> * </em>
+<a name="28" href="#28">28</a>  <em> * @author &lt;a href='<a href="mailto:the_mindstorm" target="alexandria_uri">mailto:the_mindstorm</a>[at]evolva[dot]ro'>Alexandru Popescu&lt;/a></em>
+<a name="29" href="#29">29</a>  <em> */</em>
+<a name="30" href="#30">30</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/AllTests.html">AllTests</a> {
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>      <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="33" href="#33">33</a>          <strong>return</strong> <strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.html">RepositoryLifecycleTestSetup</a>(buildSuite());
+<a name="34" href="#34">34</a>      }
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>      <strong>public</strong> <strong>static</strong> Test buildSuite() {
+<a name="37" href="#37">37</a>          TestSuite suite= <strong>new</strong> TestSuite(<span class="string">"Test for org.apache.portals.graffito.jcr.persistence.version"</span>);
+<a name="38" href="#38">38</a>          <em class="comment">//$JUnit-BEGIN$</em>
+<a name="39" href="#39">39</a>          suite.addTestSuite(PersistenceManagerBasicVersionningTest.<strong>class</strong>);
+<a name="40" href="#40">40</a>         
+<a name="41" href="#41">41</a>          
+<a name="42" href="#42">42</a>          <em class="comment">//$JUnit-END$</em>
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>          <strong>return</strong> suite;
+<a name="45" href="#45">45</a>      }
+<a name="46" href="#46">46</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,178 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>PersistenceManagerBasicVersionningTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <strong>package</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/persistence/version/package-summary.html">org.apache.portals.graffito.jcr.persistence.version</a>;
+<a name="2" href="#2">2</a>   
+<a name="3" href="#3">3</a>   
+<a name="4" href="#4">4</a>   <strong>import</strong> java.util.Date;
+<a name="5" href="#5">5</a>   
+<a name="6" href="#6">6</a>   <strong>import</strong> junit.framework.Test;
+<a name="7" href="#7">7</a>   <strong>import</strong> junit.framework.TestSuite;
+<a name="8" href="#8">8</a>   
+<a name="9" href="#9">9</a>   <strong>import</strong> org.apache.commons.logging.Log;
+<a name="10" href="#10">10</a>  <strong>import</strong> org.apache.commons.logging.LogFactory;
+<a name="11" href="#11">11</a>  <strong>import</strong> org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+<a name="12" href="#12">12</a>  <strong>import</strong> org.apache.portals.graffito.jcr.TestBase;
+<a name="13" href="#13">13</a>  <strong>import</strong> org.apache.portals.graffito.jcr.persistence.PersistenceManager;
+<a name="14" href="#14">14</a>  <strong>import</strong> org.apache.portals.graffito.jcr.testmodel.Page;
+<a name="15" href="#15">15</a>  <strong>import</strong> org.apache.portals.graffito.jcr.testmodel.Paragraph;
+<a name="16" href="#16">16</a>  <strong>import</strong> org.apache.portals.graffito.jcr.version.Version;
+<a name="17" href="#17">17</a>  <strong>import</strong> org.apache.portals.graffito.jcr.version.VersionIterator;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <em>/**<em>*</em></em>
+<a name="20" href="#20">20</a>  <em> * Test Query on atomic fields</em>
+<a name="21" href="#21">21</a>  <em> *</em>
+<a name="22" href="#22">22</a>  <em> * @author &lt;a href="<a href="mailto:christophe.lombart@sword-technologies.com" target="alexandria_uri">mailto:christophe.lombart@sword-technologies.com</a>">Christophe Lombart&lt;/a></em>
+<a name="23" href="#23">23</a>  <em> */</em>
+<a name="24" href="#24">24</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.html">PersistenceManagerBasicVersionningTest</a> <strong>extends</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/TestBase.html">TestBase</a>
+<a name="25" href="#25">25</a>  {
+<a name="26" href="#26">26</a>  	<strong>private</strong> <strong>final</strong> <strong>static</strong> Log log = LogFactory.getLog(PersistenceManagerBasicVersionningTest.<strong>class</strong>);
+<a name="27" href="#27">27</a>  	<strong>private</strong> Date date = <strong>new</strong> Date();
+<a name="28" href="#28">28</a>  	
+<a name="29" href="#29">29</a>  	<em>/**<em>*</em></em>
+<a name="30" href="#30">30</a>  <em>	 * &lt;p>Defines the test case name for junit.&lt;/p></em>
+<a name="31" href="#31">31</a>  <em>	 * @param testName The test case name.</em>
+<a name="32" href="#32">32</a>  <em>	 */</em>
+<a name="33" href="#33">33</a>  	<strong>public</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/persistence/version/PersistenceManagerBasicVersionningTest.html">PersistenceManagerBasicVersionningTest</a>(String testName) throws Exception
+<a name="34" href="#34">34</a>  	{
+<a name="35" href="#35">35</a>  		<strong>super</strong>(testName);
+<a name="36" href="#36">36</a>  		
+<a name="37" href="#37">37</a>  	}
+<a name="38" href="#38">38</a>  
+<a name="39" href="#39">39</a>  	<strong>public</strong> <strong>static</strong> Test suite()
+<a name="40" href="#40">40</a>  	{
+<a name="41" href="#41">41</a>  		<em class="comment">// All methods starting with "test" will be executed in the test suite.</em>
+<a name="42" href="#42">42</a>  		<strong>return</strong> <strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.html">RepositoryLifecycleTestSetup</a>(
+<a name="43" href="#43">43</a>                  <strong>new</strong> TestSuite(PersistenceManagerBasicVersionningTest.<strong>class</strong>));
+<a name="44" href="#44">44</a>  	}
+<a name="45" href="#45">45</a>  
+<a name="46" href="#46">46</a>      <strong>public</strong> <strong>void</strong> tearDown() throws Exception
+<a name="47" href="#47">47</a>      {
+<a name="48" href="#48">48</a>      	PersistenceManager persistenceManager = getPersistenceManager();
+<a name="49" href="#49">49</a>  	    persistenceManager.remove(<span class="string">"/page"</span>);
+<a name="50" href="#50">50</a>      	persistenceManager.save();
+<a name="51" href="#51">51</a>         
+<a name="52" href="#52">52</a>          <strong>super</strong>.tearDown();
+<a name="53" href="#53">53</a>      }	
+<a name="54" href="#54">54</a>  
+<a name="55" href="#55">55</a>  	<strong>public</strong> <strong>void</strong> testSimpleVersion()
+<a name="56" href="#56">56</a>  	{
+<a name="57" href="#57">57</a>  		     PersistenceManager persistenceManager = getPersistenceManager();
+<a name="58" href="#58">58</a>               <strong>try</strong>
+<a name="59" href="#59">59</a>               {
+<a name="60" href="#60">60</a>              	 
+<a name="61" href="#61">61</a>              	 <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Page.html">Page</a> page = <strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Page.html">Page</a>();
+<a name="62" href="#62">62</a>              	 page.setPath(<span class="string">"/page"</span>);
+<a name="63" href="#63">63</a>              	 page.setTitle(<span class="string">"Page Title"</span>);            	 
+<a name="64" href="#64">64</a>              	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para1"</span>));
+<a name="65" href="#65">65</a>              	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para2"</span>));
+<a name="66" href="#66">66</a>              	 persistenceManager.insert(page);
+<a name="67" href="#67">67</a>              	 persistenceManager.save();
+<a name="68" href="#68">68</a>              	 
+<a name="69" href="#69">69</a>                   
+<a name="70" href="#70">70</a>              	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para3"</span>));
+<a name="71" href="#71">71</a>              	 persistenceManager.checkout(<span class="string">"/page"</span>);
+<a name="72" href="#72">72</a>              	 persistenceManager.update(page);
+<a name="73" href="#73">73</a>              	 persistenceManager.save();
+<a name="74" href="#74">74</a>              	 persistenceManager.checkin(<span class="string">"/page"</span>);
+<a name="75" href="#75">75</a>              	 
+<a name="76" href="#76">76</a>              	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para4"</span>));
+<a name="77" href="#77">77</a>              	 persistenceManager.checkout(<span class="string">"/page"</span>);
+<a name="78" href="#78">78</a>              	 persistenceManager.update(page);
+<a name="79" href="#79">79</a>              	 persistenceManager.save();
+<a name="80" href="#80">80</a>              	 persistenceManager.checkin(<span class="string">"/page"</span>);            	 
+<a name="81" href="#81">81</a>  
+<a name="82" href="#82">82</a>              	 VersionIterator versionIterator = persistenceManager.getAllVersions(<span class="string">"/page"</span>);
+<a name="83" href="#83">83</a>              	 assertNotNull(<span class="string">"VersionIterator is null"</span>, versionIterator);
+<a name="84" href="#84">84</a>              	 assertTrue(<span class="string">"Invalid number of versions found"</span>, versionIterator.getSize() == 3);
+<a name="85" href="#85">85</a>              	 
+<a name="86" href="#86">86</a>              	 <strong>while</strong> (versionIterator.hasNext())
+<a name="87" href="#87">87</a>              	 {
+<a name="88" href="#88">88</a>              		 Version version = (Version) versionIterator.next();
+<a name="89" href="#89">89</a>              		 log.info(<span class="string">"version found : "</span> + version.getPath() + <span class="string">" - "</span> +  version.getCreated().getTime());
+<a name="90" href="#90">90</a>              		 
+<a name="91" href="#91">91</a>              	 }
+<a name="92" href="#92">92</a>              	 
+<a name="93" href="#93">93</a>              	 Version baseVersion = persistenceManager.getBaseVersion(<span class="string">"/page"</span>);
+<a name="94" href="#94">94</a>              	 System.out.println(<span class="string">"Base version : "</span> + baseVersion.getName());
+<a name="95" href="#95">95</a>  
+<a name="96" href="#96">96</a>              	 Version rootVersion = persistenceManager.getRootVersion(<span class="string">"/page"</span>);
+<a name="97" href="#97">97</a>              	 System.out.println(<span class="string">"Root version : "</span> + rootVersion.getName());
+<a name="98" href="#98">98</a>              	 <em class="comment">//this.exportDocument("/home/christophe/export.xml", "/jcr:system/jcr:versionStorage", true, false);</em>
+<a name="99" href="#99">99</a>              	             	
+<a name="100" href="#100">100</a>              <em class="comment">//Get the lasted version </em>
+<a name="101" href="#101">101</a>             	 page = (Page) persistenceManager.getObject( <span class="string">"/page"</span>);
+<a name="102" href="#102">102</a>             	 assertNotNull(<span class="string">"Last version is nulll"</span>, page);
+<a name="103" href="#103">103</a>             	 assertTrue(<span class="string">"Invalid number of paragraph found in the last  version"</span>, page.getParagraphs().size() == 4);
+<a name="104" href="#104">104</a> 
+<a name="105" href="#105">105</a>             	 
+<a name="106" href="#106">106</a>             	 <em class="comment">//Get the object matching to the first version </em>
+<a name="107" href="#107">107</a>             <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Page.html">Page</a>  page1 = (Page) persistenceManager.getObject( <span class="string">"/page"</span>, <span class="string">"1.0"</span>);
+<a name="108" href="#108">108</a>             	 assertNotNull(<span class="string">"version 1.0 object is null"</span>, page1);
+<a name="109" href="#109">109</a>             	 assertTrue(<span class="string">"Invalid number of paragraph found in the root version"</span>, page1.getParagraphs().size() == 3);
+<a name="110" href="#110">110</a> 
+<a name="111" href="#111">111</a>              }
+<a name="112" href="#112">112</a>              <strong>catch</strong>(Exception e)
+<a name="113" href="#113">113</a>              {
+<a name="114" href="#114">114</a>             	 e.printStackTrace();
+<a name="115" href="#115">115</a>             	 fail(e.getMessage());
+<a name="116" href="#116">116</a>             	 
+<a name="117" href="#117">117</a>              }
+<a name="118" href="#118">118</a> 	}
+<a name="119" href="#119">119</a> 
+<a name="120" href="#120">120</a> 	
+<a name="121" href="#121">121</a> 	<strong>public</strong> <strong>void</strong> testVersionLabels()
+<a name="122" href="#122">122</a> 	{
+<a name="123" href="#123">123</a> 		     PersistenceManager persistenceManager = getPersistenceManager();
+<a name="124" href="#124">124</a>              <strong>try</strong>
+<a name="125" href="#125">125</a>              {
+<a name="126" href="#126">126</a>             	 
+<a name="127" href="#127">127</a>             	 <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Page.html">Page</a> page = <strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Page.html">Page</a>();
+<a name="128" href="#128">128</a>             	 page.setPath(<span class="string">"/page"</span>);
+<a name="129" href="#129">129</a>             	 page.setTitle(<span class="string">"Page Title"</span>);            	 
+<a name="130" href="#130">130</a>             	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para1"</span>));
+<a name="131" href="#131">131</a>             	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para2"</span>));
+<a name="132" href="#132">132</a>             	 persistenceManager.insert(page);
+<a name="133" href="#133">133</a>             	 persistenceManager.save();
+<a name="134" href="#134">134</a>             	 
+<a name="135" href="#135">135</a>                  
+<a name="136" href="#136">136</a>             	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para3"</span>));
+<a name="137" href="#137">137</a>             	 persistenceManager.checkout(<span class="string">"/page"</span>);
+<a name="138" href="#138">138</a>             	 persistenceManager.update(page);
+<a name="139" href="#139">139</a>             	 persistenceManager.save();
+<a name="140" href="#140">140</a>             	 persistenceManager.checkin(<span class="string">"/page"</span>, <strong>new</strong> String[] {<span class="string">"A"</span>, <span class="string">"B"</span>});
+<a name="141" href="#141">141</a>             	 
+<a name="142" href="#142">142</a>             	 page.addParagraph(<strong>new</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/Paragraph.html">Paragraph</a>(<span class="string">"para4"</span>));
+<a name="143" href="#143">143</a>             	 persistenceManager.checkout(<span class="string">"/page"</span>);
+<a name="144" href="#144">144</a>             	 persistenceManager.update(page);
+<a name="145" href="#145">145</a>             	 persistenceManager.save();
+<a name="146" href="#146">146</a>             	 persistenceManager.checkin(<span class="string">"/page"</span>, <strong>new</strong> String[] {<span class="string">"C"</span>, <span class="string">"D"</span>});         	 
+<a name="147" href="#147">147</a> 
+<a name="148" href="#148">148</a>             	 String[] allLabels = persistenceManager.getAllVersionLabels(<span class="string">"/page"</span>);
+<a name="149" href="#149">149</a>             	 assertTrue(<span class="string">"Incorrect number of labels"</span>, allLabels.length == 4);
+<a name="150" href="#150">150</a> 
+<a name="151" href="#151">151</a>             	 String[] versionLabels = persistenceManager.getVersionLabels(<span class="string">"/page"</span>, <span class="string">"1.1"</span>);
+<a name="152" href="#152">152</a>             	 assertTrue(<span class="string">"Incorrect number of labels"</span>, versionLabels.length == 2);
+<a name="153" href="#153">153</a>             	 assertTrue(<span class="string">"Incorrect label"</span>, versionLabels[0].equals(<span class="string">"C"</span>) || versionLabels[0].equals(<span class="string">"D"</span>));
+<a name="154" href="#154">154</a>             	 assertTrue(<span class="string">"Incorrect label"</span>, versionLabels[1].equals(<span class="string">"C"</span>) || versionLabels[0].equals(<span class="string">"D"</span>));
+<a name="155" href="#155">155</a>             	
+<a name="156" href="#156">156</a> 
+<a name="157" href="#157">157</a>              }
+<a name="158" href="#158">158</a>              <strong>catch</strong>(Exception e)
+<a name="159" href="#159">159</a>              {
+<a name="160" href="#160">160</a>             	 e.printStackTrace();
+<a name="161" href="#161">161</a>             	 fail(); 
+<a name="162" href="#162">162</a>              }
+<a name="163" href="#163">163</a> 	}
+<a name="164" href="#164">164</a> 	
+<a name="165" href="#165">165</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-frame.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-frame.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-frame.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,31 @@
+
+
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+  <html lang="en">
+    <head>
+      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+      <title>Graffito JCR Mapping 1.0-a1-dev Reference Package org.apache.portals.graffito.jcr.persistence.version</title>
+      <link rel="stylesheet" href="../../../../../../../stylesheet.css" type="text/css" title="style"></link>
+    </head>
+    <body>
+
+      <h3>
+        <a href="package-summary.html" target="classFrame">org.apache.portals.graffito.jcr.persistence.version</a>
+      </h3>
+
+      <h3>Classes</h3>
+
+      <ul>
+        
+          <li>
+            <a href="AllTests.html" target="classFrame">AllTests</a>
+          </li>
+        
+          <li>
+            <a href="PersistenceManagerBasicVersionningTest.html" target="classFrame">PersistenceManagerBasicVersionningTest</a>
+          </li>
+        
+      </ul>
+
+    </body>
+  </html>

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-summary.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-summary.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/persistence/version/package-summary.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,108 @@
+
+
+  
+
+  
+    
+
+    
+
+    
+
+  
+      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+      <html lang="en">
+        <head>
+          <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+          <title>Graffito JCR Mapping 1.0-a1-dev Reference Package </title>
+          <link rel="stylesheet" href="../../../../../../../stylesheet.css" type="text/css" title="style"></link>
+        </head>
+        <body>
+
+          
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../../../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../../../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+      
+      <h2>Package org.apache.portals.graffito.jcr.persistence.version</h2>
+
+      <table class="summary">
+        <thead>
+          <tr>
+            <th>Class Summary</th>
+          </tr>
+        </thead>
+
+        <tbody>
+          
+            <tr>
+              <td>
+                <a href="AllTests.html" target="classFrame">AllTests</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="PersistenceManagerBasicVersionningTest.html" target="classFrame">PersistenceManagerBasicVersionningTest</a>
+              </td>
+            </tr>
+          
+        </tbody>
+      </table>
+
+    
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../../../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../../../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+    
+
+          <hr></hr>
+
+          Copyright &copy; 2004-2006 The Apache Software Foundation. All Rights Reserved.
+        </body>
+      </html>
+    

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/AllTests.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/AllTests.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/AllTests.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/AllTests.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,59 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AllTests xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*<em class="comment"> ========================================================================</em></em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2004 The Apache Software Foundation</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> *</em>
+<a name="8" href="#8">8</a>   <em class="comment"> *     <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="9" href="#9">9</a>   <em class="comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * ========================================================================</em>
+<a name="16" href="#16">16</a>  <em class="comment"> */</em>
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/querymanager/package-summary.html">org.apache.portals.graffito.jcr.querymanager</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+<a name="20" href="#20">20</a>  
+<a name="21" href="#21">21</a>  <strong>import</strong> junit.framework.Test;
+<a name="22" href="#22">22</a>  <strong>import</strong> junit.framework.TestSuite;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <em>/**<em>*</em></em>
+<a name="26" href="#26">26</a>  <em> * Package level tests.</em>
+<a name="27" href="#27">27</a>  <em> * </em>
+<a name="28" href="#28">28</a>  <em> * @author &lt;a href='<a href="mailto:the_mindstorm" target="alexandria_uri">mailto:the_mindstorm</a>[at]evolva[dot]ro'>Alexandru Popescu&lt;/a></em>
+<a name="29" href="#29">29</a>  <em> */</em>
+<a name="30" href="#30">30</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/AllTests.html">AllTests</a> {
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>      <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="33" href="#33">33</a>          <strong>return</strong> <strong>new</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.html">RepositoryLifecycleTestSetup</a>(buildSuite());
+<a name="34" href="#34">34</a>      }
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>      <strong>public</strong> <strong>static</strong> Test buildSuite() {
+<a name="37" href="#37">37</a>          TestSuite suite= <strong>new</strong> TestSuite(<span class="string">"Test for org.apache.portals.graffito.jcr.querymanager"</span>);
+<a name="38" href="#38">38</a>          <em class="comment">//$JUnit-BEGIN$</em>
+<a name="39" href="#39">39</a>          suite.addTestSuite(QueryManagerTest.<strong>class</strong>);
+<a name="40" href="#40">40</a>         
+<a name="41" href="#41">41</a>          
+<a name="42" href="#42">42</a>          <em class="comment">//$JUnit-END$</em>
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>          <strong>return</strong> suite;
+<a name="45" href="#45">45</a>      }
+<a name="46" href="#46">46</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/QueryManagerTest.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/QueryManagerTest.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/QueryManagerTest.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/QueryManagerTest.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,117 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>QueryManagerTest xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*<em class="comment"> ========================================================================</em></em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2004 The Apache Software Foundation</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> *</em>
+<a name="8" href="#8">8</a>   <em class="comment"> *     <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="9" href="#9">9</a>   <em class="comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * ========================================================================</em>
+<a name="16" href="#16">16</a>  <em class="comment"> */</em>
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/querymanager/package-summary.html">org.apache.portals.graffito.jcr.querymanager</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> junit.framework.Test;
+<a name="20" href="#20">20</a>  <strong>import</strong> junit.framework.TestSuite;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  <strong>import</strong> org.apache.commons.logging.Log;
+<a name="23" href="#23">23</a>  <strong>import</strong> org.apache.commons.logging.LogFactory;
+<a name="24" href="#24">24</a>  <strong>import</strong> org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+<a name="25" href="#25">25</a>  <strong>import</strong> org.apache.portals.graffito.jcr.TestBase;
+<a name="26" href="#26">26</a>  <strong>import</strong> org.apache.portals.graffito.jcr.query.Filter;
+<a name="27" href="#27">27</a>  <strong>import</strong> org.apache.portals.graffito.jcr.query.Query;
+<a name="28" href="#28">28</a>  <strong>import</strong> org.apache.portals.graffito.jcr.query.QueryManager;
+<a name="29" href="#29">29</a>  <strong>import</strong> org.apache.portals.graffito.jcr.testmodel.C;
+<a name="30" href="#30">30</a>  
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>  <em>/**<em>*</em></em>
+<a name="33" href="#33">33</a>  <em> * Test QueryManagerImpl methods</em>
+<a name="34" href="#34">34</a>  <em> *</em>
+<a name="35" href="#35">35</a>  <em> * @author &lt;a href="<a href="mailto:christophe.lombart@sword-technologies.com" target="alexandria_uri">mailto:christophe.lombart@sword-technologies.com</a>">Christophe Lombart&lt;/a></em>
+<a name="36" href="#36">36</a>  <em> */</em>
+<a name="37" href="#37">37</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/querymanager/QueryManagerTest.html">QueryManagerTest</a> <strong>extends</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/TestBase.html">TestBase</a>
+<a name="38" href="#38">38</a>  {
+<a name="39" href="#39">39</a>      <strong>private</strong> <strong>final</strong> <strong>static</strong> Log log = LogFactory.getLog(QueryManagerTest.<strong>class</strong>);
+<a name="40" href="#40">40</a>  
+<a name="41" href="#41">41</a>      <em>/**<em>*</em></em>
+<a name="42" href="#42">42</a>  <em>     * &lt;p>Defines the test case name for junit.&lt;/p></em>
+<a name="43" href="#43">43</a>  <em>     * @param testName The test case name.</em>
+<a name="44" href="#44">44</a>  <em>     */</em>
+<a name="45" href="#45">45</a>      <strong>public</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/querymanager/QueryManagerTest.html">QueryManagerTest</a>(String testName)  throws Exception
+<a name="46" href="#46">46</a>      {
+<a name="47" href="#47">47</a>          <strong>super</strong>(testName);
+<a name="48" href="#48">48</a>      }
+<a name="49" href="#49">49</a>  
+<a name="50" href="#50">50</a>      <strong>public</strong> <strong>static</strong> Test suite()
+<a name="51" href="#51">51</a>      {
+<a name="52" href="#52">52</a>          <em class="comment">// All methods starting with "test" will be executed in the test suite.</em>
+<a name="53" href="#53">53</a>          <strong>return</strong> <strong>new</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.html">RepositoryLifecycleTestSetup</a>(
+<a name="54" href="#54">54</a>                  <strong>new</strong> TestSuite(QueryManagerTest.<strong>class</strong>));
+<a name="55" href="#55">55</a>      }
+<a name="56" href="#56">56</a>  
+<a name="57" href="#57">57</a>      <strong>public</strong> <strong>void</strong> testBuildExpression1()
+<a name="58" href="#58">58</a>      {
+<a name="59" href="#59">59</a>      	<strong>try</strong>
+<a name="60" href="#60">60</a>      	{
+<a name="61" href="#61">61</a>      	      QueryManager queryManager = <strong>this</strong>.getQueryManager();
+<a name="62" href="#62">62</a>      	      Filter filter = queryManager.createFilter(C.<strong>class</strong>);
+<a name="63" href="#63">63</a>      	      filter.addEqualTo(<span class="string">"name"</span>, <span class="string">"a test value"</span>)
+<a name="64" href="#64">64</a>                      .addEqualTo(<span class="string">"id"</span>, <strong>new</strong> Integer(1));
+<a name="65" href="#65">65</a>      	      filter.setScope(<span class="string">"/test//"</span>);
+<a name="66" href="#66">66</a>      	      
+<a name="67" href="#67">67</a>      	      Query query = queryManager.createQuery(filter);
+<a name="68" href="#68">68</a>      	      String jcrExpression = queryManager.buildJCRExpression(query);
+<a name="69" href="#69">69</a>      	      assertNotNull(<span class="string">"jcrExpression is null"</span>, jcrExpression);
+<a name="70" href="#70">70</a>      	      assertTrue(<span class="string">"Invalid JcrExpression"</span>, jcrExpression.equals(<span class="string">"/jcr:root/test//element(*, graffito:C) [@graffito:name = 'a test value' and @graffito:id = 1]"</span>));
+<a name="71" href="#71">71</a>          }
+<a name="72" href="#72">72</a>          <strong>catch</strong> (Exception e)
+<a name="73" href="#73">73</a>          {
+<a name="74" href="#74">74</a>              e.printStackTrace();
+<a name="75" href="#75">75</a>              fail(<span class="string">"Exception occurs during the unit test : "</span> + e);
+<a name="76" href="#76">76</a>          }
+<a name="77" href="#77">77</a>          
+<a name="78" href="#78">78</a>      }
+<a name="79" href="#79">79</a>  
+<a name="80" href="#80">80</a>      <strong>public</strong> <strong>void</strong> testBuildExpression2()
+<a name="81" href="#81">81</a>      {
+<a name="82" href="#82">82</a>  
+<a name="83" href="#83">83</a>      	<strong>try</strong>
+<a name="84" href="#84">84</a>      	{
+<a name="85" href="#85">85</a>      	      QueryManager queryManager = <strong>this</strong>.getQueryManager();
+<a name="86" href="#86">86</a>      	      Filter filter = queryManager.createFilter(C.<strong>class</strong>);
+<a name="87" href="#87">87</a>      	      filter.addEqualTo(<span class="string">"name"</span>, <span class="string">"a test value"</span>)
+<a name="88" href="#88">88</a>      	            .addEqualTo(<span class="string">"id"</span>, <strong>new</strong> Integer(1));
+<a name="89" href="#89">89</a>      	      
+<a name="90" href="#90">90</a>      	      Query query = queryManager.createQuery(filter);
+<a name="91" href="#91">91</a>      	      String jcrExpression = queryManager.buildJCRExpression(query);
+<a name="92" href="#92">92</a>      	      assertNotNull(<span class="string">"jcrExpression is null"</span>, jcrExpression);
+<a name="93" href="#93">93</a>      	      assertTrue(<span class="string">"Invalid JcrExpression"</span>, jcrExpression.equals(<span class="string">"//element(*, graffito:C) [@graffito:name = 'a test value' and @graffito:id = 1]"</span>));
+<a name="94" href="#94">94</a>          }
+<a name="95" href="#95">95</a>          <strong>catch</strong> (Exception e)
+<a name="96" href="#96">96</a>          {
+<a name="97" href="#97">97</a>              e.printStackTrace();
+<a name="98" href="#98">98</a>              fail(<span class="string">"Exception occurs during the unit test : "</span> + e);
+<a name="99" href="#99">99</a>          }
+<a name="100" href="#100">100</a>         
+<a name="101" href="#101">101</a>     }
+<a name="102" href="#102">102</a>     
+<a name="103" href="#103">103</a> 
+<a name="104" href="#104">104</a> }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-frame.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-frame.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-frame.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,31 @@
+
+
+  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+  <html lang="en">
+    <head>
+      <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+      <title>Graffito JCR Mapping 1.0-a1-dev Reference Package org.apache.portals.graffito.jcr.querymanager</title>
+      <link rel="stylesheet" href="../../../../../../stylesheet.css" type="text/css" title="style"></link>
+    </head>
+    <body>
+
+      <h3>
+        <a href="package-summary.html" target="classFrame">org.apache.portals.graffito.jcr.querymanager</a>
+      </h3>
+
+      <h3>Classes</h3>
+
+      <ul>
+        
+          <li>
+            <a href="AllTests.html" target="classFrame">AllTests</a>
+          </li>
+        
+          <li>
+            <a href="QueryManagerTest.html" target="classFrame">QueryManagerTest</a>
+          </li>
+        
+      </ul>
+
+    </body>
+  </html>

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-summary.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-summary.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/querymanager/package-summary.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,108 @@
+
+
+  
+
+  
+    
+
+    
+
+    
+
+  
+      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
+      <html lang="en">
+        <head>
+          <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"></meta>
+          <title>Graffito JCR Mapping 1.0-a1-dev Reference Package </title>
+          <link rel="stylesheet" href="../../../../../../stylesheet.css" type="text/css" title="style"></link>
+        </head>
+        <body>
+
+          
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+      
+      <h2>Package org.apache.portals.graffito.jcr.querymanager</h2>
+
+      <table class="summary">
+        <thead>
+          <tr>
+            <th>Class Summary</th>
+          </tr>
+        </thead>
+
+        <tbody>
+          
+            <tr>
+              <td>
+                <a href="AllTests.html" target="classFrame">AllTests</a>
+              </td>
+            </tr>
+          
+            <tr>
+              <td>
+                <a href="QueryManagerTest.html" target="classFrame">QueryManagerTest</a>
+              </td>
+            </tr>
+          
+        </tbody>
+      </table>
+
+    
+      
+      
+
+      <div class="overview">
+        <ul>
+          <li>
+            <a href="../../../../../../overview-summary.html">Overview</a>
+          </li>
+          <li class="selected">Package</li>
+        </ul>
+      </div>
+      <div class="framenoframe">
+        <ul>
+          <li>
+            <a href="../../../../../../index.html" target="_top">FRAMES</a>
+          </li>
+          <li>
+            <a href="package-summary.html" target="_top">NO FRAMES</a>
+          </li>
+        </ul>
+      </div>
+
+      
+
+    
+    
+
+          <hr></hr>
+
+          Copyright &copy; 2004-2006 The Apache Software Foundation. All Rights Reserved.
+        </body>
+      </html>
+    

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/repository/AllTests.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/repository/AllTests.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/repository/AllTests.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/repository/AllTests.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,59 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AllTests xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*<em class="comment"> ========================================================================</em></em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2004 The Apache Software Foundation</em>
+<a name="3" href="#3">3</a>   <em class="comment"> *</em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> *</em>
+<a name="8" href="#8">8</a>   <em class="comment"> *     <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="9" href="#9">9</a>   <em class="comment"> *</em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> * ========================================================================</em>
+<a name="16" href="#16">16</a>  <em class="comment"> */</em>
+<a name="17" href="#17">17</a>  <strong>package</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/repository/package-summary.html">org.apache.portals.graffito.jcr.repository</a>;
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <strong>import</strong> org.apache.portals.graffito.jcr.RepositoryLifecycleTestSetup;
+<a name="20" href="#20">20</a>  
+<a name="21" href="#21">21</a>  <strong>import</strong> junit.framework.Test;
+<a name="22" href="#22">22</a>  <strong>import</strong> junit.framework.TestSuite;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  
+<a name="25" href="#25">25</a>  <em>/**<em>*</em></em>
+<a name="26" href="#26">26</a>  <em> * Package level tests.</em>
+<a name="27" href="#27">27</a>  <em> * </em>
+<a name="28" href="#28">28</a>  <em> * @author &lt;a href='<a href="mailto:the_mindstorm" target="alexandria_uri">mailto:the_mindstorm</a>[at]evolva[dot]ro'>Alexandru Popescu&lt;/a></em>
+<a name="29" href="#29">29</a>  <em> */</em>
+<a name="30" href="#30">30</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/AllTests.html">AllTests</a> {
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>      <strong>public</strong> <strong>static</strong> Test suite() {
+<a name="33" href="#33">33</a>          <strong>return</strong> <strong>new</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/RepositoryLifecycleTestSetup.html">RepositoryLifecycleTestSetup</a>(buildSuite());
+<a name="34" href="#34">34</a>      }
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>      <strong>public</strong> <strong>static</strong> Test buildSuite() {
+<a name="37" href="#37">37</a>          TestSuite suite= <strong>new</strong> TestSuite(<span class="string">"Test for org.apache.portals.graffito.jcr.repository"</span>);
+<a name="38" href="#38">38</a>          <em class="comment">//$JUnit-BEGIN$</em>
+<a name="39" href="#39">39</a>          suite.addTestSuite(RepositoryUtilTest.<strong>class</strong>);
+<a name="40" href="#40">40</a>         
+<a name="41" href="#41">41</a>          
+<a name="42" href="#42">42</a>          <em class="comment">//$JUnit-END$</em>
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>          <strong>return</strong> suite;
+<a name="45" href="#45">45</a>      }
+<a name="46" href="#46">46</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/Discriminator.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/Discriminator.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/Discriminator.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/Discriminator.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,53 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>Discriminator xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2000-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <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="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em>
+<a name="16" href="#16">16</a>  <strong>package</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/testmodel/package-summary.html">org.apache.portals.graffito.jcr.testmodel</a>;
+<a name="17" href="#17">17</a>  
+<a name="18" href="#18">18</a>  
+<a name="19" href="#19">19</a>  <em>/**<em>*</em></em>
+<a name="20" href="#20">20</a>  <em> * @author &lt;a href='<a href="mailto:christophe.lombart@gmail.com'" target="alexandria_uri">mailto:christophe.lombart@gmail.com'</a>>Christophe Lombart&lt;/a></em>
+<a name="21" href="#21">21</a>  <em> */</em>
+<a name="22" href="#22">22</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../org/apache/portals/graffito/jcr/testmodel/Discriminator.html">Discriminator</a> {
+<a name="23" href="#23">23</a>      <strong>private</strong> String path;
+<a name="24" href="#24">24</a>      <strong>private</strong> String content;
+<a name="25" href="#25">25</a>  	<strong>public</strong> String getContent() {
+<a name="26" href="#26">26</a>  		<strong>return</strong> content;
+<a name="27" href="#27">27</a>  	}
+<a name="28" href="#28">28</a>  	<strong>public</strong> <strong>void</strong> setContent(String content) {
+<a name="29" href="#29">29</a>  		<strong>this</strong>.content = content;
+<a name="30" href="#30">30</a>  	}
+<a name="31" href="#31">31</a>  	<strong>public</strong> String getPath() {
+<a name="32" href="#32">32</a>  		<strong>return</strong> path;
+<a name="33" href="#33">33</a>  	}
+<a name="34" href="#34">34</a>  	<strong>public</strong> <strong>void</strong> setPath(String path) {
+<a name="35" href="#35">35</a>  		<strong>this</strong>.path = path;
+<a name="36" href="#36">36</a>  	}
+<a name="37" href="#37">37</a>      
+<a name="38" href="#38">38</a>      
+<a name="39" href="#39">39</a>      
+<a name="40" href="#40">40</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Ancestor.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Ancestor.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Ancestor.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Ancestor.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,60 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>Ancestor xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2000-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <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="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em>
+<a name="16" href="#16">16</a>  <strong>package</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/package-summary.html">org.apache.portals.graffito.jcr.testmodel.inheritance</a>;
+<a name="17" href="#17">17</a>  
+<a name="18" href="#18">18</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/Ancestor.html">Ancestor</a>
+<a name="19" href="#19">19</a>  {
+<a name="20" href="#20">20</a>  	<strong>protected</strong> String path;
+<a name="21" href="#21">21</a>  	<strong>protected</strong> String ancestorField;
+<a name="22" href="#22">22</a>  	<strong>protected</strong> String discriminator;
+<a name="23" href="#23">23</a>  	
+<a name="24" href="#24">24</a>  	<strong>public</strong> String getPath() {
+<a name="25" href="#25">25</a>  		<strong>return</strong> path;
+<a name="26" href="#26">26</a>  	}
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  	<strong>public</strong> <strong>void</strong> setPath(String path) {
+<a name="29" href="#29">29</a>  		<strong>this</strong>.path = path;
+<a name="30" href="#30">30</a>  	}
+<a name="31" href="#31">31</a>  
+<a name="32" href="#32">32</a>  	<strong>public</strong> String getAncestorField() {
+<a name="33" href="#33">33</a>  		<strong>return</strong> ancestorField;
+<a name="34" href="#34">34</a>  	}
+<a name="35" href="#35">35</a>  
+<a name="36" href="#36">36</a>  	<strong>public</strong> <strong>void</strong> setAncestorField(String ancestorField) {
+<a name="37" href="#37">37</a>  		<strong>this</strong>.ancestorField = ancestorField;
+<a name="38" href="#38">38</a>  	}
+<a name="39" href="#39">39</a>      
+<a name="40" href="#40">40</a>  	<strong>public</strong> String getDiscriminator() {
+<a name="41" href="#41">41</a>  		<strong>return</strong> discriminator;
+<a name="42" href="#42">42</a>  	}
+<a name="43" href="#43">43</a>  
+<a name="44" href="#44">44</a>  	<strong>public</strong> <strong>void</strong> setDiscriminator(String discriminator) {
+<a name="45" href="#45">45</a>  		<strong>this</strong>.discriminator = discriminator;
+<a name="46" href="#46">46</a>  	}
+<a name="47" href="#47">47</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/AnotherDescendant.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/AnotherDescendant.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/AnotherDescendant.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/AnotherDescendant.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,46 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>AnotherDescendant xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2000-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <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="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em>
+<a name="16" href="#16">16</a>  <strong>package</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/package-summary.html">org.apache.portals.graffito.jcr.testmodel.inheritance</a>;
+<a name="17" href="#17">17</a>  
+<a name="18" href="#18">18</a>  <strong>import</strong> org.apache.portals.graffito.jcr.testmodel.interfaces.Interface;
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/AnotherDescendant.html">AnotherDescendant</a> <strong>extends</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/Ancestor.html">Ancestor</a> implements <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/interfaces/Interface.html">Interface</a>{
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  	<strong>protected</strong> String anotherDescendantField;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  	<strong>public</strong> String getAnotherDescendantField() {
+<a name="25" href="#25">25</a>  		<strong>return</strong> anotherDescendantField;
+<a name="26" href="#26">26</a>  	}
+<a name="27" href="#27">27</a>  
+<a name="28" href="#28">28</a>  	<strong>public</strong> <strong>void</strong> setAnotherDescendantField(String anotherDescendantField) {
+<a name="29" href="#29">29</a>  		<strong>this</strong>.anotherDescendantField = anotherDescendantField;
+<a name="30" href="#30">30</a>  	}
+<a name="31" href="#31">31</a>  	
+<a name="32" href="#32">32</a>  
+<a name="33" href="#33">33</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,51 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>Descendant xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2000-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <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="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em>
+<a name="16" href="#16">16</a>  <strong>package</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/package-summary.html">org.apache.portals.graffito.jcr.testmodel.inheritance</a>;
+<a name="17" href="#17">17</a>  
+<a name="18" href="#18">18</a>  <strong>import</strong> org.apache.portals.graffito.jcr.testmodel.interfaces.AnotherInterface;
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.html">Descendant</a> <strong>extends</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/Ancestor.html">Ancestor</a> implements <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/interfaces/AnotherInterface.html">AnotherInterface</a> {
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  	<strong>protected</strong> String descendantField;
+<a name="23" href="#23">23</a>  
+<a name="24" href="#24">24</a>  	
+<a name="25" href="#25">25</a>  
+<a name="26" href="#26">26</a>  	<strong>public</strong> String getDescendantField() {
+<a name="27" href="#27">27</a>  		<strong>return</strong> descendantField;
+<a name="28" href="#28">28</a>  	}
+<a name="29" href="#29">29</a>  
+<a name="30" href="#30">30</a>  	<strong>public</strong> <strong>void</strong> setDescendantField(String descendantField) {
+<a name="31" href="#31">31</a>  		<strong>this</strong>.descendantField = descendantField;
+<a name="32" href="#32">32</a>  	}
+<a name="33" href="#33">33</a>  
+<a name="34" href="#34">34</a>  
+<a name="35" href="#35">35</a>  	
+<a name="36" href="#36">36</a>  	
+<a name="37" href="#37">37</a>  
+<a name="38" href="#38">38</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+

Added: incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/SubDescendant.html
URL: http://svn.apache.org/viewvc/incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/SubDescendant.html?view=auto&rev=448367
==============================================================================
--- incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/SubDescendant.html (added)
+++ incubator/graffito/site/jcr-mapping/xref-test/org/apache/portals/graffito/jcr/testmodel/inheritance/SubDescendant.html Wed Sep 20 15:17:15 2006
@@ -0,0 +1,44 @@
+<!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" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" /><title>SubDescendant xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../../../stylesheet.css" />
+</head>
+<body>
+<pre>
+
+<a name="1" href="#1">1</a>   <em class="comment">/*</em>
+<a name="2" href="#2">2</a>   <em class="comment"> * Copyright 2000-2004 The Apache Software Foundation.</em>
+<a name="3" href="#3">3</a>   <em class="comment"> * </em>
+<a name="4" href="#4">4</a>   <em class="comment"> * Licensed under the Apache License, Version 2.0 (the "License");</em>
+<a name="5" href="#5">5</a>   <em class="comment"> * you may not use this file except in compliance with the License.</em>
+<a name="6" href="#6">6</a>   <em class="comment"> * You may obtain a copy of the License at</em>
+<a name="7" href="#7">7</a>   <em class="comment"> * </em>
+<a name="8" href="#8">8</a>   <em class="comment"> *      <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="9" href="#9">9</a>   <em class="comment"> * </em>
+<a name="10" href="#10">10</a>  <em class="comment"> * Unless required by applicable law or agreed to in writing, software</em>
+<a name="11" href="#11">11</a>  <em class="comment"> * distributed under the License is distributed on an "AS IS" BASIS,</em>
+<a name="12" href="#12">12</a>  <em class="comment"> * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.</em>
+<a name="13" href="#13">13</a>  <em class="comment"> * See the License for the specific language governing permissions and</em>
+<a name="14" href="#14">14</a>  <em class="comment"> * limitations under the License.</em>
+<a name="15" href="#15">15</a>  <em class="comment"> */</em>
+<a name="16" href="#16">16</a>  <strong>package</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/package-summary.html">org.apache.portals.graffito.jcr.testmodel.inheritance</a>;
+<a name="17" href="#17">17</a>  
+<a name="18" href="#18">18</a>  <strong>public</strong> <strong>class</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/SubDescendant.html">SubDescendant</a> <strong>extends</strong> <a href="../../../../../../../org/apache/portals/graffito/jcr/testmodel/inheritance/Descendant.html">Descendant</a> {
+<a name="19" href="#19">19</a>  
+<a name="20" href="#20">20</a>  	<strong>protected</strong> String subDescendantField;
+<a name="21" href="#21">21</a>  
+<a name="22" href="#22">22</a>  	<strong>public</strong> String getSubDescendantField() {
+<a name="23" href="#23">23</a>  		<strong>return</strong> subDescendantField;
+<a name="24" href="#24">24</a>  	}
+<a name="25" href="#25">25</a>  
+<a name="26" href="#26">26</a>  	<strong>public</strong> <strong>void</strong> setSubDescendantField(String subDescendantField) {
+<a name="27" href="#27">27</a>  		<strong>this</strong>.subDescendantField = subDescendantField;
+<a name="28" href="#28">28</a>  	}
+<a name="29" href="#29">29</a>  
+<a name="30" href="#30">30</a>  	
+<a name="31" href="#31">31</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>
+



Mime
View raw message