org.axonframework.serializer
Interface SerializedObject<T>

Type Parameters:
T - The data type representing the serialized object
All Known Implementing Classes:
SerializedMetaData, SerializedSaga, SimpleSerializedObject

public interface SerializedObject<T>

Interface describing the structure of a serialized object.

Since:
2.0
Author:
Allard Buijze

Method Summary
 Class<T> getContentType()
          Returns the type of this representation's data.
 T getData()
          The actual data of the serialized object.
 SerializedType getType()
          Returns the description of the type of object contained in the data.
 

Method Detail

getContentType

Class<T> getContentType()
Returns the type of this representation's data.

Returns:
the type of this representation's data

getType

SerializedType getType()
Returns the description of the type of object contained in the data.

Returns:
the description of the type of object contained in the data

getData

T getData()
The actual data of the serialized object.

Returns:
the actual data of the serialized object


Copyright © 2010-2016. All Rights Reserved.