olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r964755 - in /websites/staging/olingo/trunk/content: ./ doc/odata4/tutorials/read/tutorial_read.html
Date Tue, 08 Sep 2015 12:44:58 GMT
Author: buildbot
Date: Tue Sep  8 12:44:58 2015
New Revision: 964755

Log:
Staging update by buildbot for olingo

Modified:
    websites/staging/olingo/trunk/content/   (props changed)
    websites/staging/olingo/trunk/content/doc/odata4/tutorials/read/tutorial_read.html

Propchange: websites/staging/olingo/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Tue Sep  8 12:44:58 2015
@@ -1 +1 @@
-1701788
+1701791

Modified: websites/staging/olingo/trunk/content/doc/odata4/tutorials/read/tutorial_read.html
==============================================================================
--- websites/staging/olingo/trunk/content/doc/odata4/tutorials/read/tutorial_read.html (original)
+++ websites/staging/olingo/trunk/content/doc/odata4/tutorials/read/tutorial_read.html Tue
Sep  8 12:44:58 2015
@@ -435,7 +435,7 @@ In our example, we will invoke the follo
 
 <p>When declaring an <code>EntitySet</code>, we need to define the type
of entries which are contained in the list, such as an <code>CsdlEntityType</code>.
 In our example, we set our previously created <code>CsdlEntityType</code>, which
is referred by a <em>FullQualifiedName</em>.</p>
-<div class="codehilite"><pre><span class="kd">public</span> <span
class="n">CsdlEntitySet</span> <span class="nf">getEntitySet</span><span
class="o">(</span><span class="n">FullQualifiedName</span> <span class="n">entityContainer</span><span
class="o">,</span> <span class="n">String</span> <span class="n">entitySetName</span><span
class="o">)</span> <span class="kd">throws</span> <span class="n">ODataException</span>
<span class="o">{</span>
+<div class="codehilite"><pre><span class="kd">public</span> <span
class="n">CsdlEntitySet</span> <span class="nf">getEntitySet</span><span
class="o">(</span><span class="n">FullQualifiedName</span> <span class="n">entityContainer</span><span
class="o">,</span> <span class="n">String</span> <span class="n">entitySetName</span><span
class="o">)</span> <span class="o">{</span>
 
   <span class="k">if</span><span class="o">(</span><span class="n">entityContainer</span><span
class="o">.</span><span class="na">equals</span><span class="o">(</span><span
class="n">CONTAINER</span><span class="o">)){</span>
     <span class="k">if</span><span class="o">(</span><span class="n">entitySetName</span><span
class="o">.</span><span class="na">equals</span><span class="o">(</span><span
class="n">ES_PRODUCTS_NAME</span><span class="o">)){</span>



Mime
View raw message