Interface IPreFieldDeserializationHookParams


@Deprecated public interface IPreFieldDeserializationHookParams
Deprecated.
Parameters for the pre deserialization hook of fields
Since:
7.0.5
Author:
XIMA Media GmbH
  • Method Details

    • getFieldName

      String getFieldName()
      Deprecated.
      Returns:
      String name of the entity field that is currently being processed
    • getField

      Field getField()
      Deprecated.
      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()
      Deprecated.
      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

      Object getEntity()
      Deprecated.
      Returns:
      the entity that is currently being processed
    • getFcSerializationVersion

      String getFcSerializationVersion()
      Deprecated.
      Returns:
      the formcycle version in which the entity was serialized
    • getStateHolder

      Deprecated.
      Gets the state holder for setting and retrieving data. The state's lifecycle is tied to the entity being serialized. In particular, state set in handlePreFieldDeserializationHook will be available in handlePostEntityDeserializationHook.
      Returns:
      IEntityDeserializationStateHolder state holder for the entity being processed.