public abstract class AbstractIdentitySerializationInfo<T,I> extends HasSerializer<I,JsonSerializer<I>> implements IdentitySerializationInfo<T>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIdentitySerializationInfo(boolean alwaysAsId,
String propertyName)
Constructor for AbstractIdentitySerializationInfo.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ObjectIdSerializer<I> |
getObjectId(T bean,
JsonSerializationContext ctx)
getObjectId
|
String |
getPropertyName()
getPropertyName
|
boolean |
isAlwaysAsId()
isAlwaysAsId
|
boolean |
isProperty()
isProperty
|
getSerializer, newSerializerpublic boolean isAlwaysAsId()
isAlwaysAsId
isAlwaysAsId in interface IdentitySerializationInfo<T>public boolean isProperty()
isProperty
isProperty in interface IdentitySerializationInfo<T>public String getPropertyName()
getPropertyName
getPropertyName in interface IdentitySerializationInfo<T>public abstract ObjectIdSerializer<I> getObjectId(T bean, JsonSerializationContext ctx)
getObjectId
getObjectId in interface IdentitySerializationInfo<T>bean - a T object.ctx - a JsonSerializationContext object.ObjectIdSerializer object.Copyright © 2020. All rights reserved.