public final class ODataTypeValueSerializer extends Object
Modifier and Type | Method and Description |
---|---|
static ODataTypeValueSerializer |
of(org.apache.olingo.odata2.api.edm.EdmSimpleTypeKind typeKind)
For internal use only by data model classes
|
static ODataTypeValueSerializer |
of(org.apache.olingo.odata2.api.edm.EdmType type) |
String |
toUri(Object value)
For internal use only by data model classes.
|
@Nonnull public static ODataTypeValueSerializer of(@Nonnull org.apache.olingo.odata2.api.edm.EdmSimpleTypeKind typeKind)
typeKind
- The EDM simple type kind@Nonnull public String toUri(@Nonnull Object value)
This method is used to serialize OData key references.
value
- The object to translate into URI format for OData.@Nonnull public static ODataTypeValueSerializer of(@Nonnull org.apache.olingo.odata2.api.edm.EdmType type)
Copyright © 2020 SAP SE. All rights reserved.