package Ġcom . rb k money . claim management api . converter . party . contract or Ċ Ċ import Ġcom . rb k money . claim management api . converter . Dark Api Converter Ċ import Ġcom . rb k money . dam sel . claim _ management . Contract or Modification Ċ import Ġorg . springframework . stereotype . Component Ċ import Ġcom . rb k money . dam sel . claim _ management . Contract or Modification Unit Ġas ĠThrift Contract or Modification Unit Ċ import Ġcom . rb k money . sw ag . claim _ management . model . Contract or Ġas ĠSw ag Contract or Ċ import Ġcom . rb k money . sw ag . claim _ management . model . Contract or Identification Level Ġas ĠSw ag Contract or Identification Level Ċ import Ġcom . rb k money . sw ag . claim _ management . model . Contract or Modification Ġas ĠSw ag Contract or Modification Ċ import Ġcom . rb k money . sw ag . claim _ management . model . Contract or Modification Unit Ġas ĠSw ag Contract or Modification Unit Ċ import Ġcom . rb k money . sw ag . claim _ management . model . Party Modification Type Ġas ĠSw ag Party Modification Type Ċ Ċ @ Component Ċ class ĠContract or Modification Unit Converter ( ĊĠĠĠ Ġprivate Ġval Ġclaim Contract or Converter : ĠClaim Contract or Converter , ĊĠĠĠ Ġprivate Ġval Ġidentification Level Converter : ĠContract or Identification Level Converter Ċ ) Ġ: ĠDark Api Converter < Thrift Contract or Modification Unit , ĠSw ag Contract or Modification Unit > Ġ{ ĊĊĠĠĠ Ġoverride Ġfun ĠconvertTo Thrift ( value : ĠSw ag Contract or Modification Unit ): ĠThrift Contract or Modification Unit Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġthrift Contract or Modification Ġ= ĠContract or Modification () ĊĠĠĠĠĠĠĠ Ġval Ġsw ag Modification Ġ= Ġvalue . modification ĊĠĠĠĠĠĠĠ Ġwhen Ġ( sw ag Modification . contract or Modification Type ) Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ ĠSw ag Contract or Modification . Contract or Modification TypeEnum . CONTRACT OR Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġsw ag Contract or Ġ= Ġsw ag Modification Ġas ĠSw ag Contract or ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthrift Contract or Modification . creation Ġ= Ġclaim Contract or Converter . convertTo Thrift ( sw ag Contract or ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ ĠSw ag Contract or Modification . Contract or Modification TypeEnum . CONTRACT OR IDENT IFICATION LEVEL Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġval Ġsw ag Contract or Identification Level Ġ= Ġsw ag Modification Ġas ĠSw ag Contract or Identification Level ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthrift Contract or Modification . identification Level Modification Ġ= ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġidentification Level Converter . convertTo Thrift ( sw ag Contract or Identification Level ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġthrow ĠIllegalArgumentException ( ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġ" Unknown Ġcontract or Ġmodification Ġtype : Ġ${ sw ag Modification . contract or Modification Type }" ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ) ĊĠĠĠĠĠĠĠ Ġ} ĊĊĠĠĠĠĠĠĠ Ġreturn ĠThrift Contract or Modification Unit ( value . id , Ġthrift Contract or Modification ) ĊĠĠĠ Ġ} ĊĊĠĠĠ Ġoverride Ġfun ĠconvertTo Sw ag ( value : ĠThrift Contract or Modification Unit ): ĠSw ag Contract or Modification Unit Ġ{ ĊĠĠĠĠĠĠĠ Ġval Ġthrift Modification Ġ= Ġvalue . modification ĊĠĠĠĠĠĠĠ Ġval Ġsw ag Modification Ġ= Ġwhen Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthrift Modification . isSet Creation Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġclaim Contract or Converter . convertTo Sw ag ( thrift Modification . creation ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġthrift Modification . isSet Identification Level Modification Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġidentification Level Converter . convertTo Sw ag ( thrift Modification . identification Level Modification ) ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠĠĠĠĠ Ġelse Ġ-> Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠĠĠĠĠ Ġthrow ĠIllegalArgumentException (" Unknown Ġcontract or Ġmodification Ġtype !") ĊĠĠĠĠĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠĠĠĠĠ Ġreturn ĠSw ag Contract or Modification Unit (). apply Ġ{ ĊĠĠĠĠĠĠĠĠĠĠĠ Ġid Ġ= Ġvalue . getId () ĊĠĠĠĠĠĠĠĠĠĠĠ Ġparty Modification Type Ġ= ĠSw ag Party Modification Type . Party Modification TypeEnum . CONTRACT OR MO DIF ICATION UNIT ĊĠĠĠĠĠĠĠĠĠĠĠ Ġmodification Ġ= Ġsw ag Modification ĊĠĠĠĠĠĠĠ Ġ} ĊĠĠĠ Ġ} Ċ } Ċ