public class MT565_MxSeev04000202_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT565_MxSeev04000202_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT565_MxSeev04000202_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(MT565 source)
Message criteria check
This method checks the content of the source MT565 and determines if it can be translated to the target MxSeev04000202 SELECT CRITERIA MustBe (A\23G Function of the Message\23G\Function IsSameString 'CANC') END |
List<PreconditionError> |
preconditionsCheck(MT565 source)
Precondition check
This method checks the precondition on the content of the source MT565 return a list with a precondition errors for each failed check, or an empty list if all preconditions are satisfied |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSeev04000202 |
translate(MT565 source)
Main entry point for the translation
|
protected void |
translate13A_OptionNumber1Choice_Default(String targetElement,
MtPathResult content)
Translate method 13A -> OptionNumber1Choice : Default
487 TRANSLATE(13A, OptionNumber1Choice) 488 RULE 489 NODE (Number) 490 IF (Not (Number Id IsSameString 'UNS')) 491 THEN 492 Number Id CopyTo Number 493 END 494 END 495 NODE (Code) 496 IF (Number Id IsSameString 'UNS') 497 THEN 498 'UNSO' CopyTo Code 499 END 500 END 501 END 502 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
89 TRANSLATE(20C, RestrictedFINXMax16Text) 90 RULE 91 Reference TranslateTo RestrictedFINXMax16Text 92 END 93 END |
protected void |
translate22F_188_CorporateActionOption6Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_188 -> CorporateActionOption6Choice : Default
503 TRANSLATE(22F_188, CorporateActionOption6Choice) 504 RULE 505 NODE (Code) 506 IF (Not (Data Source Scheme IsPresent)) 507 THEN 508 Indicator TranslateTo Code 509 END 510 END 511 NODE (Proprietary) 512 Data Source Scheme TranslateTo Proprietary 513 NODE (Identification) 514 IF (Data Source Scheme IsPresent) 515 THEN 516 Indicator CopyTo Proprietary\Identification 517 END 518 END 519 END 520 END 521 END |
protected void |
translate22F_2_ProcessingPosition3Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_2 -> ProcessingPosition3Choice : Default
99 TRANSLATE(22F_2, ProcessingPosition3Choice) 100 RULE 101 NODE (Code) 102 IF (Not (Data Source Scheme IsPresent)) 103 THEN 104 Indicator TranslateTo Code 105 END 106 END 107 NODE (Proprietary) 108 Data Source Scheme TranslateTo Proprietary 109 NODE (Identification) 110 IF (Data Source Scheme IsPresent) 111 THEN 112 Indicator CopyTo Proprietary\Identification 113 END 114 END 115 END 116 END 117 END |
protected void |
translate22F_240_CorporateActionEventType4Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_240 -> CorporateActionEventType4Choice : Default
139 TRANSLATE(22F_240, CorporateActionEventType4Choice) 140 RULE 141 NODE (Code) 142 IF (Not (Data Source Scheme IsPresent)) 143 THEN 144 Indicator TranslateTo Code 145 END 146 END 147 NODE (Proprietary) 148 Data Source Scheme TranslateTo Proprietary 149 NODE (Identification) 150 IF (Data Source Scheme IsPresent) 151 THEN 152 Indicator CopyTo Proprietary\Identification 153 END 154 END 155 END 156 END 157 END |
protected void |
translate22H_41_CorporateActionOption6Choice_Default(String targetElement,
MtPathResult content)
Translate method 22H_41 -> CorporateActionOption6Choice : Default
554 TRANSLATE(22H_41, CorporateActionOption6Choice) 555 RULE 556 NODE (Code) 557 Indicator TranslateTo Code 558 END 559 END 560 END |
protected void |
translate35B_OtherIdentification2_Default(String targetElement,
Field field)
Translate method 35B -> OtherIdentification2 : Default
243 TRANSLATE(35B, OtherIdentification2) 244 RULE 245 NODE (Identification) 246 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/')) 247 THEN 248 IF (((Description of Security\Line[1] Substring '5') Length) GreaterThan '0') 249 THEN 250 (Description of Security\Line[1] Substring '5') CopyTo Identification 251 ELSE 252 'Not available.' CopyTo Identification 253 END 254 ELSE 255 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 '/'))) 256 THEN 257 IF (((Description of Security\Line[1] Substring '7') Length) GreaterThan '0') 258 THEN 259 (Description of Security\Line[1] Substring '7') CopyTo Identification 260 ELSE 261 'Not available.' CopyTo Identification 262 END 263 END 264 END 265 END 266 NODE (Type) 267 NODE (Code) 268 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/') 269 THEN 270 'TIKR' CopyTo Type\Code 271 END 272 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/') 273 THEN 274 'COMM' CopyTo Type\Code 275 END 276 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/BE/') 277 THEN 278 'BELC' CopyTo Type\Code 279 END 280 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/US/') 281 THEN 282 'CUSP' CopyTo Type\Code 283 END 284 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/GB/') 285 THEN 286 'SEDL' CopyTo Type\Code 287 END 288 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/JP/') 289 THEN 290 'SICC' CopyTo Type\Code 291 END 292 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/CH/') 293 THEN 294 'VALO' CopyTo Type\Code 295 END 296 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/DE/') 297 THEN 298 'WKNR' CopyTo Type\Code 299 END 300 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 '/'))) 301 THEN 302 ((Description of Security\Line[1] Substring ('2', '2')) Concatenate 'CD') CopyTo Type\Code 303 END 304 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/BLOM/') 305 THEN 306 'BLOM' CopyTo Type\Code 307 END 308 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CMED/') 309 THEN 310 'CMED' CopyTo Type\Code 311 END 312 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CTAC/') 313 THEN 314 'CTAC' CopyTo Type\Code 315 END 316 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDU/') 317 THEN 318 'ISDU' CopyTo Type\Code 319 END 320 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDX/') 321 THEN 322 'ISDX' CopyTo Type\Code 323 END 324 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/LCHD/') 325 THEN 326 'LCHD' CopyTo Type\Code 327 END 328 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OCCS/') 329 THEN 330 'OCCS' CopyTo Type\Code 331 END 332 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OPRA/') 333 THEN 334 'OPRA' CopyTo Type\Code 335 END 336 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RCMD/') 337 THEN 338 'RCMD' CopyTo Type\Code 339 END 340 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RICC/') 341 THEN 342 'RICC' CopyTo Type\Code 343 END 344 END 345 NODE (Proprietary) 346 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/') 347 THEN 348 'XX' CopyTo Type\Proprietary 349 END 350 END 351 END 352 END 353 END |
protected void |
translate35B_RestrictedFINXMax140Text_Default(String targetElement,
Field field)
Translate method 35B -> RestrictedFINXMax140Text : Default
354 TRANSLATE(35B, RestrictedFINXMax140Text) 355 RULE 356 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 '/'))))) 357 THEN 358 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo RestrictedFINXMax140Text 359 ELSE 360 IF (Identification of Security IsPresent) 361 THEN 362 (Description of Security\Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 363 ELSE 364 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 '/')))) 365 THEN 366 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo RestrictedFINXMax140Text 367 ELSE 368 (Description of Security\Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 369 END 370 END 371 END 372 END 373 END |
protected void |
translate35B_SecurityIdentification15_Default(String targetElement,
MtPathResult content)
Translate method 35B -> SecurityIdentification15 : Default
225 TRANSLATE(35B, SecurityIdentification15) 226 RULE 227 NODE (ISIN) 228 Identification of Security TranslateTo ISIN 229 END 230 NODE (OtherIdentification) 231 35B TranslateTo OtherIdentification[1] 232 END 233 NODE (Description) 234 35B TranslateTo Description 235 END 236 END 237 END |
protected void |
translate36B_FinancialInstrumentQuantity15Choice_Default(String targetElement,
MtPathResult content)
Translate method 36B -> FinancialInstrumentQuantity15Choice : Default
614 TRANSLATE(36B, FinancialInstrumentQuantity15Choice) 615 RULE 616 NODE (Unit) 617 IF (Quantity Type Code IsSameString 'UNIT') 618 THEN 619 Quantity TranslateTo Unit 620 END 621 END 622 NODE (FaceAmount) 623 IF (Quantity Type Code IsSameString 'FAMT') 624 THEN 625 Quantity TranslateTo FaceAmount 626 END 627 END 628 NODE (AmortisedValue) 629 IF (Quantity Type Code IsSameString 'AMOR') 630 THEN 631 Quantity TranslateTo AmortisedValue 632 END 633 END 634 END 635 END |
protected void |
translate36B_OriginalAndCurrentQuantities4_Default(String targetElement,
MtPathResult content)
Translate method 36B -> OriginalAndCurrentQuantities4 : Default
593 TRANSLATE(36B, OriginalAndCurrentQuantities4) 594 RULE 595 NODE (FaceAmount) 596 IF (Quantity Type Code IsSameString 'FAMT') 597 THEN 598 Quantity TranslateTo FaceAmount 599 END 600 END 601 NODE (AmortisedValue) 602 IF (Quantity Type Code IsSameString 'AMOR') 603 THEN 604 Quantity TranslateTo AmortisedValue 605 END 606 END 607 END 608 END |
protected void |
translate94B_6_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94B_6 -> SafekeepingPlaceFormat5Choice : Default
419 TRANSLATE(94B_6, SafekeepingPlaceFormat5Choice) 420 RULE 421 NODE (Identification) 422 NODE (SafekeepingPlaceType) 423 IF (Not (Data Source Scheme IsPresent)) 424 THEN 425 Place Code TranslateTo Identification\SafekeepingPlaceType 426 END 427 END 428 NODE (Identification) 429 IF (Not (Data Source Scheme IsPresent)) 430 THEN 431 Narrative CopyTo Identification\Identification 432 END 433 END 434 END 435 NODE (Proprietary) 436 NODE (Type) 437 Data Source Scheme TranslateTo Proprietary\Type 438 NODE (Identification) 439 IF (Data Source Scheme IsPresent) 440 THEN 441 Place Code CopyTo Proprietary\Type\Identification 442 END 443 END 444 END 445 NODE (Identification) 446 IF (Data Source Scheme IsPresent) 447 THEN 448 Narrative CopyTo Proprietary\Identification 449 END 450 END 451 END 452 END 453 END |
protected void |
translate94C_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94C -> SafekeepingPlaceFormat5Choice : Default
460 TRANSLATE(94C, SafekeepingPlaceFormat5Choice) 461 RULE 462 NODE (Country) 463 Country Code CopyTo Country 464 END 465 END 466 END |
protected void |
translate94F_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94F -> SafekeepingPlaceFormat5Choice : Default
467 TRANSLATE(94F, SafekeepingPlaceFormat5Choice) 468 RULE 469 NODE (TypeAndIdentification) 470 NODE (SafekeepingPlaceType) 471 Place Code TranslateTo TypeAndIdentification\SafekeepingPlaceType 472 END 473 NODE (Identification) 474 Identifier Code TranslateTo TypeAndIdentification\Identification 475 END 476 END 477 END 478 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
379 TRANSLATE(95P_4, PartyIdentification51Choice) 380 RULE 381 NODE (AnyBIC) 382 Identifier Code TranslateTo AnyBIC 383 END 384 END 385 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
391 TRANSLATE(95R_1, PartyIdentification51Choice) 392 RULE 393 NODE (ProprietaryIdentification) 394 NODE (Identification) 395 Proprietary Code TranslateTo ProprietaryIdentification\Identification 396 END 397 Data Source Scheme TranslateTo ProprietaryIdentification 398 END 399 END 400 END |
protected void |
translate97A_RestrictedFINXMax35Text_Default(String targetElement,
MtPathResult content)
Translate method 97A -> RestrictedFINXMax35Text : Default
374 TRANSLATE(97A, RestrictedFINXMax35Text) 375 RULE 376 Account Number CopyTo RestrictedFINXMax35Text 377 END 378 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 |
translateCode_4c_141_CorporateActionOption4Code_Default(String targetElement,
String content)
Translate method Code_4!c_141 -> CorporateActionOption4Code : Default
561 TRANSLATE(Code_4!c_141, CorporateActionOption4Code) 562 RULE 563 'ABST' EquivalentTo 'ABST' 564 'AMGT' EquivalentTo 'AMGT' 565 'BSPL' EquivalentTo 'BSPL' 566 'BUYA' EquivalentTo 'BUYA' 567 'CASE' EquivalentTo 'CASE' 568 'CASH' EquivalentTo 'CASH' 569 'CERT' EquivalentTo 'CERT' 570 'CEXC' EquivalentTo 'CEXC' 571 'CONN' EquivalentTo 'CONN' 572 'CONY' EquivalentTo 'CONY' 573 'CTEN' EquivalentTo 'CTEN' 574 'EXER' EquivalentTo 'EXER' 575 'LAPS' EquivalentTo 'LAPS' 576 'MKDW' EquivalentTo 'MKDW' 577 'MKUP' EquivalentTo 'MKUP' 578 'MNGT' EquivalentTo 'MNGT' 579 'MPUT' EquivalentTo 'MPUT' 580 'NOAC' EquivalentTo 'NOAC' 581 'NOQU' EquivalentTo 'NOQU' 582 'OFFR' EquivalentTo 'OFFR' 583 'OTHR' EquivalentTo 'OTHR' 584 'OVER' EquivalentTo 'OVER' 585 'PROX' EquivalentTo 'PROX' 586 'QINV' EquivalentTo 'QINV' 587 'SECU' EquivalentTo 'SECU' 588 'SLLE' EquivalentTo 'SLLE' 589 'SPLI' EquivalentTo 'SPLI' 590 'TAXI' EquivalentTo 'TAXI' 591 END 592 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_5_SafekeepingPlace1Code_Default(String targetElement,
String content)
Translate method Code_4!c_5 -> SafekeepingPlace1Code : Default
479 TRANSLATE(Code_4!c_5, SafekeepingPlace1Code) 480 RULE 481 'CUST' EquivalentTo 'CUST' 482 'ICSD' EquivalentTo 'ICSD' 483 'NCSD' EquivalentTo 'NCSD' 484 'SHHE' EquivalentTo 'SHHE' 485 END 486 END |
protected void |
translateIdentifier_BICFIOrNonFI_AnyBICIdentifier_Default(String targetElement,
String content)
Translate method Identifier_BICFIOrNonFI -> AnyBICIdentifier : Default
386 TRANSLATE(Identifier_BICFIOrNonFI, AnyBICIdentifier) 387 RULE 388 Identifier_BICFIOrNonFI CopyTo AnyBICIdentifier 389 END 390 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_GenericIdentification24_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> GenericIdentification24 : Default
406 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 407 RULE 408 NODE (Issuer) 409 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 410 END 411 NODE (SchemeName) 412 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 413 THEN 414 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 415 END 416 END 417 END 418 END |
protected void |
translateIdentifier_FIN_8c_GenericIdentification25_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> GenericIdentification25 : Default
126 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 127 RULE 128 NODE (Issuer) 129 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 130 END 131 NODE (SchemeName) 132 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 133 THEN 134 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 135 END 136 END 137 END 138 END |
protected void |
translateIdentifier_Isin_ISINIdentifier_Default(String targetElement,
String content)
Translate method Identifier_Isin -> ISINIdentifier : Default
238 TRANSLATE(Identifier_Isin, ISINIdentifier) 239 RULE 240 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 241 END 242 END |
protected void |
translateImpl(MT565 source)
Translation rules implementation
|
protected void |
translateOptionalCode_4c_248_SafekeepingPlace2Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_248 -> SafekeepingPlace2Code : Default
454 TRANSLATE(OptionalCode_4!c_248, SafekeepingPlace2Code) 455 RULE 456 'ALLP' EquivalentTo 'ALLP' 457 'SHHE' EquivalentTo 'SHHE' 458 END 459 END |
protected void |
translateOptionalCode_4c_3_ProcessingPosition3Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_3 -> ProcessingPosition3Code : Default
118 TRANSLATE(OptionalCode_4!c_3, ProcessingPosition3Code) 119 RULE 120 'AFTE' EquivalentTo 'AFTE' 121 'BEFO' EquivalentTo 'BEFO' 122 'INFO' EquivalentTo 'INFO' 123 'WITH' EquivalentTo 'WITH' 124 END 125 END |
protected void |
translateOptionalCode_4c_310_CorporateActionOption4Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_310 -> CorporateActionOption4Code : Default
522 TRANSLATE(OptionalCode_4!c_310, CorporateActionOption4Code) 523 RULE 524 'ABST' EquivalentTo 'ABST' 525 'AMGT' EquivalentTo 'AMGT' 526 'BSPL' EquivalentTo 'BSPL' 527 'BUYA' EquivalentTo 'BUYA' 528 'CASE' EquivalentTo 'CASE' 529 'CASH' EquivalentTo 'CASH' 530 'CERT' EquivalentTo 'CERT' 531 'CEXC' EquivalentTo 'CEXC' 532 'CONN' EquivalentTo 'CONN' 533 'CONY' EquivalentTo 'CONY' 534 'CTEN' EquivalentTo 'CTEN' 535 'EXER' EquivalentTo 'EXER' 536 'LAPS' EquivalentTo 'LAPS' 537 'MKDW' EquivalentTo 'MKDW' 538 'MKUP' EquivalentTo 'MKUP' 539 'MNGT' EquivalentTo 'MNGT' 540 'MPUT' EquivalentTo 'MPUT' 541 'NOAC' EquivalentTo 'NOAC' 542 'NOQU' EquivalentTo 'NOQU' 543 'OFFR' EquivalentTo 'OFFR' 544 'OTHR' EquivalentTo 'OTHR' 545 'OVER' EquivalentTo 'OVER' 546 'PROX' EquivalentTo 'PROX' 547 'QINV' EquivalentTo 'QINV' 548 'SECU' EquivalentTo 'SECU' 549 'SLLE' EquivalentTo 'SLLE' 550 'SPLI' EquivalentTo 'SPLI' 551 'TAXI' EquivalentTo 'TAXI' 552 END 553 END |
protected void |
translateOptionalCode_4c_408_CorporateActionEventType6Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_408 -> CorporateActionEventType6Code : Default
158 TRANSLATE(OptionalCode_4!c_408, CorporateActionEventType6Code) 159 RULE 160 'ACTV' EquivalentTo 'ACTV' 161 'ATTI' EquivalentTo 'ATTI' 162 'BIDS' EquivalentTo 'BIDS' 163 'BONU' EquivalentTo 'BONU' 164 'BPUT' EquivalentTo 'BPUT' 165 'BRUP' EquivalentTo 'BRUP' 166 'CAPG' EquivalentTo 'CAPG' 167 'CAPI' EquivalentTo 'CAPI' 168 'CERT' EquivalentTo 'CERT' 169 'CHAN' EquivalentTo 'CHAN' 170 'CLSA' EquivalentTo 'CLSA' 171 'CONS' EquivalentTo 'CONS' 172 'CONV' EquivalentTo 'CONV' 173 'COOP' EquivalentTo 'COOP' 174 'DECR' EquivalentTo 'DECR' 175 'DETI' EquivalentTo 'DETI' 176 'DFLT' EquivalentTo 'DFLT' 177 'DLST' EquivalentTo 'DLST' 178 'DRAW' EquivalentTo 'DRAW' 179 'DRIP' EquivalentTo 'DRIP' 180 'DSCL' EquivalentTo 'DSCL' 181 'DTCH' EquivalentTo 'DTCH' 182 'DVCA' EquivalentTo 'DVCA' 183 'DVOP' EquivalentTo 'DVOP' 184 'DVSC' EquivalentTo 'DVSC' 185 'DVSE' EquivalentTo 'DVSE' 186 'EXOF' EquivalentTo 'EXOF' 187 'EXRI' EquivalentTo 'EXRI' 188 'EXTM' EquivalentTo 'EXTM' 189 'EXWA' EquivalentTo 'EXWA' 190 'CAPD' EquivalentTo 'CAPD' 191 'INCR' EquivalentTo 'INCR' 192 'INTR' EquivalentTo 'INTR' 193 'LIQU' EquivalentTo 'LIQU' 194 'MCAL' EquivalentTo 'MCAL' 195 'MRGR' EquivalentTo 'MRGR' 196 'ODLT' EquivalentTo 'ODLT' 197 'OTHR' EquivalentTo 'OTHR' 198 'PARI' EquivalentTo 'PARI' 199 'PCAL' EquivalentTo 'PCAL' 200 'PDEF' EquivalentTo 'PDEF' 201 'PINK' EquivalentTo 'PINK' 202 'PLAC' EquivalentTo 'PLAC' 203 'PPMT' EquivalentTo 'PPMT' 204 'PRED' EquivalentTo 'PRED' 205 'PRII' EquivalentTo 'PRII' 206 'PRIO' EquivalentTo 'PRIO' 207 'REDM' EquivalentTo 'REDM' 208 'REDO' EquivalentTo 'REDO' 209 'REMK' EquivalentTo 'REMK' 210 'RHDI' EquivalentTo 'RHDI' 211 'RHTS' EquivalentTo 'RHTS' 212 'SHPR' EquivalentTo 'SHPR' 213 'SMAL' EquivalentTo 'SMAL' 214 'SOFF' EquivalentTo 'SOFF' 215 'SPLF' EquivalentTo 'SPLF' 216 'SPLR' EquivalentTo 'SPLR' 217 'SUSP' EquivalentTo 'SUSP' 218 'TEND' EquivalentTo 'TEND' 219 'TREC' EquivalentTo 'TREC' 220 'WRTH' EquivalentTo 'WRTH' 221 'WTRC' EquivalentTo 'WTRC' 222 'CREV' EquivalentTo 'CREV' 223 END 224 END |
protected void |
translateQuantity_FIN_15d_RestrictedFINDecimalNumber_Default(String targetElement,
String content)
Translate method Quantity_FIN_15d -> RestrictedFINDecimalNumber : Default
636 TRANSLATE(Quantity_FIN_15d, RestrictedFINDecimalNumber) 637 RULE 638 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINDecimalNumber 639 END 640 END |
protected void |
translateQuantity_FIN_15d_RestrictedFINImpliedCurrencyAndAmount_Default(String targetElement,
String content)
Translate method Quantity_FIN_15d -> RestrictedFINImpliedCurrencyAndAmount : Default
609 TRANSLATE(Quantity_FIN_15d, RestrictedFINImpliedCurrencyAndAmount) 610 RULE 611 ((Quantity_FIN_15d Divide ('1', '5')) FormatDecimal 'MX') CopyTo RestrictedFINImpliedCurrencyAndAmount 612 END 613 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
94 TRANSLATE(Text_FIN_16x, RestrictedFINXMax16Text) 95 RULE 96 Text_FIN_16x CopyTo RestrictedFINXMax16Text 97 END 98 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
401 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 402 RULE 403 Text_FIN_34x CopyTo RestrictedFINXMax34Text 404 END 405 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 |
public MT565_MxSeev04000202_Translation()
public final MxSeev04000202 translate(MT565 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT565 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT565 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT565 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 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 translate22F_240_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_408_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 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_6_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_248_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 translate13A_OptionNumber1Choice_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 translate22F_188_CorporateActionOption6Choice_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_310_CorporateActionOption4Code_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 translate22H_41_CorporateActionOption6Choice_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_141_CorporateActionOption4Code_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 translate36B_OriginalAndCurrentQuantities4_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_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 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 addedpublic final Boolean logicalMessageCriteriaCheck(MT565 source)
source
- a well formed MT565 objectpublic final List<PreconditionError> preconditionsCheck(MT565 source)