Class NavigationProperty2JsonOptions
java.lang.Object
com.sap.cds.adapter.odata.v4.serializer.json.options.CdsODataOptions
com.sap.cds.adapter.odata.v4.serializer.json.options.NavigationProperty2JsonOptions
Options for the navigation property 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 TypeMethodDescriptionGets theContextURL
.getCount()
Gets the $count system query option.Gets the $expand system query option.Gets the $select system query option.boolean
only writes the references of the entitiesboolean
boolean
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, getEdmUtils, getGlobals, getODataVersion, isIEEE754Compatible, isODataMetadataFull, isODataMetadataNone
-
Method Details
-
getContextURL
Gets theContextURL
.- Overrides:
getContextURL
in classCdsODataOptions
-
getCount
Gets the $count system query option. -
isCountPath
public boolean isCountPath() -
getExpand
Gets the $expand system query option. -
getSelect
Gets the $select system query option. -
getLevels
-
getWriteOnlyReferences
public boolean getWriteOnlyReferences()only writes the references of the entities -
isFullRepresentation
public boolean isFullRepresentation()Inline entries will not have @delta if representation is full -
isAutoExpand
public boolean isAutoExpand() -
with
public static NavigationProperty2JsonOptions.Builder with(ContentType contentType, String odataVersion, CdsRequestGlobals globals) Initializes the options builder.
-