Annotation Type EdmAnnotation


@Target({TYPE,FIELD}) @Retention(RUNTIME) public @interface EdmAnnotation
Can be used to annotate attributes. The annotations are converted into OData annotations. For details see OData Version 4.0 Part 3 - 14.3 Element edm:Annotation
Author:
Oliver Grande
  • Element Details

    • term

      String term
      Full qualified name of term, e.g. Core.MediaType
      Returns:
      name
    • qualifier

      String qualifier
      An annotation element MAY provide a SimpleIdentifier value for the Qualifier attribute. The qualifier attribute allows annotation authors a means of conditionally applying an annotation.
      Returns:
      qualifier
      Default:
      ""
    • constantExpression

      Default:
      @com.sap.olingo.jpa.metadata.core.edm.annotation.EdmAnnotation.ConstantExpression(type=Int, value="default")
    • dynamicExpression

      Default:
      @com.sap.olingo.jpa.metadata.core.edm.annotation.EdmAnnotation.DynamicExpression