Package | Description |
---|---|
com.sap.cloud.sdk.datamodel.odata.generator.annotation |
Modifier and Type | Method and Description |
---|---|
Set<AnnotationDefinition> |
DefaultAnnotationStrategy.getAnnotationsForComplexTypeProperty(EntityPropertyAnnotationModel 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 complex type property.
Jackson JsonProperty with the value set to the OData EDM name of the complex type property.
Nullable
Gson JsonAdapter with default parameter set to an appropriate TypeAdapter
class. |
Set<AnnotationDefinition> |
AnnotationStrategy.getAnnotationsForComplexTypeProperty(EntityPropertyAnnotationModel context)
Gets a list of annotations to apply to generated member variables representing OData properties of complex types.
|
Set<AnnotationDefinition> |
DefaultAnnotationStrategy.getAnnotationsForEntityProperty(EntityPropertyAnnotationModel 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 entity property.
Jackson JsonProperty with the value set to the OData EDM name of the entity property.
Nullable
Gson JsonAdapter with default parameter set to an appropriate TypeAdapter
class. |
Set<AnnotationDefinition> |
AnnotationStrategy.getAnnotationsForEntityProperty(EntityPropertyAnnotationModel context)
Gets a list of annotations to apply to generated member variables representing OData properties of entities.
|
Copyright © 2020 SAP SE. All rights reserved.