@Retention(value=RUNTIME) @Target(value=FIELD) public @interface EdmProperty
Annotation for definition of an EdmProperty for an EdmEntityType or EdmComplexType which contains the EdmProperty as a field.
The EdmProperty annotation has to be used on a field within a EdmEntityType or EdmComplexType annotated class.public abstract EdmType type
If not explicit set a default value has to be generated by the EDM provider (which should be compatible to the java type of the annotated field).
If the property is a simple property a EdmSimpleType must be used which can be mapped to the java type of the annotated field. Which mappings are available depends on the used implementation.
If the property is a EdmComplexType (and no EdmSimpleType) the type COMPLEX
must be used.
public abstract String name
Copyright © 2013-2017 The Apache Software Foundation. All Rights Reserved.