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