Class JPAExampleCUDRequestHandler

java.lang.Object
com.sap.olingo.jpa.processor.core.api.JPAAbstractCUDRequestHandler
com.sap.olingo.jpa.processor.core.api.example.JPAExampleCUDRequestHandler
All Implemented Interfaces:
JPACUDRequestHandler

public class JPAExampleCUDRequestHandler extends JPAAbstractCUDRequestHandler
Example implementation at a CUD handler. The main purpose is rapid prototyping.

The implementation requires Getter and Setter. This includes getter for collection properties and collection navigation properties that return at least empty collections.
To link entities constructor injection is used. So each dependent entity needs a constructor that takes a entity type it depends on as parameter.

Author:
Oliver Grande