Interface JPAEdmExtension
-
public interface JPAEdmExtensionThe interface provides methods to extend JPA EDM containers.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidextendJPAEdmSchema(JPAEdmSchemaView view)The method is used to extend the JPA EDM schema view with Entities, Entity Sets, Navigation Property and Association.voidextendWithOperation(JPAEdmSchemaView view)The method is used to extend the JPA EDM schema view with custom operations.InputStreamgetJPAEdmMappingModelStream()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
-
-