Class StructCollection2JsonOptions.Builder
java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.options.StructCollection2JsonOptions.Builder
- Enclosing class:
- StructCollection2JsonOptions
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.expand(ExpandOption expand) Sets the $expand system query option.Sets id of the collectionisFullRepresentation(boolean isFullRepresentation) sets isFullRepresentation to represent inline entriesselect(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. -
expand
Sets the $expand system query option. -
select
Sets the $select system query option. -
writeOnlyReferences
Sets to serialize only references -
id
Sets id of the collection -
isFullRepresentation
sets isFullRepresentation to represent inline entries -
autoExpand
-
build
Builds the OData serializer options.
-