public class ReadRequestImpl extends ReadRequest
| Constructor and Description |
|---|
ReadRequestImpl(RequestContext requestContext,
String entityName,
EntityMetadata entityMetadata,
Map<String,List<String>> headers,
Map<String,Object> keys,
String httpMethod) |
| Modifier and Type | Method and Description |
|---|---|
void |
addExpandProperties(List<String> expandedProperties) |
void |
addSelectProperties(List<String> selectedProperties)
Adds properties to the $select system query option.
|
List<String> |
getExpandProperties()
Gets the list of properties specified in the $expand system query option.
|
Map<String,Object> |
getKeys()
Gets the keys of the entity to be read.
|
List<String> |
getSelectProperties()
Gets the list of properties specified in the $select system query option.
|
Map<String,Object> |
getSourceKeys()
Gets the keys of the parent entity specified in a navigation.
|
void |
setKeys(Map<String,Object> keys) |
void |
setSourceEntityName(String sourceEntityName) |
void |
setSourceKeys(Map<String,Object> sourceKeys) |
getEntityName, getSourceEntityNamecontainsHeader, getEntityMetadata, getHeader, getHeaderNames, getHeaders, getHttpMethod, getLocale, getMessageContainer, getRequestContext, getServiceName, setServiceNamepublic Map<String,Object> getKeys()
ReadRequestgetKeys in class ReadRequestMap containing the keys of the entitypublic Map<String,Object> getSourceKeys()
ReadRequestgetSourceKeys in class ReadRequestMap containing the keys of the parent entitypublic void setSourceEntityName(String sourceEntityName)
public List<String> getSelectProperties()
ReadRequestgetSelectProperties in class ReadRequestList of String objects containing the properties
specified in $select expressionpublic void addSelectProperties(List<String> selectedProperties)
ReadRequestaddSelectProperties in class ReadRequestselectedProperties - A list of strings representing the properties to be addedpublic List<String> getExpandProperties()
ReadRequestgetExpandProperties in class ReadRequestList of String objects containing the properties
specified in $expand expressionCopyright © 2020 SAP. All Rights Reserved.