public class ODataVdmEntityAdapter<T> extends com.google.gson.TypeAdapter<VdmObject<T>>
Constructor and Description |
---|
ODataVdmEntityAdapter(com.google.gson.TypeAdapterFactory adapterFactory,
com.google.gson.Gson gson,
Class<? super T> entityRawType)
For internal use only by data model classes
|
Modifier and Type | Method and Description |
---|---|
VdmObject<T> |
read(com.google.gson.stream.JsonReader jsonReader)
For internal use only by data model classes
|
void |
write(com.google.gson.stream.JsonWriter out,
VdmObject<T> value)
For internal use only by data model classes
|
@Nullable public VdmObject<T> read(@Nonnull com.google.gson.stream.JsonReader jsonReader) throws IOException
read
in class com.google.gson.TypeAdapter<VdmObject<T>>
IOException
public void write(@Nonnull com.google.gson.stream.JsonWriter out, @Nullable VdmObject<T> value) throws IOException
write
in class com.google.gson.TypeAdapter<VdmObject<T>>
IOException
Copyright © 2019 SAP SE. All rights reserved.