public abstract class PropertyIdentitySerializationInfo<T,V> extends BeanPropertySerializer<T,V> implements IdentitySerializationInfo<T>
propertyName| Constructor and Description |
|---|
PropertyIdentitySerializationInfo(boolean alwaysAsId,
String propertyName)
Constructor for PropertyIdentitySerializationInfo.
|
| Modifier and Type | Method and Description |
|---|---|
ObjectIdSerializer<?> |
getObjectId(T bean,
JsonSerializationContext ctx)
getObjectId
|
boolean |
isAlwaysAsId()
isAlwaysAsId
|
boolean |
isProperty()
isProperty
|
getParameters, getPropertyName, getValue, newParameters, serialize, serializePropertyNamegetSerializer, newSerializerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPropertyNamepublic boolean isAlwaysAsId()
isAlwaysAsId
isAlwaysAsId in interface IdentitySerializationInfo<T>public boolean isProperty()
isProperty
isProperty in interface IdentitySerializationInfo<T>public ObjectIdSerializer<?> 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.