@Retention(value=RUNTIME) @Target(value=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 theEdmProperty
annotation.
In addition the EdmKey annotation has to be used in conjunction with an EdmProperty annotation on a field
within a EdmEntityType annotated class.Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.