Annotation Type EdmKey


  • @Retention(RUNTIME)
    @Target(FIELD)
    public @interface EdmKey

    Annotation for definition of an EdmProperty as EdmKey for the EdmEntityType which contains the EdmProperty.

    This annotation can not be parameterized, all values like name are defined via the EdmProperty annotation. In addition the EdmKey annotation has to be used in conjunction with an EdmProperty annotation on a field within a EdmEntityType annotated class.