Class StructCollection2JsonOptions
java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.options.CdsODataOptions
com.sap.cds.adapter.odata.v4.serializer.json.options.StructCollection2JsonOptions
Options for the collections of complex type and entity serializers.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Builder of OData serializer options. -
Field Summary
Fields inherited from class com.sap.cds.adapter.odata.v4.serializer.json.options.CdsODataOptions
contextURL
-
Method Summary
Modifier and TypeMethodDescriptiongetCount()
Gets the $count system query option.Gets the $expand system query option.getId()
Gets the id of the entity collectionGets the $select system query option.boolean
only writes the references of the entitiesboolean
boolean
Inline entries will not have @delta if representation is fullwith
(ContentType contentType, String odataVersion, CdsRequestGlobals globals) Initializes the options builder.Methods inherited from class com.sap.cds.adapter.odata.v4.serializer.json.options.CdsODataOptions
getConstants, getContextURL, getEdmUtils, getGlobals, getODataVersion, isIEEE754Compatible, isODataMetadataFull, isODataMetadataNone
-
Method Details
-
getCount
Gets the $count system query option. -
getExpand
Gets the $expand system query option. -
getSelect
Gets the $select system query option. -
getWriteOnlyReferences
public boolean getWriteOnlyReferences()only writes the references of the entities -
getId
Gets the id of the entity collection -
isFullRepresentation
public boolean isFullRepresentation()Inline entries will not have @delta if representation is full -
isAutoExpand
public boolean isAutoExpand() -
with
public static StructCollection2JsonOptions.Builder with(ContentType contentType, String odataVersion, CdsRequestGlobals globals) Initializes the options builder.
-