| Constructor and Description |
|---|
NamespaceTypeConfig() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getId()
Returns the type identifier.
|
Class<? extends com.esotericsoftware.kryo.Serializer> |
getSerializer()
Returns the serializer class.
|
Class<?> |
getType()
Returns the serializable type.
|
NamespaceTypeConfig |
setId(Integer id)
Sets the type identifier.
|
NamespaceTypeConfig |
setSerializer(Class<? extends com.esotericsoftware.kryo.Serializer> serializer)
Sets the serializer class.
|
NamespaceTypeConfig |
setType(Class<?> type)
Sets the serializable type.
|
public Class<?> getType()
public NamespaceTypeConfig setType(Class<?> type)
type - the serializable typepublic Integer getId()
public NamespaceTypeConfig setId(Integer id)
id - the type identifierpublic Class<? extends com.esotericsoftware.kryo.Serializer> getSerializer()
public NamespaceTypeConfig setSerializer(Class<? extends com.esotericsoftware.kryo.Serializer> serializer)
serializer - the serializer classCopyright © 2013–2018. All rights reserved.