Interface IPreFieldDeserializationHookParams


  • public interface IPreFieldDeserializationHookParams
    Parameters for the pre deserialization hook of fields
    Since:
    7.0.5
    Author:
    XIMA Media GmbH
    • 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 be null 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