Interface JPAEdmPropertyView

All Superinterfaces:
JPAEdmBaseView

public interface JPAEdmPropertyView extends JPAEdmBaseView
A view on Java Persistence Entity Attributes and EDM properties. Java Persistence Attributes of type
  1. embedded ID - are converted into EDM keys
  2. ID - are converted into EDM keys
  3. attributes - are converted into EDM properties
  4. embeddable type - are converted into EDM complex properties
  5. relationships - are converted into Associations/Navigation properties

The implementation of the view provides access to EDM properties for a given JPA EDM entity type. The view acts as a container for consistent list of EDM properties of an EDM entity type. EDM property is consistent only if there exists at least one property in the entity type and there is at least one key property.

@org.apache.olingo.odata2.DoNotImplement

See Also:
  • Method Details

    • getEdmSimpleProperty

      SimpleProperty getEdmSimpleProperty()
      The method returns a simple EDM property.
      Returns:
      an instance of type SimpleProperty
    • getJPAEdmKeyView

      JPAEdmKeyView getJPAEdmKeyView()
      The method returns a JPA EDM key view.
      Returns:
      an instance of type JPAEdmKeyView
    • getEdmPropertyList

      List<Property> getEdmPropertyList()
      The method returns a list of Properties for the given Entity Type.
      Returns:
      a list of Property
    • getJPAAttribute

      jakarta.persistence.metamodel.Attribute<?,?> getJPAAttribute()
      The method returns a JPA Attribute for the given JPA entity type.
      Returns:
      an instance of type
      invalid reference
      <?, ?>
    • getJPAReferencedAttribute

      jakarta.persistence.metamodel.Attribute<?,?> getJPAReferencedAttribute()
      The method returns a JPA Attribute referenced by a JPA Attribute in the
      invalid reference
      javax.persistence.JoinColumn
      annotation for the given JPA entity type .
      Returns:
      an instance of type
      invalid reference
      <?, ?>
    • getJPAEdmNavigationPropertyView

      JPAEdmNavigationPropertyView getJPAEdmNavigationPropertyView()
      The method returns a JPA EDM navigation property view.
      Returns:
      an instance of type JPAEdmNavigationPropertyView
    • getJPAEdmEntityTypeView

      JPAEdmEntityTypeView getJPAEdmEntityTypeView()
      The method returns a JPA EDM Entity Type view that holds the property view.
      Returns:
      an instance of type JPAEdmEntityTypeView
    • getJPAEdmComplexTypeView

      JPAEdmComplexTypeView getJPAEdmComplexTypeView()
      The method returns a JPA EDM Complex Type view that holds the property view.
      Returns:
      an instance of type JPAEdmComplexTypeView
    • getJPAJoinColumns

      List<String[]> getJPAJoinColumns()
      The method returns a list of JPA Join Column Annotations for the given JPA Attribute
      Returns:
      a list of Array of Strings. First element in the Array represents the join column name and the second element in the array represents the referencedColumn name