@Retention(value=RUNTIME) @Target(value=FIELD) public @interface EdmMediaResourceMimeType
Annotation for definition of an EdmProperty
as mime type for the media resource
of the EdmEntityType
which contains the EdmProperty
.
The value of the EdmMediaResourceMimeType
annotated field will be used as Content-Type
of the media content response (of an OData $value
request).
EdmProperty
annotation.
In addition the EdmMediaResourceMimeType
annotation has to be used in conjunction with an EdmProperty
annotation on a field within an EdmEntityType
annotated class.Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.