org.apache.olingo.odata2.jpa.processor.api.model
Interface JPAEdmExtension

All Known Implementing Classes:
SalesOrderProcessingExtension

public interface JPAEdmExtension

The interface provides methods to extend JPA EDM containers.


Method Summary
 void extendJPAEdmSchema(JPAEdmSchemaView view)
          The method is used to extend the JPA EDM schema view with Entities, Entity Sets, Navigation Property and Association.
 void extendWithOperation(JPAEdmSchemaView view)
          The method is used to extend the JPA EDM schema view with custom operations.
 InputStream getJPAEdmMappingModelStream()
          Implement this method to provide a stream of Mapping model.
 

Method Detail

extendWithOperation

void extendWithOperation(JPAEdmSchemaView view)
The method is used to extend the JPA EDM schema view with custom operations. Use this method to register custom operations.

Parameters:
view - is the schema view
See Also:
JPAEdmSchemaView.registerOperations(Class, String[])

extendJPAEdmSchema

void extendJPAEdmSchema(JPAEdmSchemaView view)
The method is used to extend the JPA EDM schema view with Entities, Entity Sets, Navigation Property and Association.

Parameters:
view - is the schema view

getJPAEdmMappingModelStream

InputStream getJPAEdmMappingModelStream()
Implement this method to provide a stream of Mapping model.

Returns:
a stream of mapping model XML as per JPAEDMMappingModel.xsd


Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.