Dominic Fox b6f2532ce6
Corda 1922 serialize states with calculated values (#3938)
* Introduce SerializeForCarpenter annotation

* Apply SerializableComputedProperty annotation to Cash.exitKeys, fix bugs

* info -> trace

* Remove annotation from FungibleAsset, as we do not know whether all implementing classes will provide the property as a calculated value

* Remove redundant import

* Explicit lambda params

* Restore explicit import for Enum valueOf

* Moving and rescoping

* More meaningful error message

* Add java test and documentation

* Fix accidentally broken unit test

* Ignore superclass annotation if property not calculated in implementing class

* Exclude calculated properties from Jackson serialisation

* Fix broken test
2018-10-09 14:54:31 +01:00
..
2018-08-22 16:01:39 +01:00
2018-05-22 15:38:43 +01:00
2017-09-22 16:51:14 +01:00
2018-07-20 16:21:24 +01:00
2018-10-04 10:45:55 +01:00
2017-09-29 17:42:49 +01:00
2018-08-22 16:01:39 +01:00
2018-08-03 13:34:34 +01:00
2017-09-05 17:38:53 +01:00
2018-08-03 13:34:34 +01:00