@Override public <S> IntermediateEventRepresentation upcast(SerializedType outputType, Class<S> expectedRepresentationType, Function<S, S> upcastFunction, Function<MetaData, MetaData> metaDataUpcastFunction) { return new UpcastedEventRepresentation<>(outputType, this, upcastFunction, metaDataUpcastFunction, expectedRepresentationType, converter); }
@Override public <T> IntermediateEventRepresentation upcast(SerializedType outputType, Class<T> expectedRepresentationType, Function<T, T> upcastFunction, Function<MetaData, MetaData> metaDataUpcastFunction) { return new UpcastedEventRepresentation<>(outputType, this, upcastFunction, metaDataUpcastFunction, expectedRepresentationType, serializer.getConverter()); }
@Override public <S> IntermediateEventRepresentation upcast(SerializedType outputType, Class<S> expectedRepresentationType, Function<S, S> upcastFunction, Function<MetaData, MetaData> metaDataUpcastFunction) { return new UpcastedEventRepresentation<>(outputType, this, upcastFunction, metaDataUpcastFunction, expectedRepresentationType, converter); }
@Override public <S> IntermediateEventRepresentation upcast(SerializedType outputType, Class<S> expectedRepresentationType, Function<S, S> upcastFunction, Function<MetaData, MetaData> metaDataUpcastFunction) { return new UpcastedEventRepresentation<>(outputType, this, upcastFunction, metaDataUpcastFunction, expectedRepresentationType, converter); }
@Override public <T> IntermediateEventRepresentation upcast(SerializedType outputType, Class<T> expectedRepresentationType, Function<T, T> upcastFunction, Function<MetaData, MetaData> metaDataUpcastFunction) { return new UpcastedEventRepresentation<>(outputType, this, upcastFunction, metaDataUpcastFunction, expectedRepresentationType, serializer.getConverter()); }
@Override public <T> IntermediateEventRepresentation upcast(SerializedType outputType, Class<T> expectedRepresentationType, Function<T, T> upcastFunction, Function<MetaData, MetaData> metaDataUpcastFunction) { return new UpcastedEventRepresentation<>(outputType, this, upcastFunction, metaDataUpcastFunction, expectedRepresentationType, serializer.getConverter()); }