You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by ch...@apache.org on 2015/09/01 13:30:11 UTC

svn commit: r1700494 - /olingo/site/trunk/content/doc/odata4/tutorials/sqo_f/tutorial_sqo_f.mdtext

Author: chrish
Date: Tue Sep  1 11:30:11 2015
New Revision: 1700494

URL: http://svn.apache.org/r1700494
Log:
CMS commit to olingo by chrish

Modified:
    olingo/site/trunk/content/doc/odata4/tutorials/sqo_f/tutorial_sqo_f.mdtext

Modified: olingo/site/trunk/content/doc/odata4/tutorials/sqo_f/tutorial_sqo_f.mdtext
URL: http://svn.apache.org/viewvc/olingo/site/trunk/content/doc/odata4/tutorials/sqo_f/tutorial_sqo_f.mdtext?rev=1700494&r1=1700493&r2=1700494&view=diff
==============================================================================
--- olingo/site/trunk/content/doc/odata4/tutorials/sqo_f/tutorial_sqo_f.mdtext (original)
+++ olingo/site/trunk/content/doc/odata4/tutorials/sqo_f/tutorial_sqo_f.mdtext Tue Sep  1 11:30:11 2015
@@ -82,7 +82,7 @@ See here for more details:
 [OData Version 4.0 Part 2: URL Conventions Plus Errata 02](http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-url-conventions/odata-v4.0-errata02-os-part2-url-conventions-complete.html#_Toc406398094)
 
 
-The expression given by the **$filter** query option have to return a Boolean value when applied to a certain entity on the entity list. Iff the value returned for a given entity is *“true”*, the service has to return the entity. Otherwise the service has to discard the entity.
+The expression given by the **$filter** query option has to return a Boolean value when applied to a certain entity on the entity list. Iff the value returned for a given entity is *“true”*, the service has to return the entity. Otherwise the service has to discard the entity.
 
 
 **Example**
@@ -127,7 +127,7 @@ Action
 6. Calculate – **contains**(“Notebook Basic…”, “Notebook”)    | Edm.Boolean   | true                | visitMethodCall
 7. Calculate – true **and** true                              | Edm.Boolean   | true                | visitBinaryOperator
 
-Olingo uses the vistor pattern to traverse the AST. Each of these actions is mapped to one method of the ExpressionVistor. You can see the name of the methods in last column of table 1. As service developer we have to implement this methods but we don`t have to take care about calling them. The libaray will call the proper method and we have only to calculate the result. 
+Olingo uses the vistor pattern to traverse the AST. Each of these actions is mapped to one method of the ExpressionVistor. You can see the name of the methods in last column of table 1. As service developers we have to implement this methods but we don`t have to take care about calling them. The libaray will call the proper method and we have only to calculate the result. 
 
 
 #### Implementation
@@ -149,7 +149,7 @@ In this tutorial we will use just *Objec
     ::::java
     public class FilterExpressionVisitor implements ExpressionVisitor<Object> {
 
-Please create also a constructor to pass an entity to our visitor implementation.
+Please create also a constructor to pass an entity to our visitor implementation. 
 
     ::::java
     private Entity currentEntity;
@@ -218,7 +218,7 @@ The next method takes a String and has t
 
 As you can see in this little example, it can be difficult to guess the right type. In this tutorial we will focus on Edm.Int32. 
 
-In real world scenarios, there is something called “numeric promotion”, which converts numbers to the next highest type. [OData Version 4.0 Part 2: URL Conventions Plus Errata 02](http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-url-conventions/odata-v4.0-errata02-os-part2-url-conventions-complete.html#_Toc406398161)
+In real world scenarios, there is something called “numeric promotion”, which converts numbers to the next higher type. [OData Version 4.0 Part 2: URL Conventions Plus Errata 02](http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part2-url-conventions/odata-v4.0-errata02-os-part2-url-conventions-complete.html#_Toc406398161)
 
   
     ::::java
@@ -432,7 +432,7 @@ would not lead to an error. It`s up to y
         }
     }
 
-**2. EntityCollectionProcessor changes***
+**2. EntityCollectionProcessor changes**
 
 The following section describes the simple approach to enable the EntityCollectionProcessor class and the readEntityCollection() method for $filter.