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 Summary
Modifier and Type Method Description java.lang.StringgetPropertyName()getPropertyNamebooleanisProperty()isPropertyObjectIdGenerator.IdKeynewIdKey(java.lang.Object id)newIdKeyjava.lang.ObjectreadId(JsonReader reader, JsonDeserializationContext ctx)Reads the id and returns it.
-
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
newIdKey
- Parameters:
id- Identifier- Returns:
- a new
ObjectIdGenerator.IdKey
-
readId
Reads the id and returns it.- Parameters:
reader- readerctx- context of the deserialization process- Returns:
- the identifier
-