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

## Interface JPAEdmKeyView

- All Superinterfaces:
    JPAEdmBaseView

      public interface JPAEdmKeyView
      extends JPAEdmBaseView

  A view on Java Persistence Entity Key Attributes and EDM Key properties. Java Persistence Key Attributes of type
  1. embedded ID
  2. ID
  are converted into EDM keys. Embedded IDs are expanded into simple EDM properties.

  The implementation of the view provides access to EDM key properties for a given JPA EDM entity type. The view acts as a container for consistent EDM key property of an EDM entity type.

  See Also:
    `JPAEdmPropertyView`
  Do not implement this interface or derive from class.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Key` | `getEdmKey()` The method returns an instance of EDM key for the given JPA EDM Entity type.

    - ### Methods inherited from interface org.apache.olingo.odata2.jpa.processor.api.model.JPAEdmBaseView

      `clean, getBuilder, getJPAEdmExtension, getJPAEdmMappingModelAccess, getJPAMetaModel, getpUnitName, isConsistent, isDefaultNamingSkipped`

- - ### Method Detail

    - #### getEdmKey

          Key getEdmKey()

      The method returns an instance of EDM key for the given JPA EDM Entity type.
      Returns:
        an instance of type `Key`

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