public abstract class AbstractIdentitySerializationInfo<T,I> extends HasSerializer<I,JsonSerializer<I>> implements IdentitySerializationInfo<T>
| Type | Property and Description |
|---|---|
boolean |
is
Gets the value of the property property.
|
| 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()
Gets the value of the property property.
|
getSerializer, newSerializerpublic boolean isProperty
isProperty in interface IdentitySerializationInfo<T>public boolean isAlwaysAsId()
isAlwaysAsId
isAlwaysAsId in interface IdentitySerializationInfo<T>public boolean 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 © 2017. All Rights Reserved.