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,
java.lang.String propertyName)
Constructor for AbstractIdentitySerializationInfo.
|
| Modifier and Type | Method and Description |
|---|---|
abstract ObjectIdSerializer<I> |
getObjectId(T bean,
JsonSerializationContext ctx)
getObjectId
|
java.lang.String |
getPropertyName()
getPropertyName
|
boolean |
isAlwaysAsId()
isAlwaysAsId
|
boolean |
isProperty()
Gets the value of the property property.
|
getSerializer, newSerializerpublic boolean isProperty
isProperty in interface IdentitySerializationInfo<T>protected AbstractIdentitySerializationInfo(boolean alwaysAsId,
java.lang.String propertyName)
Constructor for AbstractIdentitySerializationInfo.
alwaysAsId - a boolean.propertyName - a String object.public boolean isAlwaysAsId()
isAlwaysAsId
isAlwaysAsId in interface IdentitySerializationInfo<T>public boolean isProperty()
isProperty in interface IdentitySerializationInfo<T>public java.lang.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 © 2018. All Rights Reserved.