public interface AnnotationStrategy
Modifier and Type | Method and Description |
---|---|
Set<AnnotationDefinition> |
getAnnotationsForAssociatedEntity(NavigationPropertyAnnotationModel context)
Gets a list of annotations to apply to generated member variables representing OData navigation properties.
|
Set<AnnotationDefinition> |
getAnnotationsForComplexType(EntityAnnotationModel context)
Gets a list of annotations to apply to generated classes representing OData complex types, at the class level.
|
Set<AnnotationDefinition> |
getAnnotationsForComplexTypeProperty(EntityPropertyAnnotationModel context)
Gets a list of annotations to apply to generated member variables representing OData properties of complex types.
|
Set<AnnotationDefinition> |
getAnnotationsForEntity(EntityAnnotationModel context)
Gets a list of annotations to apply to generated classes representing OData entities, at the class level.
|
Set<AnnotationDefinition> |
getAnnotationsForEntityProperty(EntityPropertyAnnotationModel context)
Gets a list of annotations to apply to generated member variables representing OData properties of entities.
|
@Nonnull Set<AnnotationDefinition> getAnnotationsForEntity(@Nonnull EntityAnnotationModel context)
EntityAnnotationModel
objects with relevant information about
the OData entity it is currently processing.context
- Object representing an OData entity.AnnotationDefinition
instances representing which annotations should be applied.@Nonnull Set<AnnotationDefinition> getAnnotationsForEntityProperty(@Nonnull EntityPropertyAnnotationModel context)
EntityPropertyAnnotationModel
objects with relevant
information about the OData property it is currently processing.context
- Object representing an OData entity property.AnnotationDefinition
instances representing which annotations should be applied.@Nonnull Set<AnnotationDefinition> getAnnotationsForAssociatedEntity(@Nonnull NavigationPropertyAnnotationModel context)
NavigationPropertyAnnotationModel
objects with relevant
information about the OData property it is currently processing.context
- Object representing an OData navigation property.AnnotationDefinition
instances representing which annotations should be applied.@Nonnull Set<AnnotationDefinition> getAnnotationsForComplexType(@Nonnull EntityAnnotationModel context)
EntityAnnotationModel
objects with relevant information
about the OData complex type it is currently processing.context
- Object representing an OData complex type.AnnotationDefinition
instances representing which annotations should be applied.@Nonnull Set<AnnotationDefinition> getAnnotationsForComplexTypeProperty(@Nonnull EntityPropertyAnnotationModel context)
EntityPropertyAnnotationModel
objects with relevant
information about the OData property it is currently processing.context
- Object representing an OData complex type property.AnnotationDefinition
instances representing which annotations should be applied.Copyright © 2019 SAP SE. All rights reserved.