You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by de...@apache.org on 2014/01/31 08:11:07 UTC

svn commit: r1563071 - /incubator/olingo/site/trunk/content/doc/tutorials/ExtendingtheEDM.mdtext

Author: deepa
Date: Fri Jan 31 07:11:07 2014
New Revision: 1563071

URL: http://svn.apache.org/r1563071
Log:
CMS commit to olingo by deepa

Modified:
    incubator/olingo/site/trunk/content/doc/tutorials/ExtendingtheEDM.mdtext

Modified: incubator/olingo/site/trunk/content/doc/tutorials/ExtendingtheEDM.mdtext
URL: http://svn.apache.org/viewvc/incubator/olingo/site/trunk/content/doc/tutorials/ExtendingtheEDM.mdtext?rev=1563071&r1=1563070&r2=1563071&view=diff
==============================================================================
--- incubator/olingo/site/trunk/content/doc/tutorials/ExtendingtheEDM.mdtext (original)
+++ incubator/olingo/site/trunk/content/doc/tutorials/ExtendingtheEDM.mdtext Fri Jan 31 07:11:07 2014
@@ -18,7 +18,7 @@ Notice:    Licensed to the Apache Softwa
 
 # Extending the EDM Generated from the JPA Models 
 
-The Entity Data Model (EDM) generated from the JPA models can be extended with new Entity Types, Complex Types and also the existing EDM elements can be modified by implementing the interface method ***org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension.extendJPAEdmSchemaP***.
+The Entity Data Model (EDM) generated from the JPA models can be extended with new Entity Types, Complex Types and also the existing EDM elements can be modified by implementing the interface method 'org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmExtension.extendJPAEdmSchema'.
 
 https://git-wip-us.apache.org/repos/asf?p=incubator-olingo-odata2.git;h=ecdc476
 
@@ -49,6 +49,7 @@ public void setCurrency(String currency)
 
 }
 
+Here is a possible implementation where the SalesOrderProcessingExtension implements the JPAEdmExtension. 
 
 ##### Sample Code
                 
@@ -80,4 +81,6 @@ public void setCurrency(String currency)
      
 		}
 
+You need to set your JPAEDMExtension type in the initializeODataJPAContext of JPAReferenceServiceFactory.
+
 The Complex Type added to the EDM can be used as Function Imports Return Type. See <> for more information.
\ No newline at end of file