Interface IPreFieldDeserializationHookParams
-
public interface IPreFieldDeserializationHookParamsParameters 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()StringgetFcSerializationVersion()FieldgetField()StringgetFieldName()com.google.gson.stream.JsonReadergetJsonReader()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:
Stringname of the entity field that is currently being processed
-
getField
Field getField()
- Returns:
FieldEntity field that is currently being processed. May benullif 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:
JsonReaderthat 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
-
-