public final class ContextURLHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
buildKeyPredicate(List<UriParameter> keys)
Builds a key predicate for the ContextURL.
|
static String |
buildSelectList(EdmStructuredType type,
ExpandOption expand,
SelectOption select)
Builds a list of selected Properties for the ContextURL,
taking care to preserve the order as defined in the EDM;
returns NULL if no selection has taken place.
|
public static String buildSelectList(EdmStructuredType type, ExpandOption expand, SelectOption select) throws SerializerException
type - the structured typeexpand - the Expand option (from the URL's $expand query option)select - the Select option (from the URL's $select query option)SerializerException - if an unsupported feature is usedpublic static String buildKeyPredicate(List<UriParameter> keys) throws SerializerException
keys - the keys as a list of UriParameter instancesSerializerExceptionCopyright © 2023. All rights reserved.