Interface IPreFieldDeserializationHookParams
-
public interface IPreFieldDeserializationHookParams
Parameters for the pre deserialization hook of fields- Since:
- 7.0.5
- Author:
- XIMA Media GmbH
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description de.xima.cmn.dao.interfaces.IEntity<Long>
getEntity()
String
getFcSerializationVersion()
Field
getField()
String
getFieldName()
com.google.gson.stream.JsonReader
getJsonReader()
BE CAREFUL & DELIBERATE! when accessing values of the JSON reader since it will alter the current position in the reader which may cause errors moving forward in deserialization of entities.
-
-
-
Method Detail
-
getFieldName
String getFieldName()
- Returns:
String
name of the entity field that is currently being processed
-
getField
Field getField()
- Returns:
Field
Entity field that is currently being processed. May benull
if no corresponding field was found on the entity
-
getJsonReader
com.google.gson.stream.JsonReader getJsonReader()
BE CAREFUL & DELIBERATE! when accessing values of the JSON reader since it will alter the current position in the reader which may cause errors moving forward in deserialization of entities.- Returns:
JsonReader
that is being evaluated while processing the current field
-
getEntity
de.xima.cmn.dao.interfaces.IEntity<Long> getEntity()
- Returns:
- the entity that is currently being processed
-
getFcSerializationVersion
String getFcSerializationVersion()
- Returns:
- the FORMCYCLE version in which the entity was serialized
-
-