org.apache.olingo.odata2.api.annotation.edm
Annotation Type EdmMediaResourceSource


@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface EdmMediaResourceSource

Annotation for definition of an EdmProperty as media resource source 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 EdmMediaResourceSource annotation has to be used in conjunction with an EdmProperty annotation on a field within an EdmEntityType annotated class.



Copyright © 2013-2015 The Apache Software Foundation. All Rights Reserved.