Package | Description |
---|---|
com.sap.cloud.sdk.datamodel.odata.generator.annotation |
Modifier and Type | Method and Description |
---|---|
Set<AnnotationDefinition> |
DefaultAnnotationStrategy.getAnnotationsForAssociatedEntity(NavigationPropertyAnnotationModel context)
Default implementation for the SAP Cloud SDK which adds the following annotations:
Gson
SerializedName with the value set to the OData EDM name of the navigation property.
Jackson JsonProperty with the value set to the OData EDM name of the navigation property.
Nullable , but only if the multiplicity of the navigation property is 1..1 or 0..1
|
Set<AnnotationDefinition> |
AnnotationStrategy.getAnnotationsForAssociatedEntity(NavigationPropertyAnnotationModel context)
Gets a list of annotations to apply to generated member variables representing OData navigation properties.
|
Copyright © 2019 SAP SE. All rights reserved.