CordaSerializationTransformRename

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CordaSerializationTransformRename(val to: String, val from: String)

This annotation is used to mark a class has having had a property element. It is used by the AMQP deserializer to allow instances with different versions of the class on their Class Path to successfully deserialize the object.

NOTE: Renaming of the class itself isn't done with this annotation or, at present, supported by Corda

Properties

Link copied to clipboard

String representation of the properties old new

Link copied to clipboard
val to: String

String representation of the properties new name