Interface EntityViewIdValueAccessor


public interface EntityViewIdValueAccessor
This interface is used to supply an entity view id from platform specific sources to the deserializer. The deserializer uses values provided by EntityViewIdValueAccessor as fallback in case no ID value extraction via the JsonParser is possible.
Since:
1.5.0
Author:
Moritz Becker
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> T
    getValue(com.fasterxml.jackson.core.JsonParser jsonParser, Class<T> idType)
    Retrieve an ID value for the entity view that is being deserialized at invocation time.
  • Method Details

    • getValue

      <T> T getValue(com.fasterxml.jackson.core.JsonParser jsonParser, Class<T> idType)
      Retrieve an ID value for the entity view that is being deserialized at invocation time.
      Type Parameters:
      T - An ID type parameter
      Parameters:
      jsonParser - The JsonParser instance used by the deserializer
      idType - The ID type
      Returns:
      The ID value or null