Interface IdentityDeserializationInfo<T>

All Known Implementing Classes:
AbstractIdentityDeserializationInfo, PropertyIdentityDeserializationInfo

public interface IdentityDeserializationInfo<T>
Contains identity informations for deserialization process.
Version:
$Id: $
Author:
Nicolas Morel
  • Method Details

    • getPropertyName

      java.lang.String getPropertyName()

      getPropertyName

      Returns:
      name of the identifier property
    • isProperty

      boolean isProperty()

      isProperty

      Returns:
      true if the identifier is also a property of the bean
    • newIdKey

      ObjectIdGenerator.IdKey newIdKey​(java.lang.Object id)

      newIdKey

      Parameters:
      id - Identifier
      Returns:
      a new ObjectIdGenerator.IdKey
    • readId

      java.lang.Object readId​(JsonReader reader, JsonDeserializationContext ctx)
      Reads the id and returns it.
      Parameters:
      reader - reader
      ctx - context of the deserialization process
      Returns:
      the identifier