Class NavigationProperty2JsonOptions.Builder
java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.options.NavigationProperty2JsonOptions.Builder
- Enclosing class:
- NavigationProperty2JsonOptions
Builder of OData serializer options.
-
Method Summary
Modifier and TypeMethodDescriptionautoExpand
(boolean autoExpand) build()
Builds the OData serializer options.contextURL
(ContextURL contextURL) Sets theContextURL
.count
(CountOption count) Sets the $count system query option.countPath
(boolean isCountPath) expand
(ExpandOption expand) Sets the $expand system query option.isFullRepresentation
(boolean isFullRepresentation) sets isFullRepresentation to represent inline entrieslevels
(LevelsExpandOption levels) Sets the $select system query option.select
(SelectOption select) Sets the $select system query option.writeOnlyReferences
(boolean ref) Sets to serialize only references
-
Method Details
-
contextURL
Sets theContextURL
. -
count
Sets the $count system query option. -
countPath
-
expand
Sets the $expand system query option. -
select
Sets the $select system query option. -
levels
Sets the $select system query option. -
writeOnlyReferences
Sets to serialize only references -
isFullRepresentation
sets isFullRepresentation to represent inline entries -
autoExpand
-
build
Builds the OData serializer options.
-