public abstract class AbstractIdentitySerializationInfo<T,I> extends HasSerializer<I,JsonSerializer<I>> implements IdentitySerializationInfo<T>
| Type | Property and Description |
|---|---|
boolean |
is |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIdentitySerializationInfo(boolean alwaysAsId,
String propertyName) |
| Modifier and Type | Method and Description |
|---|---|
abstract ObjectIdSerializer<I> |
getObjectId(T bean,
JsonSerializationContext ctx) |
String |
getPropertyName() |
boolean |
isAlwaysAsId() |
boolean |
isProperty() |
getSerializer, newSerializerisProperty in interface IdentitySerializationInfo<T>protected AbstractIdentitySerializationInfo(boolean alwaysAsId,
String propertyName)
public boolean isAlwaysAsId()
isAlwaysAsId in interface IdentitySerializationInfo<T>public boolean isProperty()
isProperty in interface IdentitySerializationInfo<T>public String getPropertyName()
getPropertyName in interface IdentitySerializationInfo<T>public abstract ObjectIdSerializer<I> getObjectId(T bean, JsonSerializationContext ctx)
getObjectId in interface IdentitySerializationInfo<T>Copyright © 2016. All Rights Reserved.