public class TypeSerializationInfo<T> extends Object
| Constructor and Description |
|---|
TypeSerializationInfo(com.fasterxml.jackson.annotation.JsonTypeInfo.As include,
String propertyName)
Constructor for TypeSerializationInfo.
|
| Modifier and Type | Method and Description |
|---|---|
<S extends T> |
addTypeInfo(Class<S> clazz,
String typeInfo)
addTypeInfo
|
com.fasterxml.jackson.annotation.JsonTypeInfo.As |
getInclude()
Getter for the field
include. |
String |
getPropertyName()
Getter for the field
propertyName. |
String |
getTypeInfo(Class aClass)
getTypeInfo
|
public <S extends T> TypeSerializationInfo<T> addTypeInfo(Class<S> clazz, String typeInfo)
addTypeInfo
S - the typeclazz - a Class object.typeInfo - a String object.TypeSerializationInfo object.public com.fasterxml.jackson.annotation.JsonTypeInfo.As getInclude()
Getter for the field include.
JsonTypeInfo.As object.public String getPropertyName()
Getter for the field propertyName.
String object.Copyright © 2017. All Rights Reserved.