public abstract class AbstractIdentityDeserializationInfo<T,V> extends HasDeserializer<V,JsonDeserializer<V>> implements IdentityDeserializationInfo<T>
Abstract AbstractIdentityDeserializationInfo class.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIdentityDeserializationInfo(String propertyName,
Class<?> type,
Class<?> scope)
Constructor for AbstractIdentityDeserializationInfo.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyName()
getPropertyName
|
boolean |
isProperty()
isProperty
|
ObjectIdGenerator.IdKey |
newIdKey(Object id)
newIdKey
|
Object |
readId(JsonReader reader,
JsonDeserializationContext ctx)
Reads the id and returns it.
|
getDeserializer, newDeserializerpublic final String getPropertyName()
getPropertyName
getPropertyName in interface IdentityDeserializationInfo<T>public final boolean isProperty()
isProperty
isProperty in interface IdentityDeserializationInfo<T>public ObjectIdGenerator.IdKey newIdKey(Object id)
newIdKey
newIdKey in interface IdentityDeserializationInfo<T>id - IdentifierObjectIdGenerator.IdKeypublic final Object readId(JsonReader reader, JsonDeserializationContext ctx)
readId in interface IdentityDeserializationInfo<T>reader - readerctx - context of the deserialization processCopyright © 2019. All rights reserved.