public class MT564_MxSeev03900202_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT564_MxSeev03900202_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT564_MxSeev03900202_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(MT564 source)
Message criteria check
This method checks the content of the source MT564 and determines if it can be translated to the target MxSeev03900202 SELECT CRITERIA MustBe ((A\23G Function of the Message\23G\Function IsSameString 'CANC') Or (A\23G Function of the Message\23G\Function IsSameString 'WITH')) MustBe (Not (D\22F Indicator\ADDB[*]\22F\Indicator ContainsString 'CAPA')) END |
List<PreconditionError> |
preconditionsCheck(MT564 source)
Precondition check
This method checks the precondition on the content of the source MT564 |
void |
preconditionSR1Check(MT564 source)
Precondition check
This method checks the precondition SR1 on the content of the source MT564 IF ((B2[*]\97a Account\SAFE\97C\Account Code ContainsString 'GENR') And ((B2[*]\95a Party\ACOW IsPresent) Or ((B2[*]\94a Place\SAFE IsPresent) Or (B2[*]\93a Balance IsPresent)))) THEN Fail ('06003', 'If 97C GENR is present, then the other elements must not be present.', B2[*]) END |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSeev03900202 |
translate(MT564 source)
Main entry point for the translation
|
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
127 TRANSLATE(20C, RestrictedFINXMax16Text) 128 RULE 129 Reference TranslateTo RestrictedFINXMax16Text 130 END 131 END |
protected void |
translate22F_111_CorporateActionMandatoryVoluntary2Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_111 -> CorporateActionMandatoryVoluntary2Choice : Default
245 TRANSLATE(22F_111, CorporateActionMandatoryVoluntary2Choice) 246 RULE 247 NODE (Code) 248 IF (Not (Data Source Scheme IsPresent)) 249 THEN 250 Indicator TranslateTo Code 251 END 252 END 253 NODE (Proprietary) 254 Data Source Scheme TranslateTo Proprietary 255 NODE (Identification) 256 IF (Data Source Scheme IsPresent) 257 THEN 258 Indicator CopyTo Proprietary\Identification 259 END 260 END 261 END 262 END 263 END |
protected void |
translate22F_232_CorporateActionEventType4Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_232 -> CorporateActionEventType4Choice : Default
137 TRANSLATE(22F_232, CorporateActionEventType4Choice) 138 RULE 139 NODE (Code) 140 IF (Not (Data Source Scheme IsPresent)) 141 THEN 142 IF (Not ((Indicator IsSameString 'CMET') Or (((Indicator IsSameString 'MEET') Or (Indicator IsSameString 'OMET')) Or (Indicator IsSameString 'XMET')))) 143 THEN 144 Indicator TranslateTo Code 145 END 146 END 147 END 148 NODE (Proprietary) 149 Data Source Scheme TranslateTo Proprietary 150 NODE (Identification) 151 IF ((Data Source Scheme IsPresent) Or (((Indicator IsSameString 'CMET') Or (((Indicator IsSameString 'MEET') Or (Indicator IsSameString 'OMET')) Or (Indicator IsSameString 'XMET'))) And (Not (Data Source Scheme IsPresent)))) 152 THEN 153 Indicator CopyTo Proprietary\Identification 154 END 155 END 156 NODE (Issuer) 157 IF (((Indicator IsSameString 'CMET') Or (((Indicator IsSameString 'MEET') Or (Indicator IsSameString 'OMET')) Or (Indicator IsSameString 'XMET'))) And (Not (Data Source Scheme IsPresent))) 158 THEN 159 'COEX' CopyTo Proprietary\Issuer 160 END 161 END 162 END 163 END 164 END |
protected void |
translate25D_44_CorporateActionProcessingStatus1Choice_Default(String targetElement,
MtPathResult content)
Translate method 25D_44 -> CorporateActionProcessingStatus1Choice : Default
95 TRANSLATE(25D_44, CorporateActionProcessingStatus1Choice) 96 RULE 97 NODE (EventStatus) 98 NODE (EventCompletenessStatus) 99 IF (((Status Code IsSameString 'COMP') Or (Status Code IsSameString 'COMU')) Or (Status Code IsSameString 'ENTL')) 100 THEN 101 'COMP' CopyTo EventStatus\EventCompletenessStatus 102 END 103 IF ((Status Code IsSameString 'PREC') Or (Status Code IsSameString 'PREU')) 104 THEN 105 'INCO' CopyTo EventStatus\EventCompletenessStatus 106 END 107 END 108 NODE (EventConfirmationStatus) 109 IF (((Status Code IsSameString 'COMP') Or (Status Code IsSameString 'PREC')) Or (Status Code IsSameString 'ENTL')) 110 THEN 111 'CONF' CopyTo EventStatus\EventConfirmationStatus 112 END 113 IF ((Status Code IsSameString 'PREU') Or (Status Code IsSameString 'COMU')) 114 THEN 115 'UCON' CopyTo EventStatus\EventConfirmationStatus 116 END 117 END 118 END 119 NODE (ForInformationOnlyIndicator) 120 IF (Status Code IsSameString 'INFO') 121 THEN 122 'true' CopyTo ForInformationOnlyIndicator 123 END 124 END 125 END 126 END |
protected void |
translate35B_Max140Text_Default(String targetElement,
Field field)
Translate method 35B -> Max140Text : Default
400 TRANSLATE(35B, Max140Text) 401 RULE 402 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 '/'))))) 403 THEN 404 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo Max140Text 405 ELSE 406 IF (Identification of Security IsPresent) 407 THEN 408 (Description of Security\Line[*] Concatenate) CopyTo Max140Text 409 ELSE 410 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 '/')))) 411 THEN 412 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo Max140Text 413 ELSE 414 (Description of Security\Line[*] Concatenate) CopyTo Max140Text 415 END 416 END 417 END 418 END 419 END |
protected void |
translate35B_OtherIdentification1_Default(String targetElement,
Field field)
Translate method 35B -> OtherIdentification1 : Default
289 TRANSLATE(35B, OtherIdentification1) 290 RULE 291 NODE (Identification) 292 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/')) 293 THEN 294 IF (((Description of Security\Line[1] Substring '5') Length) GreaterThan '0') 295 THEN 296 (Description of Security\Line[1] Substring '5') CopyTo Identification 297 ELSE 298 'Not available.' CopyTo Identification 299 END 300 ELSE 301 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 '/'))) 302 THEN 303 IF (((Description of Security\Line[1] Substring '7') Length) GreaterThan '0') 304 THEN 305 (Description of Security\Line[1] Substring '7') CopyTo Identification 306 ELSE 307 'Not available.' CopyTo Identification 308 END 309 END 310 END 311 END 312 NODE (Type) 313 NODE (Code) 314 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/') 315 THEN 316 'TIKR' CopyTo Type\Code 317 END 318 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/') 319 THEN 320 'COMM' CopyTo Type\Code 321 END 322 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/BE/') 323 THEN 324 'BELC' CopyTo Type\Code 325 END 326 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/US/') 327 THEN 328 'CUSP' CopyTo Type\Code 329 END 330 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/GB/') 331 THEN 332 'SEDL' CopyTo Type\Code 333 END 334 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/JP/') 335 THEN 336 'SICC' CopyTo Type\Code 337 END 338 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/CH/') 339 THEN 340 'VALO' CopyTo Type\Code 341 END 342 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/DE/') 343 THEN 344 'WKNR' CopyTo Type\Code 345 END 346 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 '/'))) 347 THEN 348 ((Description of Security\Line[1] Substring ('2', '2')) Concatenate 'CD') CopyTo Type\Code 349 END 350 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/BLOM/') 351 THEN 352 'BLOM' CopyTo Type\Code 353 END 354 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CMED/') 355 THEN 356 'CMED' CopyTo Type\Code 357 END 358 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CTAC/') 359 THEN 360 'CTAC' CopyTo Type\Code 361 END 362 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDU/') 363 THEN 364 'ISDU' CopyTo Type\Code 365 END 366 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDX/') 367 THEN 368 'ISDX' CopyTo Type\Code 369 END 370 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/LCHD/') 371 THEN 372 'LCHD' CopyTo Type\Code 373 END 374 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OCCS/') 375 THEN 376 'OCCS' CopyTo Type\Code 377 END 378 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OPRA/') 379 THEN 380 'OPRA' CopyTo Type\Code 381 END 382 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RCMD/') 383 THEN 384 'RCMD' CopyTo Type\Code 385 END 386 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RICC/') 387 THEN 388 'RICC' CopyTo Type\Code 389 END 390 END 391 NODE (Proprietary) 392 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/') 393 THEN 394 'XX' CopyTo Type\Proprietary 395 END 396 END 397 END 398 END 399 END |
protected void |
translate35B_SecurityIdentification14_Default(String targetElement,
MtPathResult content)
Translate method 35B -> SecurityIdentification14 : Default
271 TRANSLATE(35B, SecurityIdentification14) 272 RULE 273 NODE (ISIN) 274 Identification of Security TranslateTo ISIN 275 END 276 NODE (OtherIdentification) 277 35B TranslateTo OtherIdentification 278 END 279 NODE (Description) 280 35B TranslateTo Description 281 END 282 END 283 END |
protected void |
translate94B_6_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94B_6 -> SafekeepingPlaceFormat5Choice : Default
475 TRANSLATE(94B_6, SafekeepingPlaceFormat5Choice) 476 RULE 477 NODE (Identification) 478 NODE (SafekeepingPlaceType) 479 IF (Not (Data Source Scheme IsPresent)) 480 THEN 481 Place Code TranslateTo Identification\SafekeepingPlaceType 482 END 483 END 484 NODE (Identification) 485 IF (Not (Data Source Scheme IsPresent)) 486 THEN 487 Narrative CopyTo Identification\Identification 488 END 489 END 490 END 491 NODE (Proprietary) 492 NODE (Type) 493 Data Source Scheme TranslateTo Proprietary\Type 494 NODE (Identification) 495 IF (Data Source Scheme IsPresent) 496 THEN 497 Place Code CopyTo Proprietary\Type\Identification 498 END 499 END 500 END 501 NODE (Identification) 502 IF (Data Source Scheme IsPresent) 503 THEN 504 Narrative CopyTo Proprietary\Identification 505 END 506 END 507 END 508 END 509 END |
protected void |
translate94C_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94C -> SafekeepingPlaceFormat5Choice : Default
536 TRANSLATE(94C, SafekeepingPlaceFormat5Choice) 537 RULE 538 NODE (Country) 539 Country Code CopyTo Country 540 END 541 END 542 END |
protected void |
translate94F_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94F -> SafekeepingPlaceFormat5Choice : Default
516 TRANSLATE(94F, SafekeepingPlaceFormat5Choice) 517 RULE 518 NODE (TypeAndIdentification) 519 NODE (SafekeepingPlaceType) 520 Place Code TranslateTo TypeAndIdentification\SafekeepingPlaceType 521 END 522 NODE (Identification) 523 Identifier Code TranslateTo TypeAndIdentification\Identification 524 END 525 END 526 END 527 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
435 TRANSLATE(95P_4, PartyIdentification51Choice) 436 RULE 437 NODE (AnyBIC) 438 Identifier Code TranslateTo AnyBIC 439 END 440 END 441 END |
protected void |
translate95P_4_PartyIdentification56Choice_Default(String targetElement,
MtPathResult content)
Translate method 95P_4 -> PartyIdentification56Choice : Default
553 TRANSLATE(95P_4, PartyIdentification56Choice) 554 RULE 555 NODE (AnyBIC) 556 Identifier Code TranslateTo AnyBIC 557 END 558 END 559 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 |
translate95Q_PartyIdentification56Choice_Default(String targetElement,
MtPathResult content)
Translate method 95Q -> PartyIdentification56Choice : Default
560 TRANSLATE(95Q, PartyIdentification56Choice) 561 RULE 562 NODE (NameAndAddress) 563 Name and Address TranslateTo NameAndAddress 564 END 565 END 566 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
447 TRANSLATE(95R_1, PartyIdentification51Choice) 448 RULE 449 NODE (ProprietaryIdentification) 450 NODE (Identification) 451 Proprietary Code TranslateTo ProprietaryIdentification\Identification 452 END 453 Data Source Scheme TranslateTo ProprietaryIdentification 454 END 455 END 456 END |
protected void |
translate95R_1_PartyIdentification56Choice_Default(String targetElement,
MtPathResult content)
Translate method 95R_1 -> PartyIdentification56Choice : Default
543 TRANSLATE(95R_1, PartyIdentification56Choice) 544 RULE 545 NODE (ProprietaryIdentification) 546 NODE (Identification) 547 Proprietary Code TranslateTo ProprietaryIdentification\Identification 548 END 549 Data Source Scheme TranslateTo ProprietaryIdentification 550 END 551 END 552 END |
protected void |
translate97A_RestrictedFINXMax35Text_Default(String targetElement,
MtPathResult content)
Translate method 97A -> RestrictedFINXMax35Text : Default
430 TRANSLATE(97A, RestrictedFINXMax35Text) 431 RULE 432 Account Number CopyTo RestrictedFINXMax35Text 433 END 434 END |
protected void |
translate97C_SafekeepingAccountIdentification1Code_Default(String targetElement,
MtPathResult content)
Translate method 97C -> SafekeepingAccountIdentification1Code : Default
420 TRANSLATE(97C, SafekeepingAccountIdentification1Code) 421 RULE 422 Account Code TranslateTo SafekeepingAccountIdentification1Code 423 END 424 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_100_SafekeepingAccountIdentification1Code_Default(String targetElement,
String content)
Translate method Code_4!c_100 -> SafekeepingAccountIdentification1Code : Default
425 TRANSLATE(Code_4!c_100, SafekeepingAccountIdentification1Code) 426 RULE 427 'GENR' EquivalentTo 'GENR' 428 END 429 END |
protected void |
translateCode_4c_138_CorporateActionCancellationReason1Code_Default(String targetElement,
MtPathResult content)
Translate method Code_4!c_138 -> CorporateActionCancellationReason1Code : Default
89 TRANSLATE(Code_4!c_138, CorporateActionCancellationReason1Code) 90 RULE 91 'CANC' EquivalentTo 'PROC' 92 'WITH' EquivalentTo 'WITH' 93 END 94 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
528 TRANSLATE(Code_4!c_5, SafekeepingPlace1Code) 529 RULE 530 'CUST' EquivalentTo 'CUST' 531 'ICSD' EquivalentTo 'ICSD' 532 'NCSD' EquivalentTo 'NCSD' 533 'SHHE' EquivalentTo 'SHHE' 534 END 535 END |
protected void |
translateIdentifier_BICFIOrNonFI_AnyBICIdentifier_Default(String targetElement,
String content)
Translate method Identifier_BICFIOrNonFI -> AnyBICIdentifier : Default
442 TRANSLATE(Identifier_BICFIOrNonFI, AnyBICIdentifier) 443 RULE 444 Identifier_BICFIOrNonFI CopyTo AnyBICIdentifier 445 END 446 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
462 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 463 RULE 464 NODE (Issuer) 465 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 466 END 467 NODE (SchemeName) 468 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 469 THEN 470 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 471 END 472 END 473 END 474 END |
protected void |
translateIdentifier_FIN_8c_GenericIdentification25_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> GenericIdentification25 : Default
232 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 233 RULE 234 NODE (Issuer) 235 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 236 END 237 NODE (SchemeName) 238 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 239 THEN 240 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 241 END 242 END 243 END 244 END |
protected void |
translateIdentifier_Isin_ISINIdentifier_Default(String targetElement,
String content)
Translate method Identifier_Isin -> ISINIdentifier : Default
284 TRANSLATE(Identifier_Isin, ISINIdentifier) 285 RULE 286 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 287 END 288 END |
protected void |
translateImpl(MT564 source)
Translation rules implementation
|
protected void |
translateOptionalCode_4c_180_CorporateActionMandatoryVoluntary1Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_180 -> CorporateActionMandatoryVoluntary1Code : Default
264 TRANSLATE(OptionalCode_4!c_180, CorporateActionMandatoryVoluntary1Code) 265 RULE 266 'MAND' EquivalentTo 'MAND' 267 'CHOS' EquivalentTo 'CHOS' 268 'VOLU' EquivalentTo 'VOLU' 269 END 270 END |
protected void |
translateOptionalCode_4c_248_SafekeepingPlace2Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_248 -> SafekeepingPlace2Code : Default
510 TRANSLATE(OptionalCode_4!c_248, SafekeepingPlace2Code) 511 RULE 512 'ALLP' EquivalentTo 'ALLP' 513 'SHHE' EquivalentTo 'SHHE' 514 END 515 END |
protected void |
translateOptionalCode_4c_398_CorporateActionEventType6Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_398 -> CorporateActionEventType6Code : Default
165 TRANSLATE(OptionalCode_4!c_398, CorporateActionEventType6Code) 166 RULE 167 'ACTV' EquivalentTo 'ACTV' 168 'ATTI' EquivalentTo 'ATTI' 169 'BIDS' EquivalentTo 'BIDS' 170 'BONU' EquivalentTo 'BONU' 171 'BPUT' EquivalentTo 'BPUT' 172 'BRUP' EquivalentTo 'BRUP' 173 'CAPG' EquivalentTo 'CAPG' 174 'CAPI' EquivalentTo 'CAPI' 175 'CERT' EquivalentTo 'CERT' 176 'CHAN' EquivalentTo 'CHAN' 177 'CLSA' EquivalentTo 'CLSA' 178 'CONS' EquivalentTo 'CONS' 179 'CONV' EquivalentTo 'CONV' 180 'COOP' EquivalentTo 'COOP' 181 'DECR' EquivalentTo 'DECR' 182 'DETI' EquivalentTo 'DETI' 183 'DFLT' EquivalentTo 'DFLT' 184 'DLST' EquivalentTo 'DLST' 185 'DRAW' EquivalentTo 'DRAW' 186 'DRIP' EquivalentTo 'DRIP' 187 'DSCL' EquivalentTo 'DSCL' 188 'DTCH' EquivalentTo 'DTCH' 189 'DVCA' EquivalentTo 'DVCA' 190 'DVOP' EquivalentTo 'DVOP' 191 'DVSC' EquivalentTo 'DVSC' 192 'DVSE' EquivalentTo 'DVSE' 193 'EXOF' EquivalentTo 'EXOF' 194 'EXRI' EquivalentTo 'EXRI' 195 'EXTM' EquivalentTo 'EXTM' 196 'EXWA' EquivalentTo 'EXWA' 197 'CAPD' EquivalentTo 'CAPD' 198 'INCR' EquivalentTo 'INCR' 199 'INTR' EquivalentTo 'INTR' 200 'LIQU' EquivalentTo 'LIQU' 201 'MCAL' EquivalentTo 'MCAL' 202 'MRGR' EquivalentTo 'MRGR' 203 'ODLT' EquivalentTo 'ODLT' 204 'OTHR' EquivalentTo 'OTHR' 205 'PARI' EquivalentTo 'PARI' 206 'PCAL' EquivalentTo 'PCAL' 207 'PDEF' EquivalentTo 'PDEF' 208 'PINK' EquivalentTo 'PINK' 209 'PLAC' EquivalentTo 'PLAC' 210 'PPMT' EquivalentTo 'PPMT' 211 'PRED' EquivalentTo 'PRED' 212 'PRII' EquivalentTo 'PRII' 213 'PRIO' EquivalentTo 'PRIO' 214 'REDM' EquivalentTo 'REDM' 215 'REDO' EquivalentTo 'REDO' 216 'REMK' EquivalentTo 'REMK' 217 'RHDI' EquivalentTo 'RHDI' 218 'RHTS' EquivalentTo 'RHTS' 219 'SHPR' EquivalentTo 'SHPR' 220 'SMAL' EquivalentTo 'SMAL' 221 'SOFF' EquivalentTo 'SOFF' 222 'SPLF' EquivalentTo 'SPLF' 223 'SPLR' EquivalentTo 'SPLR' 224 'SUSP' EquivalentTo 'SUSP' 225 'TEND' EquivalentTo 'TEND' 226 'TREC' EquivalentTo 'TREC' 227 'WRTH' EquivalentTo 'WRTH' 228 'WTRC' EquivalentTo 'WTRC' 229 'CREV' EquivalentTo 'CREV' 230 END 231 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
132 TRANSLATE(Text_FIN_16x, RestrictedFINXMax16Text) 133 RULE 134 Text_FIN_16x CopyTo RestrictedFINXMax16Text 135 END 136 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
457 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 458 RULE 459 Text_FIN_34x CopyTo RestrictedFINXMax34Text 460 END 461 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_4M35x_NameAndAddress12_Default(String targetElement,
String content)
Translate method Text_FIN_4M35x -> NameAndAddress12 : Default
567 TRANSLATE(Text_FIN_4M35x, NameAndAddress12) 568 RULE 569 NODE (Name) 570 ((Line[*] ConcatenateWithSeparator '-') ReplaceAll ('/', '-')) CopyTo Name 571 END 572 END 573 END |
public MT564_MxSeev03900202_Translation()
public final MxSeev03900202 translate(MT564 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT564 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT564 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT564 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_138_CorporateActionCancellationReason1Code_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 translate25D_44_CorporateActionProcessingStatus1Choice_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_232_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_398_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 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_111_CorporateActionMandatoryVoluntary2Choice_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_180_CorporateActionMandatoryVoluntary1Code_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_SecurityIdentification14_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_OtherIdentification1_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_Max140Text_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 translate97C_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_100_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_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 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 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 translate95R_1_PartyIdentification56Choice_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_PartyIdentification56Choice_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 translate95Q_PartyIdentification56Choice_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_NameAndAddress12_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(MT564 source)
source
- a well formed MT564 objectpublic final void preconditionSR1Check(MT564 source) throws TranslationPreconditionException
source
- a well formed MT564 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MT564 source)