Class UpcastedEventRepresentation<T>

java.lang.Object
org.axonframework.serialization.upcasting.event.UpcastedEventRepresentation<T>
Type Parameters:
T - the required type of the serialized data. If the data is not of this type the representation uses a Converter to convert to the required type.
All Implemented Interfaces:
IntermediateEventRepresentation

public class UpcastedEventRepresentation<T> extends Object implements IntermediateEventRepresentation
Implementation of an IntermediateEventRepresentation that contains upcast functions for the payload and metadata of a previous representation. Note that the upcast functions are to go from one representation to another (never to more than one). In other words, the upcast functions stored in the UpcastedEventRepresentation are not mapping one to one to the upcast method of an upcaster.
Since:
3.0
Author:
Rene de Waele