Annotation Type EdmMediaResourceMimeType
-
@Retention(RUNTIME) @Target(FIELD) public @interface EdmMediaResourceMimeType
Annotation for definition of an
This annotation can not be parameterized, all values like name are defined via theEdmPropertyas mime type for the media resource of theEdmEntityTypewhich contains theEdmProperty. The value of theEdmMediaResourceMimeTypeannotated field will be used asContent-Typeof the media content response (of an OData$valuerequest).EdmPropertyannotation. In addition theEdmMediaResourceMimeTypeannotation has to be used in conjunction with anEdmPropertyannotation on a field within anEdmEntityTypeannotated class.