public class DefaultIntegrationKeyToODataEntryGenerator extends java.lang.Object implements IntegrationKeyToODataEntryGenerator
| Constructor and Description |
|---|
DefaultIntegrationKeyToODataEntryGenerator() |
| Modifier and Type | Method and Description |
|---|---|
protected ODataEntry |
buildODataEntryFrom(EdmEntitySet edmEntitySet,
java.util.Map<java.lang.String,<any>> keyValuePerType) |
protected java.lang.String |
decodeValue(java.lang.String value) |
ODataEntry |
generate(EdmEntitySet entitySet,
java.lang.String integrationKey)
Generates a OData entry representing the Alias for the EntityType integrationKey property references.
|
protected java.lang.String |
getEncoding() |
protected java.util.Map<java.lang.String,<any>> |
getKeyValuePerType(EdmEntityType entityType,
java.lang.String keyMetadata,
java.lang.String integrationKey) |
protected java.lang.Object |
getODataEntryProperty(EdmProperty property,
java.lang.String value) |
protected java.util.Map<java.lang.Class<? extends EdmType>,java.util.function.Function<java.lang.String,java.lang.Object>> |
getPropertyConverters() |
void |
setEncoding(java.lang.String encoding) |
public DefaultIntegrationKeyToODataEntryGenerator()
public ODataEntry generate(EdmEntitySet entitySet,
java.lang.String integrationKey)
throws EdmException
IntegrationKeyToODataEntryGeneratorgenerate in interface IntegrationKeyToODataEntryGeneratorentitySet - - EntitySet that is being posted tointegrationKey - - integrationKey string for the itemEdmExceptionprotected java.util.Map<java.lang.String,<any>> getKeyValuePerType(EdmEntityType entityType,
java.lang.String keyMetadata,
java.lang.String integrationKey)
throws EdmException
EdmExceptionprotected java.lang.String decodeValue(java.lang.String value)
protected ODataEntry buildODataEntryFrom(EdmEntitySet edmEntitySet,
java.util.Map<java.lang.String,<any>> keyValuePerType)
throws EdmException
EdmExceptionprotected java.lang.Object getODataEntryProperty(EdmProperty property,
java.lang.String value)
throws EdmException
EdmExceptionprotected java.util.Map<java.lang.Class<? extends EdmType>,java.util.function.Function<java.lang.String,java.lang.Object>> getPropertyConverters()
protected java.lang.String getEncoding()
public void setEncoding(java.lang.String encoding)
Copyright © 2018 SAP SE. All Rights Reserved.