CordaSerializationTransformRename - corda

corda / net.corda.core.serialization / CordaSerializationTransformRename

# CordaSerializationTransformRename

`@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

### Constructors

#### <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)`

### Properties

#### from | String representation of the properties old new `val from: String`
#### to | String representation of the properties new name `val to: String`