package Ġnet . cord a . cd ms upport . states Ċ Ċ import Ġcom . reg nos ys . ro set ta . common . serial isation . Ro set ta ObjectMapper Ċ import Ġnet . cord a . cd ms upport . CD ME vent Ċ import Ġnet . cord a . core . contracts . Bel ongsTo Contract Ċ import Ġnet . cord a . core . contracts . Linear State Ċ import Ġnet . cord a . core . contracts . Unique Identifier Ċ import Ġnet . cord a . core . identity . Party Ċ Ċ @ Bel ongsTo Contract ( CD ME vent :: class ) Ċ data Ġclass ĠTransfer State ( ĊĠĠĠĠĠĠĠ Ġval Ġtransfer Json : ĠString , ĊĠĠĠĠĠĠĠ Ġval Ġevent Reference : ĠString , ĊĠĠĠĠĠĠĠ Ġval Ġexecution Reference : ĠString , ĊĠĠĠĠĠĠĠ Ġoverride Ġval Ġparticipants : ĠList < Party >, ĊĠĠĠĠĠĠĠ Ġoverride Ġval Ġlinear Id : Ġ ĠUnique Identifier Ġ= ĠUnique Identifier ()) Ġ: ĠLinear State Ġ{ ĊĊĠĠĠ Ġfun Ġtransfer (): Ġorg . is da . cd m . Transfer Primitive Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġro set ta ObjectMapper Ġ= ĠRo set ta ObjectMapper . getDefault Ro set ta ObjectMapper () ĊĠĠĠĠĠĠĠ Ġreturn Ġro set ta ObjectMapper . readValue < org . is da . cd m . Transfer Primitive >( transfer Json , Ġorg . is da . cd m . Transfer Primitive :: class . java ) ĊĠĠĠ Ġ} Ċ } Ċ