org.axonframework.serializer
Interface SerializedType

All Known Implementing Classes:
SimpleSerializedType

public interface SerializedType

Describes the type of a serialized object. This information is used to decide how to deserialize an object.

Since:
2.0
Author:
Allard Buijze

Method Summary
 String getName()
          Returns the name of the serialized type.
 String getRevision()
          Returns the revision identifier of the serialized object.
 

Method Detail

getName

String getName()
Returns the name of the serialized type. This may be the class name of the serialized object, or an alias for that name.

Returns:
the name of the serialized type

getRevision

String getRevision()
Returns the revision identifier of the serialized object. This revision identifier is used by upcasters to decide how to transform serialized objects during deserialization.

Returns:
the revision identifier of the serialized object


Copyright © 2010-2016. All Rights Reserved.