public class ServiceOptions
extends java.lang.Object
Options for interaction with a data service.
Constructor and Description |
---|
ServiceOptions() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAvoidInPaths()
Return (nullable) Characters that must be avoided in the path component of URLs (e.g.
|
boolean |
getBatchDownloads()
Return if the backend supports download for offline operation, should it be done with batch requests?
True by default.
|
boolean |
getBatchUploads()
Return if the backend supports upload for offline operation, should it be done with batch requests?
True by default.
|
boolean |
getCacheMetadata()
Return should loaded service metadata be cached in a local file?
If
ServiceOptions.metadataFile is non-null, then the cache file name will be ServiceOptions.metadataFile with ".cache" appended. |
boolean |
getCheckQueries()
Return check data queries before sending them to the server.
|
boolean |
getCheckResults()
Return check query results after receiving them from the server.
|
boolean |
getCheckVersion()
Return check version header in OData responses.
|
java.lang.String |
getClientInstanceID()
Return (nullable) Globally unique client identifier for the client, used to provide a default value for the "Client-Instance-ID" HTTP header.
|
boolean |
getCreateReturnsContent()
Return do createEntity calls return resulting entity state in response payload? Defaults to
true . |
CsdlFetcher |
getCsdlFetcher()
Return (nullable) CSDL fetcher which can resolve CSDL references when loading metadata.
|
int |
getCsdlOptions()
Return CSDL options for parsing.
|
boolean |
getDatabaseOnly()
Return is this service only to be used with a local database?
By default, a service can be used both online (remote service) and offline (local database).
|
int |
getDataFormat()
Return format to be used for data interchange (ATOM or JSON).
|
int |
getDataVersion()
Return version to be used for data interchange.
|
boolean |
getDeleteWithEntityTag()
Return if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should deletes of the entity send the ETag value with an If-Match header? Defaults to
true . |
boolean |
getFixMissingEmptyLists()
Return if set to true and the server returns no value for a collection-typed property of an entity then parser will return an empty collection and validation will not fail.
|
boolean |
getFixMissingNullValues()
Return if set to true and the server returns no value for a non collection-typed property of an entity then parser will return a null value and validation will not fail.
|
XmlElementList |
getIncludeElements()
Return extra child elements for parsing main CSDL schema.
|
DataSchemaList |
getIncludeSchemas()
Return pre-parsed CSDL schemas, which may be referenced by the service metadata.
|
int |
getLoadIfCreateStatus()
Return defaults to
204 (HTTP No Content), forcing an implicit loadEntity call to be issued before createEntity returns, if the create response status from the server is >= 204 . |
int |
getLoadIfUpdateStatus()
Return defaults to
204 (HTTP No Content), forcing an implicit loadEntity call to be issued before updateEntity returns, if the update response status from the server is >= 204 . |
boolean |
getLogErrors()
Return should data service error messages be logged? Defaults to
true . |
boolean |
getLogWarnings()
Return should data service warning messages be logged? Defaults to
true . |
java.lang.String |
getMetadataFile()
Return (nullable) Name of local file containing OData CSDL service metadata for the data service.
|
java.lang.String |
getMetadataText()
Return (nullable) Text of the service metadata, provider by the caller so it does not need to be loaded.
|
java.lang.String |
getMetadataURL()
Return (nullable) Alternate location of OData CSDL service metadata.
|
java.lang.String |
getPingAccept()
Return response type accepted by
DataService.pingServer . |
java.lang.String |
getPingMethod()
Return HTTP method used by
DataService.pingServer . |
java.lang.String |
getPingResource()
Return resource path used by
DataService.pingServer . |
GuidValue |
getRepeatabilityClientID()
Return (nullable) Optional client ID for repeatable requests.
|
java.lang.String |
getRequiresToken()
Return (nullable) Does the service require a security token for change requests? Defaults to "X-CSRF-Token".
|
boolean |
getRequiresType()
Return does the service always require type metadata in client-sent complex/entity values.
|
boolean |
getSupportsAlias()
Return does the service support parameter aliases?
True by default.
|
boolean |
getSupportsBatch()
Return does the service support OData batch requests?
True by default.
|
boolean |
getSupportsBind()
Return does the service support bind operations.
|
boolean |
getSupportsDelta()
Return does the service support server-side change tracking (e.g.
|
boolean |
getSupportsNext()
Return does the service support the following of next-links using the $skiptoken system query option.
|
boolean |
getSupportsPatch()
Return does the service support OData PATCH requests (or MERGE for OData versions < 3.0).
|
boolean |
getSupportsUnbind()
Return does the service support unbind operations (unbind navigation property from an existing entity in delete)?
True by default.
|
boolean |
getUpdateReturnsContent()
Return do updateEntity calls return resulting entity state in response payload? Defaults to
true . |
boolean |
getUpdateWithEntityTag()
Return if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should updates of the entity send the ETag value with an If-Match header? Defaults to
true . |
void |
setAvoidInPaths(java.lang.String value)
Set characters that must be avoided in the path component of URLs (e.g.
|
void |
setBatchDownloads(boolean value)
Set if the backend supports download for offline operation, should it be done with batch requests?
True by default.
|
void |
setBatchUploads(boolean value)
Set if the backend supports upload for offline operation, should it be done with batch requests?
True by default.
|
void |
setCacheMetadata(boolean value)
Set should loaded service metadata be cached in a local file?
If
ServiceOptions.metadataFile is non-null, then the cache file name will be ServiceOptions.metadataFile with ".cache" appended. |
void |
setCheckQueries(boolean value)
Set check data queries before sending them to the server.
|
void |
setCheckResults(boolean value)
Set check query results after receiving them from the server.
|
void |
setCheckVersion(boolean value)
Set check version header in OData responses.
|
void |
setClientInstanceID(java.lang.String value)
Set globally unique client identifier for the client, used to provide a default value for the "Client-Instance-ID" HTTP header.
|
void |
setCreateReturnsContent(boolean value)
Set do createEntity calls return resulting entity state in response payload? Defaults to
true . |
void |
setCsdlFetcher(CsdlFetcher value)
Set CSDL fetcher which can resolve CSDL references when loading metadata.
|
void |
setCsdlOptions(int value)
Set CSDL options for parsing.
|
void |
setDatabaseOnly(boolean value)
Set is this service only to be used with a local database?
By default, a service can be used both online (remote service) and offline (local database).
|
void |
setDataFormat(int value)
Set format to be used for data interchange (ATOM or JSON).
|
void |
setDataVersion(int value)
Set version to be used for data interchange.
|
void |
setDeleteWithEntityTag(boolean value)
Set if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should deletes of the entity send the ETag value with an If-Match header? Defaults to
true . |
void |
setFixMissingEmptyLists(boolean value)
Set if set to true and the server returns no value for a collection-typed property of an entity then parser will return an empty collection and validation will not fail.
|
void |
setFixMissingNullValues(boolean value)
Set if set to true and the server returns no value for a non collection-typed property of an entity then parser will return a null value and validation will not fail.
|
void |
setIncludeElements(XmlElementList value)
Set extra child elements for parsing main CSDL schema.
|
void |
setIncludeSchemas(DataSchemaList value)
Set pre-parsed CSDL schemas, which may be referenced by the service metadata.
|
void |
setLoadIfCreateStatus(int value)
Set defaults to
204 (HTTP No Content), forcing an implicit loadEntity call to be issued before createEntity returns, if the create response status from the server is >= 204 . |
void |
setLoadIfUpdateStatus(int value)
Set defaults to
204 (HTTP No Content), forcing an implicit loadEntity call to be issued before updateEntity returns, if the update response status from the server is >= 204 . |
void |
setLogErrors(boolean value)
Set should data service error messages be logged? Defaults to
true . |
void |
setLogWarnings(boolean value)
Set should data service warning messages be logged? Defaults to
true . |
void |
setMetadataFile(java.lang.String value)
Set name of local file containing OData CSDL service metadata for the data service.
|
void |
setMetadataText(java.lang.String value)
Set text of the service metadata, provider by the caller so it does not need to be loaded.
|
void |
setMetadataURL(java.lang.String value)
Set alternate location of OData CSDL service metadata.
|
void |
setPingAccept(java.lang.String value)
Set response type accepted by
DataService.pingServer . |
void |
setPingMethod(java.lang.String value)
Set HTTP method used by
DataService.pingServer . |
void |
setPingResource(java.lang.String value)
Set resource path used by
DataService.pingServer . |
void |
setRepeatabilityClientID(GuidValue value)
Set optional client ID for repeatable requests.
|
void |
setRequiresToken(java.lang.String value)
Set does the service require a security token for change requests? Defaults to "X-CSRF-Token".
|
void |
setRequiresType(boolean value)
Set does the service always require type metadata in client-sent complex/entity values.
|
void |
setSupportsAlias(boolean value)
Set does the service support parameter aliases?
True by default.
|
void |
setSupportsBatch(boolean value)
Set does the service support OData batch requests?
True by default.
|
void |
setSupportsBind(boolean value)
Set does the service support bind operations.
|
void |
setSupportsDelta(boolean value)
Set does the service support server-side change tracking (e.g.
|
void |
setSupportsNext(boolean value)
Set does the service support the following of next-links using the $skiptoken system query option.
|
void |
setSupportsPatch(boolean value)
Set does the service support OData PATCH requests (or MERGE for OData versions < 3.0).
|
void |
setSupportsUnbind(boolean value)
Set does the service support unbind operations (unbind navigation property from an existing entity in delete)?
True by default.
|
void |
setUpdateReturnsContent(boolean value)
Set do updateEntity calls return resulting entity state in response payload? Defaults to
true . |
void |
setUpdateWithEntityTag(boolean value)
Set if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should updates of the entity send the ETag value with an If-Match header? Defaults to
true . |
public java.lang.String getAvoidInPaths()
Return (nullable) Characters that must be avoided in the path component of URLs (e.g. in OData key predicates or function parameters), even when percent-encoded.
This mey be the case with certain client or server environments which limit the characters permitted in paths (usually due to security concerns).
When this option is set, other options (e.g. ServiceOptions.supportsAlias
, ServiceOptions.supportsBatch
) may be required to enable such characters to be passed in another way.
public boolean getBatchDownloads()
Return if the backend supports download for offline operation, should it be done with batch requests? True by default.
public boolean getBatchUploads()
Return if the backend supports upload for offline operation, should it be done with batch requests? True by default.
public boolean getCacheMetadata()
Return should loaded service metadata be cached in a local file?
If ServiceOptions.metadataFile
is non-null, then the cache file name will be ServiceOptions.metadataFile
with ".cache" appended.
If ServiceOptions.metadataFile
is null
, then the cache file name will be the service name with ".csdl.cache" appended.
DataService.loadMetadata
.
public boolean getCheckQueries()
Return check data queries before sending them to the server. Defaults to true
.
DataQuery.check
.
public boolean getCheckResults()
Return check query results after receiving them from the server. Defaults to true
.
QueryResult.check
.
public boolean getCheckVersion()
Return check version header in OData responses. Defaults to true
.
true
.public java.lang.String getClientInstanceID()
Return (nullable) Globally unique client identifier for the client, used to provide a default value for the "Client-Instance-ID" HTTP header.
public boolean getCreateReturnsContent()
Return do createEntity calls return resulting entity state in response payload? Defaults to true
.
true
.public CsdlFetcher getCsdlFetcher()
Return (nullable) CSDL fetcher which can resolve CSDL references when loading metadata. This overrides a data service's default mechanism to load metadata over HTTP.
public int getCsdlOptions()
Return CSDL options for parsing.
public int getDataFormat()
Return format to be used for data interchange (ATOM or JSON). Defaults to JSON.
public int getDataVersion()
Return version to be used for data interchange. If non-zero, this overrides any version specified in the service metadata.
public boolean getDatabaseOnly()
Return is this service only to be used with a local database? By default, a service can be used both online (remote service) and offline (local database).
public boolean getDeleteWithEntityTag()
Return if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should deletes of the entity send the ETag value with an If-Match header? Defaults to true
.
true
.public boolean getFixMissingEmptyLists()
Return if set to true and the server returns no value for a collection-typed property of an entity then parser will return an empty collection and validation will not fail. Note: this property is only considered if checkResults is set to true and the property to be queried is selected or expanded in the query. False by default.
public boolean getFixMissingNullValues()
Return if set to true and the server returns no value for a non collection-typed property of an entity then parser will return a null value and validation will not fail. Note: this property is only considered if checkResults is set to true and the property to be queried is selected or expanded in the query. False by default.
public XmlElementList getIncludeElements()
Return extra child elements for parsing main CSDL schema.
public DataSchemaList getIncludeSchemas()
Return pre-parsed CSDL schemas, which may be referenced by the service metadata.
public int getLoadIfCreateStatus()
Return defaults to 204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before createEntity
returns, if the create response status from the server is >= 204
.
If this property has a value of 200
(HTTP OK) then an implicit loadEntity
call will always be issued before createEntity
returns, to retrieve the post-create entity state.
If this property has a value of 0
then an implicit loadEntity
call will never be issued.
204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before createEntity
returns, if the create response status from the server is >= 204
.public int getLoadIfUpdateStatus()
Return defaults to 204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before updateEntity
returns, if the update response status from the server is >= 204
.
If this property has a value of 200
(HTTP OK) then an implicit loadEntity
call will always be issued before updateEntity
returns, to retrieve the post-update entity state.
If this property has a value of 0
then an implicit loadEntity
call will never be issued.
204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before updateEntity
returns, if the update response status from the server is >= 204
.public boolean getLogErrors()
Return should data service error messages be logged? Defaults to true
.
true
.public boolean getLogWarnings()
Return should data service warning messages be logged? Defaults to true
.
true
.public java.lang.String getMetadataFile()
Return (nullable) Name of local file containing OData CSDL service metadata for the data service.
If this is null
, then metadata will be fetched from the remote service.
public java.lang.String getMetadataText()
Return (nullable) Text of the service metadata, provider by the caller so it does not need to be loaded.
public java.lang.String getMetadataURL()
Return (nullable) Alternate location of OData CSDL service metadata. Can be an absolute URL, or a relative URL (relative to the service root URL). Use this if the preferred service metadata document appears at a URL other than that formed by appending "$metadata" to the service root URL.
public java.lang.String getPingAccept()
Return response type accepted by DataService.pingServer
. Defaults to "application/json,application/xml,application/atomsvc+xml".
DataService.pingServer
. Defaults to "application/json,application/xml,application/atomsvc+xml".public java.lang.String getPingMethod()
Return HTTP method used by DataService.pingServer
. Defaults to "HEAD".
DataService.pingServer
. Defaults to "HEAD".public java.lang.String getPingResource()
Return resource path used by DataService.pingServer
. Defaults to "/" (the service document).
DataService.pingServer
. Defaults to "/" (the service document).public GuidValue getRepeatabilityClientID()
Return (nullable) Optional client ID for repeatable requests.
public java.lang.String getRequiresToken()
Return (nullable) Does the service require a security token for change requests? Defaults to "X-CSRF-Token".
A token is obtained, implicitly if needed, by a call to DataService.pingServer
.
public boolean getRequiresType()
Return does the service always require type metadata in client-sent complex/entity values. False by default.
public boolean getSupportsAlias()
Return does the service support parameter aliases? True by default.
public boolean getSupportsBatch()
Return does the service support OData batch requests? True by default.
public boolean getSupportsBind()
Return does the service support bind operations. True by default.
public boolean getSupportsDelta()
Return does the service support server-side change tracking (e.g. with delta links)? True by default.
public boolean getSupportsNext()
Return does the service support the following of next-links using the $skiptoken system query option. True by default.
public boolean getSupportsPatch()
Return does the service support OData PATCH requests (or MERGE for OData versions < 3.0). True by default.
public boolean getSupportsUnbind()
Return does the service support unbind operations (unbind navigation property from an existing entity in delete)? True by default.
public boolean getUpdateReturnsContent()
Return do updateEntity calls return resulting entity state in response payload? Defaults to true
.
true
.public boolean getUpdateWithEntityTag()
Return if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should updates of the entity send the ETag value with an If-Match header? Defaults to true
.
true
.public void setAvoidInPaths(java.lang.String value)
Set characters that must be avoided in the path component of URLs (e.g. in OData key predicates or function parameters), even when percent-encoded.
This mey be the case with certain client or server environments which limit the characters permitted in paths (usually due to security concerns).
When this option is set, other options (e.g. ServiceOptions.supportsAlias
, ServiceOptions.supportsBatch
) may be required to enable such characters to be passed in another way.
value
- Characters that must be avoided in the path component of URLs (e.g. in OData key predicates or function parameters), even when percent-encoded.public void setBatchDownloads(boolean value)
Set if the backend supports download for offline operation, should it be done with batch requests? True by default.
value
- If the backend supports download for offline operation, should it be done with batch requests?public void setBatchUploads(boolean value)
Set if the backend supports upload for offline operation, should it be done with batch requests? True by default.
value
- If the backend supports upload for offline operation, should it be done with batch requests?public void setCacheMetadata(boolean value)
Set should loaded service metadata be cached in a local file?
If ServiceOptions.metadataFile
is non-null, then the cache file name will be ServiceOptions.metadataFile
with ".cache" appended.
If ServiceOptions.metadataFile
is null
, then the cache file name will be the service name with ".csdl.cache" appended.
DataService.loadMetadata
.
value
- Should loaded service metadata be cached in a local file?public void setCheckQueries(boolean value)
Set check data queries before sending them to the server. Defaults to true
.
DataQuery.check
.
value
- Check data queries before sending them to the server. Defaults to `true`.public void setCheckResults(boolean value)
Set check query results after receiving them from the server. Defaults to true
.
QueryResult.check
.
value
- Check query results after receiving them from the server. Defaults to `true`.public void setCheckVersion(boolean value)
Set check version header in OData responses. Defaults to true
.
value
- Check version header in OData responses. Defaults to true
.public void setClientInstanceID(java.lang.String value)
Set globally unique client identifier for the client, used to provide a default value for the "Client-Instance-ID" HTTP header.
value
- Globally unique client identifier for the client, used to provide a default value for the "Client-Instance-ID" HTTP header.public void setCreateReturnsContent(boolean value)
Set do createEntity calls return resulting entity state in response payload? Defaults to true
.
value
- Do createEntity calls return resulting entity state in response payload? Defaults to true
.public void setCsdlFetcher(CsdlFetcher value)
Set CSDL fetcher which can resolve CSDL references when loading metadata. This overrides a data service's default mechanism to load metadata over HTTP.
value
- CSDL fetcher which can resolve CSDL references when loading metadata.public void setCsdlOptions(int value)
Set CSDL options for parsing.
value
- CSDL options for parsing.public void setDataFormat(int value)
Set format to be used for data interchange (ATOM or JSON). Defaults to JSON.
value
- Format to be used for data interchange (ATOM or JSON). Defaults to JSON.public void setDataVersion(int value)
Set version to be used for data interchange. If non-zero, this overrides any version specified in the service metadata.
value
- Version to be used for data interchange. If non-zero, this overrides any version specified in the service metadata.public void setDatabaseOnly(boolean value)
Set is this service only to be used with a local database? By default, a service can be used both online (remote service) and offline (local database).
value
- Is this service only to be used with a local database?public void setDeleteWithEntityTag(boolean value)
Set if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should deletes of the entity send the ETag value with an If-Match header? Defaults to true
.
value
- If the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should deletes of the entity send the ETag value with an If-Match header? Defaults to true
.public void setFixMissingEmptyLists(boolean value)
Set if set to true and the server returns no value for a collection-typed property of an entity then parser will return an empty collection and validation will not fail. Note: this property is only considered if checkResults is set to true and the property to be queried is selected or expanded in the query. False by default.
value
- If set to true and the server returns no value for a collection-typed property of an entity then parser will return an empty collection and validation will not fail.public void setFixMissingNullValues(boolean value)
Set if set to true and the server returns no value for a non collection-typed property of an entity then parser will return a null value and validation will not fail. Note: this property is only considered if checkResults is set to true and the property to be queried is selected or expanded in the query. False by default.
value
- If set to true and the server returns no value for a non collection-typed property of an entity then parser will return a null value and validation will not fail.public void setIncludeElements(XmlElementList value)
Set extra child elements for parsing main CSDL schema.
value
- Extra child elements for parsing main CSDL schema.public void setIncludeSchemas(DataSchemaList value)
Set pre-parsed CSDL schemas, which may be referenced by the service metadata.
value
- Pre-parsed CSDL schemas, which may be referenced by the service metadata.public void setLoadIfCreateStatus(int value)
Set defaults to 204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before createEntity
returns, if the create response status from the server is >= 204
.
If this property has a value of 200
(HTTP OK) then an implicit loadEntity
call will always be issued before createEntity
returns, to retrieve the post-create entity state.
If this property has a value of 0
then an implicit loadEntity
call will never be issued.
value
- Defaults to 204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before createEntity
returns, if the create response status from the server is >= 204
.public void setLoadIfUpdateStatus(int value)
Set defaults to 204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before updateEntity
returns, if the update response status from the server is >= 204
.
If this property has a value of 200
(HTTP OK) then an implicit loadEntity
call will always be issued before updateEntity
returns, to retrieve the post-update entity state.
If this property has a value of 0
then an implicit loadEntity
call will never be issued.
value
- Defaults to 204
(HTTP No Content), forcing an implicit loadEntity
call to be issued before updateEntity
returns, if the update response status from the server is >= 204
.public void setLogErrors(boolean value)
Set should data service error messages be logged? Defaults to true
.
value
- Should data service error messages be logged? Defaults to true
.public void setLogWarnings(boolean value)
Set should data service warning messages be logged? Defaults to true
.
value
- Should data service warning messages be logged? Defaults to true
.public void setMetadataFile(java.lang.String value)
Set name of local file containing OData CSDL service metadata for the data service.
If this is null
, then metadata will be fetched from the remote service.
value
- Name of local file containing OData CSDL service metadata for the data service.public void setMetadataText(java.lang.String value)
Set text of the service metadata, provider by the caller so it does not need to be loaded.
value
- Text of the service metadata, provider by the caller so it does not need to be loaded.public void setMetadataURL(java.lang.String value)
Set alternate location of OData CSDL service metadata. Can be an absolute URL, or a relative URL (relative to the service root URL). Use this if the preferred service metadata document appears at a URL other than that formed by appending "$metadata" to the service root URL.
value
- Alternate location of OData CSDL service metadata.public void setPingAccept(java.lang.String value)
Set response type accepted by DataService.pingServer
. Defaults to "application/json,application/xml,application/atomsvc+xml".
value
- Response type accepted by DataService.pingServer
. Defaults to "application/json,application/xml,application/atomsvc+xml".public void setPingMethod(java.lang.String value)
Set HTTP method used by DataService.pingServer
. Defaults to "HEAD".
value
- HTTP method used by DataService.pingServer
. Defaults to "HEAD".public void setPingResource(java.lang.String value)
Set resource path used by DataService.pingServer
. Defaults to "/" (the service document).
value
- Resource path used by DataService.pingServer
. Defaults to "/" (the service document).public void setRepeatabilityClientID(GuidValue value)
Set optional client ID for repeatable requests.
value
- Optional client ID for repeatable requests.public void setRequiresToken(java.lang.String value)
Set does the service require a security token for change requests? Defaults to "X-CSRF-Token".
A token is obtained, implicitly if needed, by a call to DataService.pingServer
.
value
- Does the service require a security token for change requests? Defaults to "X-CSRF-Token".public void setRequiresType(boolean value)
Set does the service always require type metadata in client-sent complex/entity values. False by default.
value
- Does the service always require type metadata in client-sent complex/entity values.public void setSupportsAlias(boolean value)
Set does the service support parameter aliases? True by default.
value
- Does the service support parameter aliases?public void setSupportsBatch(boolean value)
Set does the service support OData batch requests? True by default.
value
- Does the service support OData batch requests?public void setSupportsBind(boolean value)
Set does the service support bind operations. True by default.
value
- Does the service support bind operations.public void setSupportsDelta(boolean value)
Set does the service support server-side change tracking (e.g. with delta links)? True by default.
value
- Does the service support server-side change tracking (e.g. with delta links)?public void setSupportsNext(boolean value)
Set does the service support the following of next-links using the $skiptoken system query option. True by default.
value
- Does the service support the following of next-links using the $skiptoken system query option.public void setSupportsPatch(boolean value)
Set does the service support OData PATCH requests (or MERGE for OData versions < 3.0). True by default.
value
- Does the service support OData PATCH requests (or MERGE for OData versions < 3.0).public void setSupportsUnbind(boolean value)
Set does the service support unbind operations (unbind navigation property from an existing entity in delete)? True by default.
value
- Does the service support unbind operations (unbind navigation property from an existing entity in delete)?public void setUpdateReturnsContent(boolean value)
Set do updateEntity calls return resulting entity state in response payload? Defaults to true
.
value
- Do updateEntity calls return resulting entity state in response payload? Defaults to true
.public void setUpdateWithEntityTag(boolean value)
Set if the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should updates of the entity send the ETag value with an If-Match header? Defaults to true
.
value
- If the backend system returns an ETag header when querying for an entity (or an "etag" annotation when querying for multiple entities), should updates of the entity send the ETag value with an If-Match header? Defaults to true
.