@Target([AnnotationTarget.CLASS]) annotation class CordaSerializationTransformRename
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
<init> |
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. CordaSerializationTransformRename(to: String, from: String) |
from |
String representation of the properties old new val from: String |
to |
String representation of the properties new name val to: String |