public class MT568_MxSeev03100202_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT568_MxSeev03100202_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT568_MxSeev03100202_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(MT568 source)
Message criteria check
This method checks the content of the source MT568 and determines if it can be translated to the target MxSeev03100202 SELECT CRITERIA MustBe (((((A\23G Function of the Message\23G\Function IsSameString 'NEWM') And (Not (((C\70a Narrative\REGI[*] IsPresent) Or (C\70a Narrative\TAXE[*] IsPresent)) Or ((C\70a Narrative\ADTX[*] IsPresent) And (A\22F Indicator\CAEV\22F\Indicator IsSameString 'WTRC'))))) Or (A\23G Function of the Message\23G\Function IsSameString 'REPE')) Or (A\23G Function of the Message\23G\Function IsSameString 'REPL')) Or (A\23G Function of the Message\23G\Function IsSameString 'RMDR')) MustBe (A1[*]\20C Reference\PREV IsPresent) END |
List<PreconditionError> |
preconditionsCheck(MT568 source)
Precondition check
This method checks the precondition on the content of the source MT568 |
void |
preconditionSR1Check(MT568 source)
Precondition check
This method checks the precondition SR1 on the content of the source MT568 IF ((B\97a Account\SAFE\97C\Account Code IsSameString 'GENR') And (((B\95a Party\ACOW IsPresent) Or (B\94a Place\SAFE IsPresent)) Or (B\93a Balance IsPresent))) THEN Fail ('06005', 'If 97C GENR is present, then the other elements must not be present.', B\95a Party\ACOW, B\97a Account\SAFE\97C, B\94a Place\SAFE, B\93a Balance) END |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSeev03100202 |
translate(MT568 source)
Main entry point for the translation
|
protected void |
translate11A_ActiveOrHistoricCurrencyCode_Default(String targetElement,
MtPathResult content)
Translate method 11A -> ActiveOrHistoricCurrencyCode : Default
521 TRANSLATE(11A, ActiveOrHistoricCurrencyCode) 522 RULE 523 Currency Code CopyTo ActiveOrHistoricCurrencyCode 524 END 525 END |
protected void |
translate12A_GenericIdentification23_Default(String targetElement,
MtPathResult content)
Translate method 12A -> GenericIdentification23 : Default
507 TRANSLATE(12A, GenericIdentification23) 508 RULE 509 NODE (Identification) 510 Instrument Code or Description CopyTo Identification 511 END 512 Data Source Scheme TranslateTo GenericIdentification23 513 NODE (Issuer) 514 IF (Not (Data Source Scheme IsPresent)) 515 THEN 516 'NONE' CopyTo Issuer 517 END 518 END 519 END 520 END |
protected void |
translate12C_CFIIdentifier_Default(String targetElement,
MtPathResult content)
Translate method 12C -> CFIIdentifier : Default
502 TRANSLATE(12C, CFIIdentifier) 503 RULE 504 CFI Code CopyTo CFIIdentifier 505 END 506 END |
protected void |
translate13A_DocumentNumber2Choice_Default(String targetElement,
MtPathResult content)
Translate method 13A -> DocumentNumber2Choice : Default
147 TRANSLATE(13A, DocumentNumber2Choice) 148 RULE 149 NODE (ShortNumber) 150 Number Id CopyTo ShortNumber 151 END 152 END 153 END |
protected void |
translate13B_DocumentNumber2Choice_Default(String targetElement,
MtPathResult content)
Translate method 13B -> DocumentNumber2Choice : Default
154 TRANSLATE(13B, DocumentNumber2Choice) 155 RULE 156 NODE (LongNumber) 157 IF (Not (Data Source Scheme IsPresent)) 158 THEN 159 Number CopyTo LongNumber 160 END 161 END 162 NODE (ProprietaryNumber) 163 NODE (Identification) 164 IF (Data Source Scheme IsPresent) 165 THEN 166 Number CopyTo ProprietaryNumber\Identification 167 END 168 END 169 Data Source Scheme TranslateTo ProprietaryNumber 170 END 171 END 172 END |
protected void |
translate20C_Max35Text_Default(String targetElement,
MtPathResult content)
Translate method 20C -> Max35Text : Default
62 TRANSLATE(20C, Max35Text) 63 RULE 64 Reference TranslateTo Max35Text 65 END 66 END |
protected void |
translate20C_RestrictedFINXMax16Text_Default(String targetElement,
MtPathResult content)
Translate method 20C -> RestrictedFINXMax16Text : Default
97 TRANSLATE(20C, RestrictedFINXMax16Text) 98 RULE 99 Reference TranslateTo RestrictedFINXMax16Text 100 END 101 END |
protected void |
translate22F_154_InterestComputationMethodFormat2Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_154 -> InterestComputationMethodFormat2Choice : Default
464 TRANSLATE(22F_154, InterestComputationMethodFormat2Choice) 465 RULE 466 NODE (Code) 467 IF (Not (Data Source Scheme IsPresent)) 468 THEN 469 Indicator TranslateTo Code 470 END 471 END 472 NODE (Proprietary) 473 Data Source Scheme TranslateTo Proprietary 474 NODE (Identification) 475 IF (Data Source Scheme IsPresent) 476 THEN 477 Indicator CopyTo Proprietary\Identification 478 END 479 END 480 END 481 END 482 END |
protected void |
translate22F_2_ProcessingPosition3Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_2 -> ProcessingPosition3Choice : Default
107 TRANSLATE(22F_2, ProcessingPosition3Choice) 108 RULE 109 NODE (Code) 110 IF (Not (Data Source Scheme IsPresent)) 111 THEN 112 Indicator TranslateTo Code 113 END 114 END 115 NODE (Proprietary) 116 Data Source Scheme TranslateTo Proprietary 117 NODE (Identification) 118 IF (Data Source Scheme IsPresent) 119 THEN 120 Indicator CopyTo Proprietary\Identification 121 END 122 END 123 END 124 END 125 END |
protected void |
translate22F_244_CorporateActionEventType4Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_244 -> CorporateActionEventType4Choice : Default
186 TRANSLATE(22F_244, CorporateActionEventType4Choice) 187 RULE 188 NODE (Code) 189 IF (Not (Data Source Scheme IsPresent)) 190 THEN 191 Indicator TranslateTo Code 192 END 193 END 194 NODE (Proprietary) 195 Data Source Scheme TranslateTo Proprietary 196 NODE (Identification) 197 IF (Data Source Scheme IsPresent) 198 THEN 199 Indicator CopyTo Proprietary\Identification 200 END 201 END 202 END 203 END 204 END |
protected void |
translate35B_OtherIdentification2_Default(String targetElement,
Field field)
Translate method 35B -> OtherIdentification2 : Default
290 TRANSLATE(35B, OtherIdentification2) 291 RULE 292 NODE (Identification) 293 IF ((((((Description of Security\Line[1] Substring ('1', '1')) IsSameString '/') And (((Description of Security\Line[1] Substring ('2', '2')) IsCountry) And ((Description of Security\Line[1] Substring ('4', '1')) IsSameString '/'))) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/')) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/')) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/')) 294 THEN 295 IF (((Description of Security\Line[1] Substring '5') Length) GreaterThan '0') 296 THEN 297 (Description of Security\Line[1] Substring '5') CopyTo Identification 298 ELSE 299 'Not available.' CopyTo Identification 300 END 301 ELSE 302 IF (((Description of Security\Line[1] Substring ('1', '1')) IsSameString '/') And ((((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'BLOM') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'CMED') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'CTAC') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'ISDU') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'ISDX') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'LCHD') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'OCCS') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'OPRA') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'RCMD') Or ((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'RICC')))))))))) And ((Description of Security\Line[1] Substring ('6', '1')) IsSameString '/'))) 303 THEN 304 IF (((Description of Security\Line[1] Substring '7') Length) GreaterThan '0') 305 THEN 306 (Description of Security\Line[1] Substring '7') CopyTo Identification 307 ELSE 308 'Not available.' CopyTo Identification 309 END 310 END 311 END 312 END 313 NODE (Type) 314 NODE (Code) 315 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/') 316 THEN 317 'TIKR' CopyTo Type\Code 318 END 319 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/') 320 THEN 321 'COMM' CopyTo Type\Code 322 END 323 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/BE/') 324 THEN 325 'BELC' CopyTo Type\Code 326 END 327 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/US/') 328 THEN 329 'CUSP' CopyTo Type\Code 330 END 331 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/GB/') 332 THEN 333 'SEDL' CopyTo Type\Code 334 END 335 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/JP/') 336 THEN 337 'SICC' CopyTo Type\Code 338 END 339 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/CH/') 340 THEN 341 'VALO' CopyTo Type\Code 342 END 343 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/DE/') 344 THEN 345 'WKNR' CopyTo Type\Code 346 END 347 IF (((Description of Security\Line[1] Substring ('1', '1')) IsSameString '/') And ((((Description of Security\Line[1] Substring ('2', '2')) IsCountry) And (Not (((Description of Security\Line[1] Substring ('2', '2')) IsSameString 'BE') Or (((Description of Security\Line[1] Substring ('2', '2')) IsSameString 'US') Or (((Description of Security\Line[1] Substring ('2', '2')) IsSameString 'GB') Or (((Description of Security\Line[1] Substring ('2', '2')) IsSameString 'JP') Or (((Description of Security\Line[1] Substring ('2', '2')) IsSameString 'CH') Or ((Description of Security\Line[1] Substring ('2', '2')) IsSameString 'DE')))))))) And ((Description of Security\Line[1] Substring ('4', '1')) IsSameString '/'))) 348 THEN 349 ((Description of Security\Line[1] Substring ('2', '2')) Concatenate 'CD') CopyTo Type\Code 350 END 351 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/BLOM/') 352 THEN 353 'BLOM' CopyTo Type\Code 354 END 355 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CMED/') 356 THEN 357 'CMED' CopyTo Type\Code 358 END 359 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CTAC/') 360 THEN 361 'CTAC' CopyTo Type\Code 362 END 363 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDU/') 364 THEN 365 'ISDU' CopyTo Type\Code 366 END 367 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDX/') 368 THEN 369 'ISDX' CopyTo Type\Code 370 END 371 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/LCHD/') 372 THEN 373 'LCHD' CopyTo Type\Code 374 END 375 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OCCS/') 376 THEN 377 'OCCS' CopyTo Type\Code 378 END 379 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OPRA/') 380 THEN 381 'OPRA' CopyTo Type\Code 382 END 383 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RCMD/') 384 THEN 385 'RCMD' CopyTo Type\Code 386 END 387 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RICC/') 388 THEN 389 'RICC' CopyTo Type\Code 390 END 391 END 392 NODE (Proprietary) 393 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/') 394 THEN 395 'XX' CopyTo Type\Proprietary 396 END 397 END 398 END 399 END 400 END |
protected void |
translate35B_RestrictedFINXMax140Text_Default(String targetElement,
Field field)
Translate method 35B -> RestrictedFINXMax140Text : Default
401 TRANSLATE(35B, RestrictedFINXMax140Text) 402 RULE 403 IF ((Identification of Security IsPresent) And (((((((Description of Security\Line[1] Substring ('1', '1')) IsSameString '/') And (((Description of Security\Line[1] Substring ('2', '2')) IsCountry) And ((Description of Security\Line[1] Substring ('4', '1')) IsSameString '/'))) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/')) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/')) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/')) Or (((Description of Security\Line[1] Substring ('1', '1')) IsSameString '/') And ((((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'BLOM') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'CMED') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'CTAC') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'ISDU') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'ISDX') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'LCHD') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'OCCS') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'OPRA') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'RCMD') Or ((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'RICC')))))))))) And ((Description of Security\Line[1] Substring ('6', '1')) IsSameString '/'))))) 404 THEN 405 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo RestrictedFINXMax140Text 406 ELSE 407 IF (Identification of Security IsPresent) 408 THEN 409 (Description of Security\Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 410 ELSE 411 IF (((((((Description of Security\Line[1] Substring ('1', '1')) IsSameString '/') And (((Description of Security\Line[1] Substring ('2', '2')) IsCountry) And ((Description of Security\Line[1] Substring ('4', '1')) IsSameString '/'))) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/')) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/')) Or ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/')) Or (((Description of Security\Line[1] Substring ('1', '1')) IsSameString '/') And ((((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'BLOM') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'CMED') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'CTAC') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'ISDU') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'ISDX') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'LCHD') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'OCCS') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'OPRA') Or (((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'RCMD') Or ((Description of Security\Line[1] Substring ('2', '4')) IsSameString 'RICC')))))))))) And ((Description of Security\Line[1] Substring ('6', '1')) IsSameString '/')))) 412 THEN 413 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo RestrictedFINXMax140Text 414 ELSE 415 (Description of Security\Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 416 END 417 END 418 END 419 END 420 END |
protected void |
translate35B_SecurityIdentification15_Default(String targetElement,
MtPathResult content)
Translate method 35B -> SecurityIdentification15 : Default
272 TRANSLATE(35B, SecurityIdentification15) 273 RULE 274 NODE (ISIN) 275 Identification of Security TranslateTo ISIN 276 END 277 NODE (OtherIdentification) 278 35B TranslateTo OtherIdentification[1] 279 END 280 NODE (Description) 281 35B TranslateTo Description 282 END 283 END 284 END |
protected void |
translate36B_FinancialInstrumentQuantity15Choice_Default(String targetElement,
MtPathResult content)
Translate method 36B -> FinancialInstrumentQuantity15Choice : Default
653 TRANSLATE(36B, FinancialInstrumentQuantity15Choice) 654 RULE 655 NODE (Unit) 656 IF (Quantity Type Code IsSameString 'UNIT') 657 THEN 658 Quantity TranslateTo Unit 659 END 660 END 661 NODE (FaceAmount) 662 IF (Quantity Type Code IsSameString 'FAMT') 663 THEN 664 Quantity TranslateTo FaceAmount 665 END 666 END 667 NODE (AmortisedValue) 668 IF (Quantity Type Code IsSameString 'AMOR') 669 THEN 670 Quantity TranslateTo AmortisedValue 671 END 672 END 673 END 674 END |
protected void |
translate70E_RestrictedFINZMax8000Text_Default(String targetElement,
MtPathResult content)
Translate method 70E -> RestrictedFINZMax8000Text : Default
1058 TRANSLATE(70E, RestrictedFINZMax8000Text) 1059 RULE 1060 (Narrative\Line[*] Concatenate) CopyTo RestrictedFINZMax8000Text 1061 END 1062 END |
protected void |
translate92A_PercentageRate_Default(String targetElement,
Field field)
Translate method 92A -> PercentageRate : Default
538 TRANSLATE(92A, PercentageRate) 539 RULE 540 IF (Rate LessThan '100000000000,') 541 THEN 542 IF (Sign IsSameString 'N') 543 THEN 544 IF (Rate LessThan '10,') 545 THEN 546 ('-' Concatenate ((Rate Round '10') FormatDecimal 'MX')) CopyTo PercentageRate 547 ELSE 548 IF (Rate LessThan '100,') 549 THEN 550 ('-' Concatenate ((Rate Round '9') FormatDecimal 'MX')) CopyTo PercentageRate 551 ELSE 552 IF (Rate LessThan '1000,') 553 THEN 554 ('-' Concatenate ((Rate Round '8') FormatDecimal 'MX')) CopyTo PercentageRate 555 ELSE 556 IF (Rate LessThan '10000,') 557 THEN 558 ('-' Concatenate ((Rate Round '7') FormatDecimal 'MX')) CopyTo PercentageRate 559 ELSE 560 IF (Rate LessThan '100000,') 561 THEN 562 ('-' Concatenate ((Rate Round '6') FormatDecimal 'MX')) CopyTo PercentageRate 563 ELSE 564 IF (Rate LessThan '1000000,') 565 THEN 566 ('-' Concatenate ((Rate Round '5') FormatDecimal 'MX')) CopyTo PercentageRate 567 ELSE 568 IF (Rate LessThan '10000000,') 569 THEN 570 ('-' Concatenate ((Rate Round '4') FormatDecimal 'MX')) CopyTo PercentageRate 571 ELSE 572 IF (Rate LessThan '100000000,') 573 THEN 574 ('-' Concatenate ((Rate Round '3') FormatDecimal 'MX')) CopyTo PercentageRate 575 ELSE 576 IF (Rate LessThan '1000000000,') 577 THEN 578 ('-' Concatenate ((Rate Round '2') FormatDecimal 'MX')) CopyTo PercentageRate 579 ELSE 580 IF (Rate LessThan '10000000000,') 581 THEN 582 ('-' Concatenate ((Rate Round '1') FormatDecimal 'MX')) CopyTo PercentageRate 583 ELSE 584 ('-' Concatenate ((Rate Substring ('1', '11')) FormatDecimal 'MX')) CopyTo PercentageRate 585 END 586 END 587 END 588 END 589 END 590 END 591 END 592 END 593 END 594 END 595 ELSE 596 IF (Rate LessThan '10,') 597 THEN 598 ((Rate Round '10') FormatDecimal 'MX') CopyTo PercentageRate 599 ELSE 600 IF (Rate LessThan '100,') 601 THEN 602 ((Rate Round '9') FormatDecimal 'MX') CopyTo PercentageRate 603 ELSE 604 IF (Rate LessThan '1000,') 605 THEN 606 ((Rate Round '8') FormatDecimal 'MX') CopyTo PercentageRate 607 ELSE 608 IF (Rate LessThan '10000,') 609 THEN 610 ((Rate Round '7') FormatDecimal 'MX') CopyTo PercentageRate 611 ELSE 612 IF (Rate LessThan '100000,') 613 THEN 614 ((Rate Round '6') FormatDecimal 'MX') CopyTo PercentageRate 615 ELSE 616 IF (Rate LessThan '1000000,') 617 THEN 618 ((Rate Round '5') FormatDecimal 'MX') CopyTo PercentageRate 619 ELSE 620 IF (Rate LessThan '10000000,') 621 THEN 622 ((Rate Round '4') FormatDecimal 'MX') CopyTo PercentageRate 623 ELSE 624 IF (Rate LessThan '100000000,') 625 THEN 626 ((Rate Round '3') FormatDecimal 'MX') CopyTo PercentageRate 627 ELSE 628 IF (Rate LessThan '1000000000,') 629 THEN 630 ((Rate Round '2') FormatDecimal 'MX') CopyTo PercentageRate 631 ELSE 632 IF (Rate LessThan '10000000000,') 633 THEN 634 ((Rate Round '1') FormatDecimal 'MX') CopyTo PercentageRate 635 ELSE 636 ((Rate Substring ('1', '11')) FormatDecimal 'MX') CopyTo PercentageRate 637 END 638 END 639 END 640 END 641 END 642 END 643 END 644 END 645 END 646 END 647 END 648 ELSE 649 '99999999999' CopyTo PercentageRate 650 END 651 END 652 END |
protected void |
translate92A_RateFormat3Choice_Default(String targetElement,
MtPathResult content)
Translate method 92A -> RateFormat3Choice : Default
531 TRANSLATE(92A, RateFormat3Choice) 532 RULE 533 NODE (Rate) 534 92A TranslateTo Rate 535 END 536 END 537 END |
protected void |
translate93B_BalanceFormat2Choice_Default(String targetElement,
MtPathResult content)
Translate method 93B -> BalanceFormat2Choice : Default
906 TRANSLATE(93B, BalanceFormat2Choice) 907 RULE 908 NODE (Balance) 909 NODE (ShortLongPosition) 910 IF (Sign IsPresent) 911 THEN 912 'SHOR' CopyTo Balance\ShortLongPosition 913 ELSE 914 'LONG' CopyTo Balance\ShortLongPosition 915 END 916 END 917 NODE (QuantityChoice) 918 NODE (Quantity) 919 NODE (Unit) 920 IF ((Quantity Type Code IsSameString 'UNIT') And (Not (Data Source Scheme IsPresent))) 921 THEN 922 Balance TranslateTo Balance\QuantityChoice\Quantity\Unit 923 END 924 END 925 NODE (FaceAmount) 926 IF ((Quantity Type Code IsSameString 'FAMT') And (Not (Data Source Scheme IsPresent))) 927 THEN 928 Balance TranslateTo Balance\QuantityChoice\Quantity\FaceAmount 929 END 930 END 931 NODE (AmortisedValue) 932 IF ((Quantity Type Code IsSameString 'AMOR') And (Not (Data Source Scheme IsPresent))) 933 THEN 934 Balance TranslateTo Balance\QuantityChoice\Quantity\AmortisedValue 935 END 936 END 937 END 938 NODE (ProprietaryQuantity) 939 NODE (QuantityType) 940 IF (Data Source Scheme IsPresent) 941 THEN 942 Quantity Type Code CopyTo Balance\QuantityChoice\ProprietaryQuantity\QuantityType 943 END 944 END 945 Data Source Scheme TranslateTo Balance\QuantityChoice\ProprietaryQuantity 946 NODE (Quantity) 947 IF (Data Source Scheme IsPresent) 948 THEN 949 Balance TranslateTo Balance\QuantityChoice\ProprietaryQuantity\Quantity 950 END 951 END 952 END 953 END 954 END 955 END 956 END |
protected void |
translate93B_Quantity8Choice_Default(String targetElement,
MtPathResult content)
Translate method 93B -> Quantity8Choice : Default
823 TRANSLATE(93B, Quantity8Choice) 824 RULE 825 NODE (QuantityChoice) 826 NODE (SignedQuantity) 827 NODE (ShortLongPosition) 828 IF (Not (Data Source Scheme IsPresent)) 829 THEN 830 IF (Sign IsPresent) 831 THEN 832 'SHOR' CopyTo QuantityChoice\SignedQuantity\ShortLongPosition 833 ELSE 834 'LONG' CopyTo QuantityChoice\SignedQuantity\ShortLongPosition 835 END 836 END 837 END 838 NODE (Quantity) 839 NODE (Unit) 840 IF ((Quantity Type Code IsSameString 'UNIT') And (Not (Data Source Scheme IsPresent))) 841 THEN 842 Balance TranslateTo QuantityChoice\SignedQuantity\Quantity\Unit 843 END 844 END 845 NODE (FaceAmount) 846 IF ((Quantity Type Code IsSameString 'FAMT') And (Not (Data Source Scheme IsPresent))) 847 THEN 848 Balance TranslateTo QuantityChoice\SignedQuantity\Quantity\FaceAmount 849 END 850 END 851 NODE (AmortisedValue) 852 IF ((Quantity Type Code IsSameString 'AMOR') And (Not (Data Source Scheme IsPresent))) 853 THEN 854 Balance TranslateTo QuantityChoice\SignedQuantity\Quantity\AmortisedValue 855 END 856 END 857 END 858 END 859 END 860 NODE (ProprietaryQuantity) 861 NODE (ShortLongPosition) 862 IF (Data Source Scheme IsPresent) 863 THEN 864 IF (Sign IsPresent) 865 THEN 866 'SHOR' CopyTo ProprietaryQuantity\ShortLongPosition 867 ELSE 868 'LONG' CopyTo ProprietaryQuantity\ShortLongPosition 869 END 870 END 871 END 872 Data Source Scheme TranslateTo ProprietaryQuantity 873 NODE (Quantity) 874 IF (Data Source Scheme IsPresent) 875 THEN 876 Balance TranslateTo ProprietaryQuantity\Quantity 877 END 878 END 879 NODE (QuantityType) 880 IF (Data Source Scheme IsPresent) 881 THEN 882 Quantity Type Code CopyTo ProprietaryQuantity\QuantityType 883 END 884 END 885 END 886 END 887 END |
protected void |
translate93B_ShortLong1Code_Default(String targetElement,
MtPathResult content)
Translate method 93B -> ShortLong1Code : Default
808 TRANSLATE(93B, ShortLong1Code) 809 RULE 810 IF ((Sign IsPresent) And (Quantity Type Code IsSameString 'FAMT')) 811 THEN 812 'SHOR' CopyTo ShortLong1Code 813 ELSE 814 'LONG' CopyTo ShortLong1Code 815 END 816 END 817 END |
protected void |
translate93C_2_BalanceFormat2Choice_Default(String targetElement,
MtPathResult content)
Translate method 93C_2 -> BalanceFormat2Choice : Default
970 TRANSLATE(93C_2, BalanceFormat2Choice) 971 RULE 972 NODE (EligibleBalance) 973 NODE (ShortLongPosition) 974 IF (Balance Type Code IsSameString 'ELIG') 975 THEN 976 IF (Sign IsPresent) 977 THEN 978 'SHOR' CopyTo EligibleBalance\ShortLongPosition 979 ELSE 980 'LONG' CopyTo EligibleBalance\ShortLongPosition 981 END 982 END 983 END 984 NODE (Quantity) 985 NODE (Unit) 986 IF (Balance Type Code IsSameString 'ELIG') 987 THEN 988 IF (Quantity Type Code IsSameString 'UNIT') 989 THEN 990 Balance TranslateTo EligibleBalance\Quantity\Unit 991 END 992 END 993 END 994 NODE (FaceAmount) 995 IF (Balance Type Code IsSameString 'ELIG') 996 THEN 997 IF (Quantity Type Code IsSameString 'FAMT') 998 THEN 999 Balance TranslateTo EligibleBalance\Quantity\FaceAmount 1000 END 1001 END 1002 END 1003 NODE (AmortisedValue) 1004 IF (Balance Type Code IsSameString 'ELIG') 1005 THEN 1006 IF (Quantity Type Code IsSameString 'AMOR') 1007 THEN 1008 Balance TranslateTo EligibleBalance\Quantity\AmortisedValue 1009 END 1010 END 1011 END 1012 END 1013 END 1014 NODE (NotEligibleBalance) 1015 NODE (ShortLongPosition) 1016 IF (Balance Type Code IsSameString 'NELG') 1017 THEN 1018 IF (Sign IsPresent) 1019 THEN 1020 'SHOR' CopyTo NotEligibleBalance\ShortLongPosition 1021 ELSE 1022 'LONG' CopyTo NotEligibleBalance\ShortLongPosition 1023 END 1024 END 1025 END 1026 NODE (Quantity) 1027 NODE (Unit) 1028 IF (Balance Type Code IsSameString 'NELG') 1029 THEN 1030 IF (Quantity Type Code IsSameString 'UNIT') 1031 THEN 1032 Balance TranslateTo NotEligibleBalance\Quantity\Unit 1033 END 1034 END 1035 END 1036 NODE (FaceAmount) 1037 IF (Balance Type Code IsSameString 'NELG') 1038 THEN 1039 IF (Quantity Type Code IsSameString 'FAMT') 1040 THEN 1041 Balance TranslateTo NotEligibleBalance\Quantity\FaceAmount 1042 END 1043 END 1044 END 1045 NODE (AmortisedValue) 1046 IF (Balance Type Code IsSameString 'NELG') 1047 THEN 1048 IF (Quantity Type Code IsSameString 'AMOR') 1049 THEN 1050 Balance TranslateTo NotEligibleBalance\Quantity\AmortisedValue 1051 END 1052 END 1053 END 1054 END 1055 END 1056 END 1057 END |
protected void |
translate94B_15_MarketIdentification7_Default(String targetElement,
MtPathResult content)
Translate method 94B_15 -> MarketIdentification7 : Default
421 TRANSLATE(94B_15, MarketIdentification7) 422 RULE 423 NODE (Type) 424 NODE (Code) 425 IF (Not (Data Source Scheme IsPresent)) 426 THEN 427 Place Code TranslateTo Type\Code 428 END 429 END 430 NODE (Proprietary) 431 Data Source Scheme TranslateTo Type\Proprietary 432 NODE (Identification) 433 IF (Data Source Scheme IsPresent) 434 THEN 435 Place Code CopyTo Type\Proprietary\Identification 436 END 437 END 438 END 439 END 440 NODE (Identification) 441 NODE (MarketIdentifierCode) 442 IF (Narrative Matches '[A-Z0-9]{4}') 443 THEN 444 Narrative CopyTo Identification\MarketIdentifierCode 445 END 446 END 447 NODE (Description) 448 IF (Not (Narrative Matches '[A-Z0-9]{4}')) 449 THEN 450 Narrative CopyTo Identification\Description 451 END 452 END 453 END 454 END 455 END |
protected void |
translate94B_17_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94B_17 -> SafekeepingPlaceFormat5Choice : Default
740 TRANSLATE(94B_17, SafekeepingPlaceFormat5Choice) 741 RULE 742 NODE (Identification) 743 NODE (SafekeepingPlaceType) 744 IF (Not (Data Source Scheme IsPresent)) 745 THEN 746 Place Code TranslateTo Identification\SafekeepingPlaceType 747 END 748 END 749 NODE (Identification) 750 IF (Not (Data Source Scheme IsPresent)) 751 THEN 752 Narrative CopyTo Identification\Identification 753 END 754 END 755 END 756 NODE (Proprietary) 757 NODE (Type) 758 Data Source Scheme TranslateTo Proprietary\Type 759 NODE (Identification) 760 IF (Data Source Scheme IsPresent) 761 THEN 762 Place Code CopyTo Proprietary\Type\Identification 763 END 764 END 765 END 766 NODE (Identification) 767 IF (Data Source Scheme IsPresent) 768 THEN 769 Narrative CopyTo Proprietary\Identification 770 END 771 END 772 END 773 END 774 END |
protected void |
translate94C_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94C -> SafekeepingPlaceFormat5Choice : Default
781 TRANSLATE(94C, SafekeepingPlaceFormat5Choice) 782 RULE 783 NODE (Country) 784 Country Code CopyTo Country 785 END 786 END 787 END |
protected void |
translate94F_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94F -> SafekeepingPlaceFormat5Choice : Default
788 TRANSLATE(94F, SafekeepingPlaceFormat5Choice) 789 RULE 790 NODE (TypeAndIdentification) 791 NODE (SafekeepingPlaceType) 792 Place Code TranslateTo TypeAndIdentification\SafekeepingPlaceType 793 END 794 NODE (Identification) 795 Identifier Code TranslateTo TypeAndIdentification\Identification 796 END 797 END 798 END 799 END |
protected void |
translate95P_4_Party9Choice_Default(String targetElement,
MtPathResult content)
Translate method 95P_4 -> Party9Choice : Default
1 TRANSLATE(95P_4, Party9Choice) 2 RULE 3 NODE (FinancialInstitutionIdentification) 4 NODE (FinancialInstitutionIdentification) 5 NODE (BICFI) 6 Identifier Code TranslateTo FinancialInstitutionIdentification\FinancialInstitutionIdentification\BICFI 7 END 8 END 9 END 10 END 11 END |
protected void |
translate95P_4_PartyIdentification51Choice_Default(String targetElement,
MtPathResult content)
Translate method 95P_4 -> PartyIdentification51Choice : Default
700 TRANSLATE(95P_4, PartyIdentification51Choice) 701 RULE 702 NODE (AnyBIC) 703 Identifier Code TranslateTo AnyBIC 704 END 705 END 706 END |
protected void |
translate95Q_Party9Choice_Default(String targetElement,
MtPathResult content)
Translate method 95Q -> Party9Choice : Default
17 TRANSLATE(95Q, Party9Choice) 18 RULE 19 NODE (FinancialInstitutionIdentification) 20 NODE (FinancialInstitutionIdentification) 21 Name and Address TranslateTo FinancialInstitutionIdentification\FinancialInstitutionIdentification 22 END 23 END 24 END 25 END |
protected void |
translate95R_1_Party9Choice_Default(String targetElement,
MtPathResult content)
Translate method 95R_1 -> Party9Choice : Default
33 TRANSLATE(95R_1, Party9Choice) 34 RULE 35 NODE (FinancialInstitutionIdentification) 36 NODE (FinancialInstitutionIdentification) 37 NODE (Other) 38 NODE (Identification) 39 Proprietary Code TranslateTo FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\Identification 40 END 41 NODE (SchemeName) 42 NODE (Proprietary) 43 IF (Not (((Data Source Scheme Substring '5') Length) IsSameNumber '0')) 44 THEN 45 (Data Source Scheme Substring '5') CopyTo FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\SchemeName\Proprietary 46 END 47 END 48 END 49 NODE (Issuer) 50 (Data Source Scheme Substring ('1', '4')) CopyTo FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\Issuer 51 END 52 END 53 END 54 END 55 END 56 END |
protected void |
translate95R_1_PartyIdentification51Choice_Default(String targetElement,
MtPathResult content)
Translate method 95R_1 -> PartyIdentification51Choice : Default
712 TRANSLATE(95R_1, PartyIdentification51Choice) 713 RULE 714 NODE (ProprietaryIdentification) 715 NODE (Identification) 716 Proprietary Code TranslateTo ProprietaryIdentification\Identification 717 END 718 Data Source Scheme TranslateTo ProprietaryIdentification 719 END 720 END 721 END |
protected void |
translate97A_RestrictedFINXMax35Text_Default(String targetElement,
MtPathResult content)
Translate method 97A -> RestrictedFINXMax35Text : Default
695 TRANSLATE(97A, RestrictedFINXMax35Text) 696 RULE 697 Account Number CopyTo RestrictedFINXMax35Text 698 END 699 END |
protected void |
translate97C_1_SafekeepingAccountIdentification1Code_Default(String targetElement,
MtPathResult content)
Translate method 97C_1 -> SafekeepingAccountIdentification1Code : Default
685 TRANSLATE(97C_1, SafekeepingAccountIdentification1Code) 686 RULE 687 Account Code TranslateTo SafekeepingAccountIdentification1Code 688 END 689 END |
protected void |
translate98A_ISODate_Default(String targetElement,
MtPathResult content)
Translate method 98A -> ISODate : Default
526 TRANSLATE(98A, ISODate) 527 RULE 528 (Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) CopyTo ISODate 529 END 530 END |
protected void |
translate98A_ISONormalisedDateTime_Default(String targetElement,
MtPathResult content)
Translate method 98A -> ISONormalisedDateTime : Default
72 TRANSLATE(98A, ISONormalisedDateTime) 73 RULE 74 ((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T00:00:00Z') CopyTo ISONormalisedDateTime 75 END 76 END |
protected void |
translate98C_ISONormalisedDateTime_Default(String targetElement,
MtPathResult content)
Translate method 98C -> ISONormalisedDateTime : Default
77 TRANSLATE(98C, ISONormalisedDateTime) 78 RULE 79 (((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T') Concatenate ((Time FormatDateTime ('MT_HHMMSS', 'MX_Time')) Concatenate 'Z')) CopyTo ISONormalisedDateTime 80 END 81 END |
protected void |
translateAmount_FIN_15d_RestrictedFINDecimalNumber_Default(String targetElement,
String content)
Translate method Amount_FIN_15d -> RestrictedFINDecimalNumber : Default
888 TRANSLATE(Amount_FIN_15d, RestrictedFINDecimalNumber) 889 RULE 890 (Amount_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINDecimalNumber 891 END 892 END |
protected void |
translateAmount_FIN_15d_RestrictedFINImpliedCurrencyAndAmount_Default(String targetElement,
MtPathResult content)
Translate method Amount_FIN_15d -> RestrictedFINImpliedCurrencyAndAmount : Default
818 TRANSLATE(Amount_FIN_15d, RestrictedFINImpliedCurrencyAndAmount) 819 RULE 820 ((Amount_FIN_15d Divide ('1', '5')) FormatDecimal 'MX') CopyTo RestrictedFINImpliedCurrencyAndAmount 821 END 822 END |
protected void |
translateCode_4c_171_CopyDuplicate1Code_Default(String targetElement,
MtPathResult content)
Translate method Code_4!c_171 -> CopyDuplicate1Code : Default
82 TRANSLATE(Code_4!c_171, CopyDuplicate1Code) 83 RULE 84 'CODU' EquivalentTo 'CODU' 85 'COPY' EquivalentTo 'COPY' 86 'DUPL' EquivalentTo 'DUPL' 87 END 88 END |
protected void |
translateCode_4c_198_SafekeepingAccountIdentification1Code_Default(String targetElement,
String content)
Translate method Code_4!c_198 -> SafekeepingAccountIdentification1Code : Default
690 TRANSLATE(Code_4!c_198, SafekeepingAccountIdentification1Code) 691 RULE 692 'GENR' EquivalentTo 'GENR' 693 END 694 END |
protected void |
translateCode_4c_5_SafekeepingPlace1Code_Default(String targetElement,
String content)
Translate method Code_4!c_5 -> SafekeepingPlace1Code : Default
800 TRANSLATE(Code_4!c_5, SafekeepingPlace1Code) 801 RULE 802 'CUST' EquivalentTo 'CUST' 803 'ICSD' EquivalentTo 'ICSD' 804 'NCSD' EquivalentTo 'NCSD' 805 'SHHE' EquivalentTo 'SHHE' 806 END 807 END |
protected void |
translateCode_4c_98_CorporateActionNotificationType1Code_Default(String targetElement,
MtPathResult content)
Translate method Code_4!c_98 -> CorporateActionNotificationType1Code : Default
89 TRANSLATE(Code_4!c_98, CorporateActionNotificationType1Code) 90 RULE 91 'NEWM' EquivalentTo 'NEWM' 92 'REPE' EquivalentTo 'REPL' 93 'REPL' EquivalentTo 'REPL' 94 'RMDR' EquivalentTo 'RMDR' 95 END 96 END |
protected void |
translateIdentifier_BICFIOrNonFI_AnyBICIdentifier_Default(String targetElement,
String content)
Translate method Identifier_BICFIOrNonFI -> AnyBICIdentifier : Default
707 TRANSLATE(Identifier_BICFIOrNonFI, AnyBICIdentifier) 708 RULE 709 Identifier_BICFIOrNonFI CopyTo AnyBICIdentifier 710 END 711 END |
protected void |
translateIdentifier_BICFIOrNonFI_BICFIIdentifier_Default(String targetElement,
String content)
Translate method Identifier_BICFIOrNonFI -> BICFIIdentifier : Default
12 TRANSLATE(Identifier_BICFIOrNonFI, BICFIIdentifier) 13 RULE 14 Identifier_BICFIOrNonFI CopyTo BICFIIdentifier 15 END 16 END |
protected void |
translateIdentifier_FIN_8c_GenericIdentification23_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> GenericIdentification23 : Default
173 TRANSLATE(Identifier_FIN_8c, GenericIdentification23) 174 RULE 175 NODE (Issuer) 176 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 177 END 178 NODE (SchemeName) 179 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 180 THEN 181 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 182 END 183 END 184 END 185 END |
protected void |
translateIdentifier_FIN_8c_GenericIdentification24_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> GenericIdentification24 : Default
727 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 728 RULE 729 NODE (Issuer) 730 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 731 END 732 NODE (SchemeName) 733 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 734 THEN 735 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 736 END 737 END 738 END 739 END |
protected void |
translateIdentifier_FIN_8c_GenericIdentification25_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> GenericIdentification25 : Default
134 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 135 RULE 136 NODE (Issuer) 137 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 138 END 139 NODE (SchemeName) 140 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 141 THEN 142 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 143 END 144 END 145 END 146 END |
protected void |
translateIdentifier_FIN_8c_ProprietaryQuantity4_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> ProprietaryQuantity4 : Default
957 TRANSLATE(Identifier_FIN_8c, ProprietaryQuantity4) 958 RULE 959 NODE (Issuer) 960 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 961 END 962 NODE (SchemeName) 963 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 964 THEN 965 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 966 END 967 END 968 END 969 END |
protected void |
translateIdentifier_FIN_8c_ProprietaryQuantity5_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> ProprietaryQuantity5 : Default
893 TRANSLATE(Identifier_FIN_8c, ProprietaryQuantity5) 894 RULE 895 NODE (Issuer) 896 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 897 END 898 NODE (SchemeName) 899 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 900 THEN 901 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 902 END 903 END 904 END 905 END |
protected void |
translateIdentifier_Isin_ISINIdentifier_Default(String targetElement,
String content)
Translate method Identifier_Isin -> ISINIdentifier : Default
285 TRANSLATE(Identifier_Isin, ISINIdentifier) 286 RULE 287 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 288 END 289 END |
protected void |
translateImpl(MT568 source)
Translation rules implementation
|
protected void |
translateOptionalCode_4c_257_InterestComputationMethod2Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_257 -> InterestComputationMethod2Code : Default
483 TRANSLATE(OptionalCode_4!c_257, InterestComputationMethod2Code) 484 RULE 485 'A001' EquivalentTo 'A001' 486 'A002' EquivalentTo 'A002' 487 'A003' EquivalentTo 'A003' 488 'A004' EquivalentTo 'A004' 489 'A005' EquivalentTo 'A005' 490 'A006' EquivalentTo 'A006' 491 'A007' EquivalentTo 'A007' 492 'A008' EquivalentTo 'A008' 493 'A009' EquivalentTo 'A009' 494 'A010' EquivalentTo 'A010' 495 'A011' EquivalentTo 'A011' 496 'A012' EquivalentTo 'A012' 497 'A013' EquivalentTo 'A013' 498 'A014' EquivalentTo 'A014' 499 'OTHR' EquivalentTo 'NARR' 500 END 501 END |
protected void |
translateOptionalCode_4c_3_ProcessingPosition3Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_3 -> ProcessingPosition3Code : Default
126 TRANSLATE(OptionalCode_4!c_3, ProcessingPosition3Code) 127 RULE 128 'AFTE' EquivalentTo 'AFTE' 129 'BEFO' EquivalentTo 'BEFO' 130 'INFO' EquivalentTo 'INFO' 131 'WITH' EquivalentTo 'WITH' 132 END 133 END |
protected void |
translateOptionalCode_4c_399_MarketType3Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_399 -> MarketType3Code : Default
456 TRANSLATE(OptionalCode_4!c_399, MarketType3Code) 457 RULE 458 'SECM' EquivalentTo 'SECM' 459 'PRIM' EquivalentTo 'PRIM' 460 'EXCH' EquivalentTo 'EXCH' 461 'OTCO' EquivalentTo 'OTCO' 462 END 463 END |
protected void |
translateOptionalCode_4c_411_CorporateActionEventType6Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_411 -> CorporateActionEventType6Code : Default
205 TRANSLATE(OptionalCode_4!c_411, CorporateActionEventType6Code) 206 RULE 207 'ACTV' EquivalentTo 'ACTV' 208 'ATTI' EquivalentTo 'ATTI' 209 'BIDS' EquivalentTo 'BIDS' 210 'BONU' EquivalentTo 'BONU' 211 'BPUT' EquivalentTo 'BPUT' 212 'BRUP' EquivalentTo 'BRUP' 213 'CAPG' EquivalentTo 'CAPG' 214 'CAPI' EquivalentTo 'CAPI' 215 'CERT' EquivalentTo 'CERT' 216 'CHAN' EquivalentTo 'CHAN' 217 'CLSA' EquivalentTo 'CLSA' 218 'CONS' EquivalentTo 'CONS' 219 'CONV' EquivalentTo 'CONV' 220 'COOP' EquivalentTo 'COOP' 221 'DECR' EquivalentTo 'DECR' 222 'DETI' EquivalentTo 'DETI' 223 'DFLT' EquivalentTo 'DFLT' 224 'DLST' EquivalentTo 'DLST' 225 'DRAW' EquivalentTo 'DRAW' 226 'DRIP' EquivalentTo 'DRIP' 227 'DSCL' EquivalentTo 'DSCL' 228 'DTCH' EquivalentTo 'DTCH' 229 'DVCA' EquivalentTo 'DVCA' 230 'DVOP' EquivalentTo 'DVOP' 231 'DVSC' EquivalentTo 'DVSC' 232 'DVSE' EquivalentTo 'DVSE' 233 'EXOF' EquivalentTo 'EXOF' 234 'EXRI' EquivalentTo 'EXRI' 235 'EXTM' EquivalentTo 'EXTM' 236 'EXWA' EquivalentTo 'EXWA' 237 'CAPD' EquivalentTo 'CAPD' 238 'INCR' EquivalentTo 'INCR' 239 'INTR' EquivalentTo 'INTR' 240 'LIQU' EquivalentTo 'LIQU' 241 'MCAL' EquivalentTo 'MCAL' 242 'MRGR' EquivalentTo 'MRGR' 243 'ODLT' EquivalentTo 'ODLT' 244 'OTHR' EquivalentTo 'OTHR' 245 'PARI' EquivalentTo 'PARI' 246 'PCAL' EquivalentTo 'PCAL' 247 'PDEF' EquivalentTo 'PDEF' 248 'PINK' EquivalentTo 'PINK' 249 'PLAC' EquivalentTo 'PLAC' 250 'PPMT' EquivalentTo 'PPMT' 251 'PRED' EquivalentTo 'PRED' 252 'PRII' EquivalentTo 'PRII' 253 'PRIO' EquivalentTo 'PRIO' 254 'REDM' EquivalentTo 'REDM' 255 'REDO' EquivalentTo 'REDO' 256 'REMK' EquivalentTo 'REMK' 257 'RHDI' EquivalentTo 'RHDI' 258 'RHTS' EquivalentTo 'RHTS' 259 'SHPR' EquivalentTo 'SHPR' 260 'SMAL' EquivalentTo 'SMAL' 261 'SOFF' EquivalentTo 'SOFF' 262 'SPLF' EquivalentTo 'SPLF' 263 'SPLR' EquivalentTo 'SPLR' 264 'SUSP' EquivalentTo 'SUSP' 265 'TEND' EquivalentTo 'TEND' 266 'TREC' EquivalentTo 'TREC' 267 'WRTH' EquivalentTo 'WRTH' 268 'WTRC' EquivalentTo 'WTRC' 269 'CREV' EquivalentTo 'CREV' 270 END 271 END |
protected void |
translateOptionalCode_4c_412_SafekeepingPlace2Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_412 -> SafekeepingPlace2Code : Default
775 TRANSLATE(OptionalCode_4!c_412, SafekeepingPlace2Code) 776 RULE 777 'ALLP' EquivalentTo 'ALLP' 778 'SHHE' EquivalentTo 'SHHE' 779 END 780 END |
protected void |
translateQuantity_FIN_15d_RestrictedFINDecimalNumber_Default(String targetElement,
String content)
Translate method Quantity_FIN_15d -> RestrictedFINDecimalNumber : Default
675 TRANSLATE(Quantity_FIN_15d, RestrictedFINDecimalNumber) 676 RULE 677 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINDecimalNumber 678 END 679 END |
protected void |
translateQuantity_FIN_15d_RestrictedFINImpliedCurrencyAndAmount_Default(String targetElement,
String content)
Translate method Quantity_FIN_15d -> RestrictedFINImpliedCurrencyAndAmount : Default
680 TRANSLATE(Quantity_FIN_15d, RestrictedFINImpliedCurrencyAndAmount) 681 RULE 682 ((Quantity_FIN_15d Divide ('1', '5')) FormatDecimal 'MX') CopyTo RestrictedFINImpliedCurrencyAndAmount 683 END 684 END |
protected void |
translateText_FIN_16x_Max35Text_Default(String targetElement,
String content)
Translate method Text_FIN_16x -> Max35Text : Default
67 TRANSLATE(Text_FIN_16x, Max35Text) 68 RULE 69 Text_FIN_16x CopyTo Max35Text 70 END 71 END |
protected void |
translateText_FIN_16x_RestrictedFINXMax16Text_Default(String targetElement,
String content)
Translate method Text_FIN_16x -> RestrictedFINXMax16Text : Default
102 TRANSLATE(Text_FIN_16x, RestrictedFINXMax16Text) 103 RULE 104 Text_FIN_16x CopyTo RestrictedFINXMax16Text 105 END 106 END |
protected void |
translateText_FIN_34x_Max35Text_Default(String targetElement,
String content)
Translate method Text_FIN_34x -> Max35Text : Default
57 TRANSLATE(Text_FIN_34x, Max35Text) 58 RULE 59 Text_FIN_34x CopyTo Max35Text 60 END 61 END |
protected void |
translateText_FIN_34x_RestrictedFINXMax34Text_Default(String targetElement,
String content)
Translate method Text_FIN_34x -> RestrictedFINXMax34Text : Default
722 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 723 RULE 724 Text_FIN_34x CopyTo RestrictedFINXMax34Text 725 END 726 END |
protected void |
translateText_FIN_4M35x_FinancialInstitutionIdentification8_Default(String targetElement,
String content)
Translate method Text_FIN_4M35x -> FinancialInstitutionIdentification8 : Default
26 TRANSLATE(Text_FIN_4M35x, FinancialInstitutionIdentification8) 27 RULE 28 NODE (Name) 29 (Line[*] Concatenate) CopyTo Name 30 END 31 END 32 END |
protected void |
translateText_FIN_8000z_Line_RestrictedFINZMax8000Text_Default(String targetElement,
String line)
Translate method Text_FIN_8000z_Line -> RestrictedFINZMax8000Text : Default
1063 TRANSLATE(Text_FIN_8000z_Line, RestrictedFINZMax8000Text) 1064 RULE 1065 Text_FIN_8000z_Line CopyTo RestrictedFINZMax8000Text 1066 END 1067 END |
public MT568_MxSeev03100202_Translation()
public final MxSeev03100202 translate(MT568 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT568 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT568 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT568 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translate95P_4_Party9Choice_Default(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 translateIdentifier_BICFIOrNonFI_BICFIIdentifier_Default(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 translate95Q_Party9Choice_Default(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 translateText_FIN_4M35x_FinancialInstitutionIdentification8_Default(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 translate95R_1_Party9Choice_Default(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 translateText_FIN_34x_Max35Text_Default(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 translate20C_Max35Text_Default(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 translateText_FIN_16x_Max35Text_Default(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 translate98A_ISONormalisedDateTime_Default(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 translate98C_ISONormalisedDateTime_Default(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 translateCode_4c_171_CopyDuplicate1Code_Default(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 translateCode_4c_98_CorporateActionNotificationType1Code_Default(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 translate20C_RestrictedFINXMax16Text_Default(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 translateText_FIN_16x_RestrictedFINXMax16Text_Default(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 translate22F_2_ProcessingPosition3Choice_Default(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 translateOptionalCode_4c_3_ProcessingPosition3Code_Default(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 translateIdentifier_FIN_8c_GenericIdentification25_Default(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 translate13A_DocumentNumber2Choice_Default(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 translate13B_DocumentNumber2Choice_Default(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 translateIdentifier_FIN_8c_GenericIdentification23_Default(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 translate22F_244_CorporateActionEventType4Choice_Default(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 translateOptionalCode_4c_411_CorporateActionEventType6Code_Default(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 translate35B_SecurityIdentification15_Default(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 translateIdentifier_Isin_ISINIdentifier_Default(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 translate35B_OtherIdentification2_Default(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 translate35B_RestrictedFINXMax140Text_Default(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 translate94B_15_MarketIdentification7_Default(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 translateOptionalCode_4c_399_MarketType3Code_Default(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 translate22F_154_InterestComputationMethodFormat2Choice_Default(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 translateOptionalCode_4c_257_InterestComputationMethod2Code_Default(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 translate12C_CFIIdentifier_Default(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 translate12A_GenericIdentification23_Default(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 translate11A_ActiveOrHistoricCurrencyCode_Default(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 translate98A_ISODate_Default(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 translate92A_RateFormat3Choice_Default(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 translate92A_PercentageRate_Default(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 translate36B_FinancialInstrumentQuantity15Choice_Default(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 translateQuantity_FIN_15d_RestrictedFINDecimalNumber_Default(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 translateQuantity_FIN_15d_RestrictedFINImpliedCurrencyAndAmount_Default(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 translate97C_1_SafekeepingAccountIdentification1Code_Default(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 translateCode_4c_198_SafekeepingAccountIdentification1Code_Default(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 translate97A_RestrictedFINXMax35Text_Default(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 translate95P_4_PartyIdentification51Choice_Default(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 translateIdentifier_BICFIOrNonFI_AnyBICIdentifier_Default(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 translate95R_1_PartyIdentification51Choice_Default(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 translateText_FIN_34x_RestrictedFINXMax34Text_Default(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 translateIdentifier_FIN_8c_GenericIdentification24_Default(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 translate94B_17_SafekeepingPlaceFormat5Choice_Default(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 translateOptionalCode_4c_412_SafekeepingPlace2Code_Default(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 translate94C_SafekeepingPlaceFormat5Choice_Default(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 translate94F_SafekeepingPlaceFormat5Choice_Default(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 translateCode_4c_5_SafekeepingPlace1Code_Default(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 translate93B_ShortLong1Code_Default(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 translateAmount_FIN_15d_RestrictedFINImpliedCurrencyAndAmount_Default(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 translate93B_Quantity8Choice_Default(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 translateAmount_FIN_15d_RestrictedFINDecimalNumber_Default(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 translateIdentifier_FIN_8c_ProprietaryQuantity5_Default(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 translate93B_BalanceFormat2Choice_Default(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 translateIdentifier_FIN_8c_ProprietaryQuantity4_Default(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 translate93C_2_BalanceFormat2Choice_Default(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 translate70E_RestrictedFINZMax8000Text_Default(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 translateText_FIN_8000z_Line_RestrictedFINZMax8000Text_Default(String targetElement, String line)
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(MT568 source)
source
- a well formed MT568 objectpublic final void preconditionSR1Check(MT568 source) throws TranslationPreconditionException
source
- a well formed MT568 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MT568 source)