public class MT548_MxSese02700201_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT548_MxSese02700201_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT548_MxSese02700201_Translation(MxId mxId,
String mxDescription)
This constructor is intended for subclasses to override the translation rules for other versions of MX.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
logicalMessageCriteriaCheck(MT548 source)
Message criteria check
This method checks the content of the source MT548 and determines if it can be translated to the target MxSese02700201 SELECT CRITERIA MustBe (MT548 Settlement Status and Processing Advice\A\23G Function of the Message\23G\Function IsSameString 'CAST') MustBe (MT548 Settlement Status and Processing Advice\A1[*]\20C Reference\RELA IsPresent) MustBe (MT548 Settlement Status and Processing Advice\A2[*]\25D Status\CPRC IsPresent) END |
List<PreconditionError> |
preconditionsCheck(MT548 source)
Precondition check
This method checks the precondition on the content of the source MT548 |
void |
preconditionSR1Check(MT548 source)
Precondition check
This method checks the precondition SR1 on the content of the source MT548 IF ((MT548 Settlement Status and Processing Advice\A2[*]\25D Status\CPRC Count) GreaterThan '1') THEN Fail ('05001', 'Only one status CPRC by message.', MT548 Settlement Status and Processing Advice\A2[*]\25D Status\CPRC) END |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSese02700201 |
translate(MT548 source)
Main entry point for the translation
|
protected void |
translateImpl(MT548 source)
Translation rules implementation
|
protected void |
translateTTR1(String targetElement,
MtPathResult content)
Translate method TTR1
1 TRANSLATE(98A, DateAndDateTimeChoice) 2 RULE 3 NODE (Date) 4 (Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) CopyTo Date 5 END 6 END 7 END |
protected void |
translateTTR10(String targetElement,
MtPathResult content)
Translate method TTR10
103 TRANSLATE(24B_10, AcknowledgementReason6Choice) 104 RULE 105 NODE (Code) 106 IF (Not (DataSourceScheme IsPresent)) 107 THEN 108 ReasonCode TranslateTo Code 109 END 110 END 111 NODE (Proprietary) 112 DataSourceScheme TranslateTo Proprietary 113 NODE (Identification) 114 IF (DataSourceScheme IsPresent) 115 THEN 116 ReasonCode CopyTo Proprietary\Identification 117 END 118 END 119 END 120 END 121 END |
protected void |
translateTTR11(String targetElement,
String content)
Translate method TTR11
122 TRANSLATE(OptionalCode_4!c_85, AcknowledgementReason3Code) 123 RULE 124 'ADEA' EquivalentTo 'ADEA' 125 'NARR' EquivalentTo 'OTHR' 126 'SMPG' EquivalentTo 'SMPG' 127 END 128 END |
protected void |
translateTTR12(String targetElement,
MtPathResult content)
Translate method TTR12
129 TRANSLATE(24B_8, DeniedReason6Choice) 130 RULE 131 NODE (Code) 132 IF (Not (DataSourceScheme IsPresent)) 133 THEN 134 ReasonCode TranslateTo Code 135 END 136 END 137 NODE (Proprietary) 138 DataSourceScheme TranslateTo Proprietary 139 NODE (Identification) 140 IF (DataSourceScheme IsPresent) 141 THEN 142 ReasonCode CopyTo Proprietary\Identification 143 END 144 END 145 END 146 END 147 END |
protected void |
translateTTR13(String targetElement,
String content)
Translate method TTR13
148 TRANSLATE(OptionalCode_4!c_83, DeniedReason4Code) 149 RULE 150 'ADEA' EquivalentTo 'ADEA' 151 'DCAN' EquivalentTo 'DCAN' 152 'DPRG' EquivalentTo 'DPRG' 153 'DREP' EquivalentTo 'DREP' 154 'DSET' EquivalentTo 'DSET' 155 'LATE' EquivalentTo 'LATE' 156 'NARR' EquivalentTo 'OTHR' 157 END 158 END |
protected void |
translateTTR14(String targetElement,
MtPathResult content)
Translate method TTR14
159 TRANSLATE(24B_46, CancellationReason7Choice) 160 RULE 161 NODE (Code) 162 IF (Not (DataSourceScheme IsPresent)) 163 THEN 164 ReasonCode TranslateTo Code 165 END 166 END 167 NODE (Proprietary) 168 NODE (Identification) 169 IF (DataSourceScheme IsPresent) 170 THEN 171 ReasonCode CopyTo Proprietary\Identification 172 END 173 END 174 DataSourceScheme TranslateTo Proprietary 175 END 176 END 177 END |
protected void |
translateTTR15(String targetElement,
String content)
Translate method TTR15
178 TRANSLATE(OptionalCode_4!c_264, CancelledStatusReason5Code) 179 RULE 180 'CANI' EquivalentTo 'CANI' 181 'NARR' EquivalentTo 'OTHR' 182 END 183 END |
protected void |
translateTTR16(String targetElement,
MtPathResult content)
Translate method TTR16
184 TRANSLATE(95P_2, PartyIdentification18Choice) 185 RULE 186 NODE (BICOrBEI) 187 IdentifierCode TranslateTo BICOrBEI 188 END 189 END 190 END |
protected void |
translateTTR17(String targetElement,
String content)
Translate method TTR17
191 TRANSLATE(Identifier_BICBEI, AnyBICIdentifier) 192 RULE 193 Identifier_BICBEI CopyTo AnyBICIdentifier 194 END 195 END |
protected void |
translateTTR18(String targetElement,
MtPathResult content)
Translate method TTR18
196 TRANSLATE(95R, PartyIdentification18Choice) 197 RULE 198 NODE (ProprietaryIdentification) 199 NODE (Identification) 200 ProprietaryCode TranslateTo ProprietaryIdentification\Identification 201 END 202 DataSourceScheme TranslateTo ProprietaryIdentification 203 END 204 END 205 END |
protected void |
translateTTR19(String targetElement,
String content)
Translate method TTR19
206 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 207 RULE 208 Text_FIN_34x CopyTo RestrictedFINXMax34Text 209 END 210 END |
protected void |
translateTTR2(String targetElement,
MtPathResult content)
Translate method TTR2
8 TRANSLATE(98C, DateAndDateTimeChoice) 9 RULE 10 NODE (DateTime) 11 (Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) CopyTo DateTime 12 'T' CopyTo DateTime 13 (Time FormatDateTime ('MT_HHMMSS', 'MX_Time')) CopyTo DateTime 14 END 15 END 16 END |
protected void |
translateTTR20(String targetElement,
String content)
Translate method TTR20
211 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 212 RULE 213 NODE (Issuer) 214 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 215 END 216 NODE (SchemeName) 217 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 218 THEN 219 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 220 END 221 END 222 END 223 END |
protected void |
translateTTR21(String targetElement,
MtPathResult content)
Translate method TTR21
224 TRANSLATE(97A, SecuritiesAccount17) 225 RULE 226 NODE (Identification) 227 AccountNumber TranslateTo Identification 228 END 229 END 230 END |
protected void |
translateTTR22(String targetElement,
String content)
Translate method TTR22
231 TRANSLATE(Identifier_FIN_35x, RestrictedFINXMax35Text) 232 RULE 233 Identifier_FIN_35x CopyTo RestrictedFINXMax35Text 234 END 235 END |
protected void |
translateTTR23(String targetElement,
MtPathResult content)
Translate method TTR23
236 TRANSLATE(97B_2, SecuritiesAccount17) 237 RULE 238 NODE (Identification) 239 AccountNumber CopyTo Identification 240 END 241 NODE (Type) 242 NODE (Identification) 243 AccountTypeCode CopyTo Type\Identification 244 END 245 DataSourceScheme TranslateTo Type 246 NODE (Issuer) 247 IF (Not (DataSourceScheme IsPresent)) 248 THEN 249 'NONE' CopyTo Type\Issuer 250 END 251 END 252 END 253 END 254 END |
protected void |
translateTTR24(String targetElement,
MtPathResult content)
Translate method TTR24
255 TRANSLATE(Identifier_Isin, ISINIdentifier) 256 RULE 257 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 258 END 259 END |
protected void |
translateTTR25(String targetElement,
MtPathResult content)
Translate method TTR25
260 TRANSLATE(35B, AlternateIdentification2) 261 RULE 262 NODE (Identification) 263 IF (((((DescriptionOfSecurity\Line[1] Substring ('1', '1')) IsSameString '/') And (((DescriptionOfSecurity\Line[1] Substring ('2', '2')) IsCountry) And ((DescriptionOfSecurity\Line[1] Substring ('4', '1')) IsSameString '/'))) Or ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/XX/')) Or ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/TS/')) 264 THEN 265 (DescriptionOfSecurity\Line[1] Substring '5') CopyTo Identification 266 ELSE 267 IF (Not (IdentificationOfSecurity IsPresent)) 268 THEN 269 IF ((DescriptionOfSecurity\Line[1] Length) LessThanOrEqualTo '31') 270 THEN 271 (DescriptionOfSecurity\Line[1] TrimLeft '/') CopyTo Identification 272 ELSE 273 (DescriptionOfSecurity\Line[1] Substring ('1', '31')) CopyTo Identification 274 END 275 END 276 END 277 END 278 NODE (IdentificationSource) 279 NODE (Domestic) 280 IF (((DescriptionOfSecurity\Line[1] Substring ('1', '1')) IsSameString '/') And (((DescriptionOfSecurity\Line[1] Substring ('2', '2')) IsCountry) And ((DescriptionOfSecurity\Line[1] Substring ('4', '1')) IsSameString '/'))) 281 THEN 282 (DescriptionOfSecurity\Line[1] Substring ('2', '2')) CopyTo IdentificationSource\Domestic 283 END 284 END 285 NODE (Proprietary) 286 IF (((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/TS/') Or ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/XX/')) 287 THEN 288 (DescriptionOfSecurity\Line[1] Substring ('2', '2')) CopyTo IdentificationSource\Proprietary 289 END 290 IF ((((Not (((DescriptionOfSecurity\Line[1] Substring ('1', '1')) IsSameString '/') And (((DescriptionOfSecurity\Line[1] Substring ('2', '2')) IsCountry) And ((DescriptionOfSecurity\Line[1] Substring ('4', '1')) IsSameString '/')))) And (Not ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/XX/'))) And (Not ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/TS/'))) And (Not (IdentificationOfSecurity IsPresent))) 291 THEN 292 'XX' CopyTo IdentificationSource\Proprietary 293 END 294 END 295 END 296 END 297 END |
protected void |
translateTTR26(String targetElement,
MtPathResult content)
Translate method TTR26
298 TRANSLATE(Text_FIN_4M35x, RestrictedFINXMax140Text) 299 RULE 300 ((Line[2] Concatenate (Line[3] Concatenate Line[4])) TrimRight ' ') CopyTo RestrictedFINXMax140Text 301 END 302 END |
protected void |
translateTTR27(String targetElement,
MtPathResult content)
Translate method TTR27
303 TRANSLATE(Text_FIN_4M35x, RestrictedFINXMax140Text) 304 RULE 305 (Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 306 END 307 END |
protected void |
translateTTR28(String targetElement,
MtPathResult content)
Translate method TTR28
308 TRANSLATE(36B, FinancialInstrumentQuantity15Choice) 309 RULE 310 NODE (Unit) 311 IF (QuantityTypeCode IsSameString 'UNIT') 312 THEN 313 Quantity TranslateTo Unit 314 END 315 END 316 NODE (FaceAmount) 317 IF (QuantityTypeCode IsSameString 'FAMT') 318 THEN 319 Quantity TranslateTo FaceAmount 320 END 321 END 322 NODE (AmortisedValue) 323 IF (QuantityTypeCode IsSameString 'AMOR') 324 THEN 325 Quantity TranslateTo AmortisedValue 326 END 327 END 328 END 329 END |
protected void |
translateTTR29(String targetElement,
String content)
Translate method TTR29
330 TRANSLATE(Quantity_FIN_15d, RestrictedFINDecimalNumber) 331 RULE 332 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINDecimalNumber 333 END 334 END |
protected void |
translateTTR3(String targetElement,
MtPathResult content)
Translate method TTR3
17 TRANSLATE(98E_1, DateAndDateTimeChoice) 18 RULE 19 NODE (DateTime) 20 IF (Decimals IsPresent) 21 THEN 22 ((((((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T') Concatenate (Time FormatDateTime ('MT_HHMMSS', 'MX_Time'))) Concatenate '.') Concatenate Decimals) Concatenate (UTCIndicator FormatDateTime ('MT_UTCIndicator', 'MX_TimeOffset'))) CopyTo DateTime 23 ELSE 24 ((((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T') Concatenate (Time FormatDateTime ('MT_HHMMSS', 'MX_Time'))) Concatenate (UTCIndicator FormatDateTime ('MT_UTCIndicator', 'MX_TimeOffset'))) CopyTo DateTime 25 END 26 END 27 END 28 END |
protected void |
translateTTR30(String targetElement,
String content)
Translate method TTR30
335 TRANSLATE(Quantity_FIN_15d, RestrictedFINImpliedCurrencyAndAmount) 336 RULE 337 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINImpliedCurrencyAndAmount 338 END 339 END |
protected void |
translateTTR31(String targetElement,
MtPathResult content)
Translate method TTR31
340 TRANSLATE(36B, OriginalAndCurrentQuantities4) 341 RULE 342 NODE (FaceAmount) 343 IF (QuantityTypeCode IsSameString 'FAMT') 344 THEN 345 Quantity TranslateTo FaceAmount 346 END 347 END 348 NODE (AmortisedValue) 349 IF (QuantityTypeCode IsSameString 'AMOR') 350 THEN 351 Quantity TranslateTo AmortisedValue 352 END 353 END 354 END 355 END |
protected void |
translateTTR32(String targetElement,
MtPathResult content)
Translate method TTR32
356 TRANSLATE(19A, RestrictedFINActiveOrHistoricCurrencyAndAmount) 357 RULE 358 NODE (Amount) 359 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 360 THEN 361 Amount TranslateTo Amount 362 ELSE 363 Fail ('05052', 'Number of fractional digits in amount or price field has been exceeded', Amount) 364 END 365 END 366 NODE (Currency) 367 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 368 THEN 369 CurrencyCode TranslateTo Currency 370 ELSE 371 Fail ('05052', 'Number of fractional digits in amount or price field has been exceeded', Amount) 372 END 373 END 374 END 375 END |
protected void |
translateTTR33(String targetElement,
String content)
Translate method TTR33
376 TRANSLATE(Amount_FIN_15d, RestrictedFINActiveOrHistoricCurrencyAndAmount\Amount) 377 RULE 378 (Amount_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINActiveOrHistoricCurrencyAndAmount\Amount 379 END 380 END |
protected void |
translateTTR34(String targetElement,
String content)
Translate method TTR34
381 TRANSLATE(Currency, ActiveOrHistoricCurrencyCode) 382 RULE 383 Currency CopyTo ActiveOrHistoricCurrencyCode 384 END 385 END |
protected void |
translateTTR35(String targetElement,
MtPathResult content)
Translate method TTR35
386 TRANSLATE(19A, AmountAndDirection12) 387 RULE 388 NODE (Amount) 389 NODE (Amount) 390 Amount TranslateTo Amount\Amount 391 END 392 NODE (Currency) 393 CurrencyCode TranslateTo Amount\Currency 394 END 395 END 396 NODE (CreditDebitIndicator) 397 19A TranslateTo CreditDebitIndicator 398 END 399 END 400 END |
protected void |
translateTTR36(String targetElement,
String content)
Translate method TTR36
401 TRANSLATE(Amount_FIN_15d, RestrictedFINActiveCurrencyAndAmount\Amount) 402 RULE 403 (Amount_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINActiveCurrencyAndAmount\Amount 404 END 405 END |
protected void |
translateTTR37(String targetElement,
String content)
Translate method TTR37
406 TRANSLATE(Currency, ActiveCurrencyCode) 407 RULE 408 Currency CopyTo ActiveCurrencyCode 409 END 410 END |
protected void |
translateTTR38(String targetElement,
Field field)
Translate method TTR38
411 TRANSLATE(19A, CreditDebitCode) 412 RULE 413 IF (Not (Sign IsPresent)) 414 THEN 415 'CRDT' CopyTo CreditDebitCode 416 ELSE 417 'DBIT' CopyTo CreditDebitCode 418 END 419 END 420 END |
protected void |
translateTTR39(String targetElement,
MtPathResult content)
Translate method TTR39
421 TRANSLATE(19A, AmountAndDirection12) 422 RULE 423 NODE (Amount) 424 NODE (Amount) 425 Amount TranslateTo Amount\Amount 426 END 427 NODE (Currency) 428 CurrencyCode TranslateTo Amount\Currency 429 END 430 END 431 NODE (CreditDebitIndicator) 432 19A TranslateTo CreditDebitIndicator 433 END 434 END 435 END |
protected void |
translateTTR4(String targetElement,
MtPathResult content)
Translate method TTR4
29 TRANSLATE(24B_5, PendingReason9Choice) 30 RULE 31 NODE (Code) 32 IF (Not (DataSourceScheme IsPresent)) 33 THEN 34 ReasonCode TranslateTo Code 35 END 36 END 37 NODE (Proprietary) 38 DataSourceScheme TranslateTo Proprietary 39 NODE (Identification) 40 IF (DataSourceScheme IsPresent) 41 THEN 42 ReasonCode CopyTo Proprietary\Identification 43 END 44 END 45 END 46 END 47 END |
protected void |
translateTTR40(String targetElement,
Field field)
Translate method TTR40
436 TRANSLATE(19A, CreditDebitCode) 437 RULE 438 IF (Not (Sign IsPresent)) 439 THEN 440 'DBIT' CopyTo CreditDebitCode 441 ELSE 442 'CRDT' CopyTo CreditDebitCode 443 END 444 END 445 END |
protected void |
translateTTR41(String targetElement,
MtPathResult content)
Translate method TTR41
446 TRANSLATE(98A, TradeDate2Choice) 447 RULE 448 NODE (Date) 449 NODE (Date) 450 Date TranslateTo Date\Date 451 END 452 END 453 END 454 END |
protected void |
translateTTR42(String targetElement,
String content)
Translate method TTR42
455 TRANSLATE(DateTime_YYYYMMDD, ISODate) 456 RULE 457 (DateTime_YYYYMMDD FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) CopyTo ISODate 458 END 459 END |
protected void |
translateTTR43(String targetElement,
MtPathResult content)
Translate method TTR43
460 TRANSLATE(98B_2, TradeDate2Choice) 461 RULE 462 NODE (DateCode) 463 NODE (Code) 464 IF (Not (DataSourceScheme IsPresent)) 465 THEN 466 DateCode TranslateTo DateCode\Code 467 END 468 END 469 NODE (Proprietary) 470 DataSourceScheme TranslateTo DateCode\Proprietary 471 NODE (Identification) 472 IF (DataSourceScheme IsPresent) 473 THEN 474 DateCode CopyTo DateCode\Proprietary\Identification 475 END 476 END 477 END 478 END 479 END 480 END |
protected void |
translateTTR44(String targetElement,
String content)
Translate method TTR44
481 TRANSLATE(OptionalCode_4!c_56, DateType3Code) 482 RULE 483 'VARI' EquivalentTo 'VARI' 484 END 485 END |
protected void |
translateTTR45(String targetElement,
MtPathResult content)
Translate method TTR45
486 TRANSLATE(98C, TradeDate2Choice) 487 RULE 488 NODE (Date) 489 98C TranslateTo Date 490 END 491 END 492 END |
protected void |
translateTTR46(String targetElement,
MtPathResult content)
Translate method TTR46
493 TRANSLATE(98E_1, TradeDate2Choice) 494 RULE 495 NODE (Date) 496 98E_1 TranslateTo Date 497 END 498 END 499 END |
protected void |
translateTTR47(String targetElement,
MtPathResult content)
Translate method TTR47
500 TRANSLATE(98A, SettlementDate6Choice) 501 RULE 502 NODE (Date) 503 NODE (Date) 504 Date TranslateTo Date\Date 505 END 506 END 507 END 508 END |
protected void |
translateTTR48(String targetElement,
MtPathResult content)
Translate method TTR48
509 TRANSLATE(98B_3, SettlementDate6Choice) 510 RULE 511 NODE (DateCode) 512 NODE (Code) 513 IF (Not (DataSourceScheme IsPresent)) 514 THEN 515 DateCode TranslateTo DateCode\Code 516 END 517 END 518 NODE (Proprietary) 519 DataSourceScheme TranslateTo DateCode\Proprietary 520 NODE (Identification) 521 IF (DataSourceScheme IsPresent) 522 THEN 523 DateCode CopyTo DateCode\Proprietary\Identification 524 END 525 END 526 END 527 END 528 END 529 END |
protected void |
translateTTR49(String targetElement,
String content)
Translate method TTR49
530 TRANSLATE(OptionalCode_4!c_101, DateType4Code) 531 RULE 532 'OPEN' EquivalentTo 'OPEN' 533 'UKWN' EquivalentTo 'UKWN' 534 END 535 END |
protected void |
translateTTR5(String targetElement,
String content)
Translate method TTR5
48 TRANSLATE(OptionalCode_4!c_80, PendingReason6Code) 49 RULE 50 'ADEA' EquivalentTo 'ADEA' 51 'CONF' EquivalentTo 'CONF' 52 'NARR' EquivalentTo 'OTHR' 53 END 54 END |
protected void |
translateTTR50(String targetElement,
MtPathResult content)
Translate method TTR50
536 TRANSLATE(98C, SettlementDate6Choice) 537 RULE 538 NODE (Date) 539 98C TranslateTo Date 540 END 541 END 542 END |
protected void |
translateTTR51(String targetElement,
MtPathResult content)
Translate method TTR51
543 TRANSLATE(95C, PartyIdentification17Choice) 544 RULE 545 NODE (Country) 546 CountryCode CopyTo Country 547 END 548 END 549 END |
protected void |
translateTTR52(String targetElement,
MtPathResult content)
Translate method TTR52
550 TRANSLATE(95Q, PartyIdentification17Choice) 551 RULE 552 NODE (NameAndAddress) 553 NameAndAddress TranslateTo NameAndAddress 554 END 555 END 556 END |
protected void |
translateTTR53(String targetElement,
String content)
Translate method TTR53
557 TRANSLATE(Text_FIN_4M35x, NameAndAddress12) 558 RULE 559 NODE (Name) 560 ((Line[*] ConcatenateWithSeparator '-') ReplaceAll ('/', '-')) CopyTo Name 561 END 562 END 563 END |
protected void |
translateTTR54(String targetElement,
MtPathResult content)
Translate method TTR54
564 TRANSLATE(95P_2, PartyIdentification17Choice) 565 RULE 566 NODE (BICOrBEI) 567 IdentifierCode TranslateTo BICOrBEI 568 END 569 END 570 END |
protected void |
translateTTR55(String targetElement,
MtPathResult content)
Translate method TTR55
571 TRANSLATE(95P_2, PartyIdentification16Choice) 572 RULE 573 NODE (BICOrBEI) 574 IdentifierCode TranslateTo BICOrBEI 575 END 576 END 577 END |
protected void |
translateTTR56(String targetElement,
MtPathResult content)
Translate method TTR56
578 TRANSLATE(95R, PartyIdentification16Choice) 579 RULE 580 NODE (ProprietaryIdentification) 581 NODE (Identification) 582 ProprietaryCode TranslateTo ProprietaryIdentification\Identification 583 END 584 DataSourceScheme TranslateTo ProprietaryIdentification 585 END 586 END 587 END |
protected void |
translateTTR57(String targetElement,
MtPathResult content)
Translate method TTR57
588 TRANSLATE(95Q, PartyIdentification16Choice) 589 RULE 590 NODE (NameAndAddress) 591 NameAndAddress TranslateTo NameAndAddress 592 END 593 END 594 END |
protected void |
translateTTR58(String targetElement,
MtPathResult content)
Translate method TTR58
595 TRANSLATE(95C, PartyIdentification15Choice) 596 RULE 597 NODE (Country) 598 CountryCode CopyTo Country 599 END 600 END 601 END |
protected void |
translateTTR59(String targetElement,
MtPathResult content)
Translate method TTR59
602 TRANSLATE(95Q, PartyIdentification15Choice) 603 RULE 604 NODE (NameAndAddress) 605 NameAndAddress TranslateTo NameAndAddress 606 END 607 END 608 END |
protected void |
translateTTR6(String targetElement,
MtPathResult content)
Translate method TTR6
55 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 56 RULE 57 NODE (Issuer) 58 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 59 END 60 NODE (SchemeName) 61 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 62 THEN 63 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 64 END 65 END 66 END 67 END |
protected void |
translateTTR60(String targetElement,
MtPathResult content)
Translate method TTR60
609 TRANSLATE(95P_2, PartyIdentification15Choice) 610 RULE 611 NODE (BICOrBEI) 612 IdentifierCode TranslateTo BICOrBEI 613 END 614 END 615 END |
protected void |
translateTTR61(String targetElement,
MtPathResult content)
Translate method TTR61
616 TRANSLATE(95R, PartyIdentification15Choice) 617 RULE 618 NODE (ProprietaryIdentification) 619 DataSourceScheme TranslateTo ProprietaryIdentification 620 NODE (Identification) 621 ProprietaryCode CopyTo ProprietaryIdentification\Identification 622 END 623 END 624 END 625 END |
protected void |
translateTTR7(String targetElement,
MtPathResult content)
Translate method TTR7
68 TRANSLATE(70D, RestrictedFINXMax210Text) 69 RULE 70 (Narrative\Line[*] Concatenate) CopyTo RestrictedFINXMax210Text 71 END 72 END |
protected void |
translateTTR8(String targetElement,
MtPathResult content)
Translate method TTR8
73 TRANSLATE(24B_62, RejectionAndRepairReason6Choice) 74 RULE 75 NODE (Code) 76 IF (Not (DataSourceScheme IsPresent)) 77 THEN 78 ReasonCode TranslateTo Code 79 END 80 END 81 NODE (Proprietary) 82 DataSourceScheme TranslateTo Proprietary 83 NODE (Identification) 84 IF (DataSourceScheme IsPresent) 85 THEN 86 ReasonCode CopyTo Proprietary\Identification 87 END 88 END 89 END 90 END 91 END |
protected void |
translateTTR9(String targetElement,
String content)
Translate method TTR9
92 TRANSLATE(OptionalCode_4!c_382, RejectionReason21Code) 93 RULE 94 'ADEA' EquivalentTo 'ADEA' 95 'LATE' EquivalentTo 'LATE' 96 'SAFE' EquivalentTo 'SAFE' 97 'NRGM' EquivalentTo 'NRGM' 98 'NRGN' EquivalentTo 'NRGN' 99 'NARR' EquivalentTo 'OTHR' 100 'REFE' EquivalentTo 'REFE' 101 END 102 END |
public MT548_MxSese02700201_Translation()
public final MxSese02700201 translate(MT548 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT548 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT548 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT548 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translateTTR1(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR2(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR3(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR4(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR5(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR6(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR7(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR8(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR9(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR10(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR11(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR12(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR13(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR14(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR15(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR16(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR17(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR18(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR19(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR20(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR21(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR22(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR23(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR24(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR25(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR26(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR27(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR28(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR29(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR30(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR31(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR32(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR33(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR34(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR35(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR36(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR37(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR38(String targetElement, Field field)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR39(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR40(String targetElement, Field field)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR41(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR42(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR43(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR44(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR45(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR46(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR47(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR48(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR49(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR50(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR51(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR52(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR53(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR54(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR55(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR56(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR57(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR58(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR59(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR60(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateTTR61(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedpublic final Boolean logicalMessageCriteriaCheck(MT548 source)
source
- a well formed MT548 objectpublic final void preconditionSR1Check(MT548 source) throws TranslationPreconditionException
source
- a well formed MT548 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MT548 source)