Package de.xima.fc.serialize.gson.type
Class DefaultEntityWriter
- java.lang.Object
-
- com.google.gson.TypeAdapter<T>
-
- de.xima.fc.serialize.gson.type.ATypeAdapter<de.xima.cmn.dao.interfaces.IEntity<Long>>
-
- de.xima.fc.serialize.gson.type.DefaultEntityWriter
-
public class DefaultEntityWriter extends ATypeAdapter<de.xima.cmn.dao.interfaces.IEntity<Long>>
Default writer for entities that serializes the entity based onExportDetails
- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from class de.xima.fc.serialize.gson.type.ATypeAdapter
elementAdapter, encryptor, exportContext, gson, LOG, SERIALIZATION_KEY_DESC_CLASS_NAME, SERIALIZATION_KEY_DESC_NAME, SERIALIZATION_KEY_DESC_UUID, SERIALIZATION_KEY_UUID_ENTITY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description de.xima.cmn.dao.interfaces.IEntity<Long>
read(com.google.gson.stream.JsonReader in)
void
write(com.google.gson.stream.JsonWriter out, de.xima.cmn.dao.interfaces.IEntity<Long> value)
-
Methods inherited from class de.xima.fc.serialize.gson.type.ATypeAdapter
getClassFieldsPair, isEncryptionField
-
-
-
-
Method Detail
-
write
public void write(com.google.gson.stream.JsonWriter out, de.xima.cmn.dao.interfaces.IEntity<Long> value) throws IOException
- Specified by:
write
in classcom.google.gson.TypeAdapter<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Throws:
IOException
-
read
public de.xima.cmn.dao.interfaces.IEntity<Long> read(com.google.gson.stream.JsonReader in) throws IOException
- Specified by:
read
in classcom.google.gson.TypeAdapter<de.xima.cmn.dao.interfaces.IEntity<Long>>
- Throws:
IOException
-
-