Annotation Interface ODataField
Annotation to be used to link fields to their OData property as well as converting between the domain type of a field
and the actually exposed type.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionClass<? extends TypeConverter<?,
?>> The converter to be used to convert between the domain and the exposed type of the annotated field.
-
Element Details
-
odataName
The name of the OData property this field gets mapped to.- Returns:
- The name of the corresponding OData property.
-
-
-
converter
The converter to be used to convert between the domain and the exposed type of the annotated field.- Returns:
- The type of the converter to use for the annotated field.
- Default:
- com.sap.cloud.sdk.s4hana.datamodel.odata.adapter.IdentityConverter.class
-