public class MT564_MxSeev04400202_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT564_MxSeev04400202_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT564_MxSeev04400202_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 MxSeev04400202 SELECT CRITERIA MustBe (A\23G Function of the Message\23G\Function IsSameString 'CANC') MustBe (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
|
MxSeev04400202 |
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
89 TRANSLATE(20C, RestrictedFINXMax16Text) 90 RULE 91 Reference TranslateTo RestrictedFINXMax16Text 92 END 93 END |
protected void |
translate22F_111_CorporateActionMandatoryVoluntary2Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_111 -> CorporateActionMandatoryVoluntary2Choice : Default
234 TRANSLATE(22F_111, CorporateActionMandatoryVoluntary2Choice) 235 RULE 236 NODE (Code) 237 IF (Not (Data Source Scheme IsPresent)) 238 THEN 239 Indicator TranslateTo Code 240 END 241 END 242 NODE (Proprietary) 243 Data Source Scheme TranslateTo Proprietary 244 NODE (Identification) 245 IF (Data Source Scheme IsPresent) 246 THEN 247 Indicator CopyTo Proprietary\Identification 248 END 249 END 250 END 251 END 252 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_232_CorporateActionEventType4Choice_Default(String targetElement,
MtPathResult content)
Translate method 22F_232 -> CorporateActionEventType4Choice : Default
139 TRANSLATE(22F_232, CorporateActionEventType4Choice) 140 RULE 141 NODE (Code) 142 IF (Not (Data Source Scheme IsPresent)) 143 THEN 144 IF (Not ((Indicator IsSameString 'CMET') Or (((Indicator IsSameString 'MEET') Or (Indicator IsSameString 'OMET')) Or (Indicator IsSameString 'XMET')))) 145 THEN 146 Indicator TranslateTo Code 147 END 148 END 149 END 150 NODE (Proprietary) 151 Data Source Scheme TranslateTo Proprietary 152 NODE (Identification) 153 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)))) 154 THEN 155 Indicator CopyTo Proprietary\Identification 156 END 157 END 158 NODE (Issuer) 159 IF (((Indicator IsSameString 'CMET') Or (((Indicator IsSameString 'MEET') Or (Indicator IsSameString 'OMET')) Or (Indicator IsSameString 'XMET'))) And (Not (Data Source Scheme IsPresent))) 160 THEN 161 'COEX' CopyTo Proprietary\Issuer 162 END 163 END 164 END 165 END 166 END |
protected void |
translate35B_Max140Text_Default(String targetElement,
Field field)
Translate method 35B -> Max140Text : Default
389 TRANSLATE(35B, Max140Text) 390 RULE 391 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 '/'))))) 392 THEN 393 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo Max140Text 394 ELSE 395 IF (Identification of Security IsPresent) 396 THEN 397 (Description of Security\Line[*] Concatenate) CopyTo Max140Text 398 ELSE 399 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 '/')))) 400 THEN 401 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo Max140Text 402 ELSE 403 (Description of Security\Line[*] Concatenate) CopyTo Max140Text 404 END 405 END 406 END 407 END 408 END |
protected void |
translate35B_OtherIdentification1_Default(String targetElement,
Field field)
Translate method 35B -> OtherIdentification1 : Default
278 TRANSLATE(35B, OtherIdentification1) 279 RULE 280 NODE (Identification) 281 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/')) 282 THEN 283 IF (((Description of Security\Line[1] Substring '5') Length) GreaterThan '0') 284 THEN 285 (Description of Security\Line[1] Substring '5') CopyTo Identification 286 ELSE 287 'Not available.' CopyTo Identification 288 END 289 ELSE 290 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 '/'))) 291 THEN 292 IF (((Description of Security\Line[1] Substring '7') Length) GreaterThan '0') 293 THEN 294 (Description of Security\Line[1] Substring '7') CopyTo Identification 295 ELSE 296 'Not available.' CopyTo Identification 297 END 298 END 299 END 300 END 301 NODE (Type) 302 NODE (Code) 303 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/') 304 THEN 305 'TIKR' CopyTo Type\Code 306 END 307 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/') 308 THEN 309 'COMM' CopyTo Type\Code 310 END 311 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/BE/') 312 THEN 313 'BELC' CopyTo Type\Code 314 END 315 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/US/') 316 THEN 317 'CUSP' CopyTo Type\Code 318 END 319 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/GB/') 320 THEN 321 'SEDL' CopyTo Type\Code 322 END 323 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/JP/') 324 THEN 325 'SICC' CopyTo Type\Code 326 END 327 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/CH/') 328 THEN 329 'VALO' CopyTo Type\Code 330 END 331 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/DE/') 332 THEN 333 'WKNR' CopyTo Type\Code 334 END 335 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 '/'))) 336 THEN 337 ((Description of Security\Line[1] Substring ('2', '2')) Concatenate 'CD') CopyTo Type\Code 338 END 339 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/BLOM/') 340 THEN 341 'BLOM' CopyTo Type\Code 342 END 343 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CMED/') 344 THEN 345 'CMED' CopyTo Type\Code 346 END 347 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CTAC/') 348 THEN 349 'CTAC' CopyTo Type\Code 350 END 351 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDU/') 352 THEN 353 'ISDU' CopyTo Type\Code 354 END 355 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDX/') 356 THEN 357 'ISDX' CopyTo Type\Code 358 END 359 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/LCHD/') 360 THEN 361 'LCHD' CopyTo Type\Code 362 END 363 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OCCS/') 364 THEN 365 'OCCS' CopyTo Type\Code 366 END 367 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OPRA/') 368 THEN 369 'OPRA' CopyTo Type\Code 370 END 371 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RCMD/') 372 THEN 373 'RCMD' CopyTo Type\Code 374 END 375 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RICC/') 376 THEN 377 'RICC' CopyTo Type\Code 378 END 379 END 380 NODE (Proprietary) 381 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/') 382 THEN 383 'XX' CopyTo Type\Proprietary 384 END 385 END 386 END 387 END 388 END |
protected void |
translate35B_SecurityIdentification14_Default(String targetElement,
MtPathResult content)
Translate method 35B -> SecurityIdentification14 : Default
260 TRANSLATE(35B, SecurityIdentification14) 261 RULE 262 NODE (ISIN) 263 Identification of Security TranslateTo ISIN 264 END 265 NODE (OtherIdentification) 266 35B TranslateTo OtherIdentification 267 END 268 NODE (Description) 269 35B TranslateTo Description 270 END 271 END 272 END |
protected void |
translate94B_6_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94B_6 -> SafekeepingPlaceFormat5Choice : Default
464 TRANSLATE(94B_6, SafekeepingPlaceFormat5Choice) 465 RULE 466 NODE (Identification) 467 NODE (SafekeepingPlaceType) 468 IF (Not (Data Source Scheme IsPresent)) 469 THEN 470 Place Code TranslateTo Identification\SafekeepingPlaceType 471 END 472 END 473 NODE (Identification) 474 IF (Not (Data Source Scheme IsPresent)) 475 THEN 476 Narrative CopyTo Identification\Identification 477 END 478 END 479 END 480 NODE (Proprietary) 481 NODE (Type) 482 Data Source Scheme TranslateTo Proprietary\Type 483 NODE (Identification) 484 IF (Data Source Scheme IsPresent) 485 THEN 486 Place Code CopyTo Proprietary\Type\Identification 487 END 488 END 489 END 490 NODE (Identification) 491 IF (Data Source Scheme IsPresent) 492 THEN 493 Narrative CopyTo Proprietary\Identification 494 END 495 END 496 END 497 END 498 END |
protected void |
translate94C_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94C -> SafekeepingPlaceFormat5Choice : Default
505 TRANSLATE(94C, SafekeepingPlaceFormat5Choice) 506 RULE 507 NODE (Country) 508 Country Code CopyTo Country 509 END 510 END 511 END |
protected void |
translate94F_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94F -> SafekeepingPlaceFormat5Choice : Default
512 TRANSLATE(94F, SafekeepingPlaceFormat5Choice) 513 RULE 514 NODE (TypeAndIdentification) 515 NODE (SafekeepingPlaceType) 516 Place Code TranslateTo TypeAndIdentification\SafekeepingPlaceType 517 END 518 NODE (Identification) 519 Identifier Code TranslateTo TypeAndIdentification\Identification 520 END 521 END 522 END 523 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
424 TRANSLATE(95P_4, PartyIdentification51Choice) 425 RULE 426 NODE (AnyBIC) 427 Identifier Code TranslateTo AnyBIC 428 END 429 END 430 END |
protected void |
translate95P_4_PartyIdentification56Choice_Default(String targetElement,
MtPathResult content)
Translate method 95P_4 -> PartyIdentification56Choice : Default
532 TRANSLATE(95P_4, PartyIdentification56Choice) 533 RULE 534 NODE (AnyBIC) 535 Identifier Code TranslateTo AnyBIC 536 END 537 END 538 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
539 TRANSLATE(95Q, PartyIdentification56Choice) 540 RULE 541 NODE (NameAndAddress) 542 Name and Address TranslateTo NameAndAddress 543 END 544 END 545 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
436 TRANSLATE(95R_1, PartyIdentification51Choice) 437 RULE 438 NODE (ProprietaryIdentification) 439 NODE (Identification) 440 Proprietary Code TranslateTo ProprietaryIdentification\Identification 441 END 442 Data Source Scheme TranslateTo ProprietaryIdentification 443 END 444 END 445 END |
protected void |
translate95R_1_PartyIdentification56Choice_Default(String targetElement,
MtPathResult content)
Translate method 95R_1 -> PartyIdentification56Choice : Default
553 TRANSLATE(95R_1, PartyIdentification56Choice) 554 RULE 555 NODE (ProprietaryIdentification) 556 NODE (Identification) 557 Proprietary Code TranslateTo ProprietaryIdentification\Identification 558 END 559 Data Source Scheme TranslateTo ProprietaryIdentification 560 END 561 END 562 END |
protected void |
translate97A_RestrictedFINXMax35Text_Default(String targetElement,
MtPathResult content)
Translate method 97A -> RestrictedFINXMax35Text : Default
419 TRANSLATE(97A, RestrictedFINXMax35Text) 420 RULE 421 Account Number CopyTo RestrictedFINXMax35Text 422 END 423 END |
protected void |
translate97C_SafekeepingAccountIdentification1Code_Default(String targetElement,
MtPathResult content)
Translate method 97C -> SafekeepingAccountIdentification1Code : Default
409 TRANSLATE(97C, SafekeepingAccountIdentification1Code) 410 RULE 411 Account Code TranslateTo SafekeepingAccountIdentification1Code 412 END 413 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
414 TRANSLATE(Code_4!c_100, SafekeepingAccountIdentification1Code) 415 RULE 416 'GENR' EquivalentTo 'GENR' 417 END 418 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
524 TRANSLATE(Code_4!c_5, SafekeepingPlace1Code) 525 RULE 526 'CUST' EquivalentTo 'CUST' 527 'ICSD' EquivalentTo 'ICSD' 528 'NCSD' EquivalentTo 'NCSD' 529 'SHHE' EquivalentTo 'SHHE' 530 END 531 END |
protected void |
translateIdentifier_BICFIOrNonFI_AnyBICIdentifier_Default(String targetElement,
String content)
Translate method Identifier_BICFIOrNonFI -> AnyBICIdentifier : Default
431 TRANSLATE(Identifier_BICFIOrNonFI, AnyBICIdentifier) 432 RULE 433 Identifier_BICFIOrNonFI CopyTo AnyBICIdentifier 434 END 435 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
451 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 452 RULE 453 NODE (Issuer) 454 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 455 END 456 NODE (SchemeName) 457 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 458 THEN 459 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 460 END 461 END 462 END 463 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
273 TRANSLATE(Identifier_Isin, ISINIdentifier) 274 RULE 275 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 276 END 277 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
253 TRANSLATE(OptionalCode_4!c_180, CorporateActionMandatoryVoluntary1Code) 254 RULE 255 'MAND' EquivalentTo 'MAND' 256 'CHOS' EquivalentTo 'CHOS' 257 'VOLU' EquivalentTo 'VOLU' 258 END 259 END |
protected void |
translateOptionalCode_4c_248_SafekeepingPlace2Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_248 -> SafekeepingPlace2Code : Default
499 TRANSLATE(OptionalCode_4!c_248, SafekeepingPlace2Code) 500 RULE 501 'ALLP' EquivalentTo 'ALLP' 502 'SHHE' EquivalentTo 'SHHE' 503 END 504 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_398_CorporateActionEventType6Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_398 -> CorporateActionEventType6Code : Default
167 TRANSLATE(OptionalCode_4!c_398, CorporateActionEventType6Code) 168 RULE 169 'ACTV' EquivalentTo 'ACTV' 170 'ATTI' EquivalentTo 'ATTI' 171 'BIDS' EquivalentTo 'BIDS' 172 'BONU' EquivalentTo 'BONU' 173 'BPUT' EquivalentTo 'BPUT' 174 'BRUP' EquivalentTo 'BRUP' 175 'CAPG' EquivalentTo 'CAPG' 176 'CAPI' EquivalentTo 'CAPI' 177 'CERT' EquivalentTo 'CERT' 178 'CHAN' EquivalentTo 'CHAN' 179 'CLSA' EquivalentTo 'CLSA' 180 'CONS' EquivalentTo 'CONS' 181 'CONV' EquivalentTo 'CONV' 182 'COOP' EquivalentTo 'COOP' 183 'DECR' EquivalentTo 'DECR' 184 'DETI' EquivalentTo 'DETI' 185 'DFLT' EquivalentTo 'DFLT' 186 'DLST' EquivalentTo 'DLST' 187 'DRAW' EquivalentTo 'DRAW' 188 'DRIP' EquivalentTo 'DRIP' 189 'DSCL' EquivalentTo 'DSCL' 190 'DTCH' EquivalentTo 'DTCH' 191 'DVCA' EquivalentTo 'DVCA' 192 'DVOP' EquivalentTo 'DVOP' 193 'DVSC' EquivalentTo 'DVSC' 194 'DVSE' EquivalentTo 'DVSE' 195 'EXOF' EquivalentTo 'EXOF' 196 'EXRI' EquivalentTo 'EXRI' 197 'EXTM' EquivalentTo 'EXTM' 198 'EXWA' EquivalentTo 'EXWA' 199 'CAPD' EquivalentTo 'CAPD' 200 'INCR' EquivalentTo 'INCR' 201 'INTR' EquivalentTo 'INTR' 202 'LIQU' EquivalentTo 'LIQU' 203 'MCAL' EquivalentTo 'MCAL' 204 'MRGR' EquivalentTo 'MRGR' 205 'ODLT' EquivalentTo 'ODLT' 206 'OTHR' EquivalentTo 'OTHR' 207 'PARI' EquivalentTo 'PARI' 208 'PCAL' EquivalentTo 'PCAL' 209 'PDEF' EquivalentTo 'PDEF' 210 'PINK' EquivalentTo 'PINK' 211 'PLAC' EquivalentTo 'PLAC' 212 'PPMT' EquivalentTo 'PPMT' 213 'PRED' EquivalentTo 'PRED' 214 'PRII' EquivalentTo 'PRII' 215 'PRIO' EquivalentTo 'PRIO' 216 'REDM' EquivalentTo 'REDM' 217 'REDO' EquivalentTo 'REDO' 218 'REMK' EquivalentTo 'REMK' 219 'RHDI' EquivalentTo 'RHDI' 220 'RHTS' EquivalentTo 'RHTS' 221 'SHPR' EquivalentTo 'SHPR' 222 'SMAL' EquivalentTo 'SMAL' 223 'SOFF' EquivalentTo 'SOFF' 224 'SPLF' EquivalentTo 'SPLF' 225 'SPLR' EquivalentTo 'SPLR' 226 'SUSP' EquivalentTo 'SUSP' 227 'TEND' EquivalentTo 'TEND' 228 'TREC' EquivalentTo 'TREC' 229 'WRTH' EquivalentTo 'WRTH' 230 'WTRC' EquivalentTo 'WTRC' 231 'CREV' EquivalentTo 'CREV' 232 END 233 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
446 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 447 RULE 448 Text_FIN_34x CopyTo RestrictedFINXMax34Text 449 END 450 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
546 TRANSLATE(Text_FIN_4M35x, NameAndAddress12) 547 RULE 548 NODE (Name) 549 ((Line[*] ConcatenateWithSeparator '-') ReplaceAll ('/', '-')) CopyTo Name 550 END 551 END 552 END |
public MT564_MxSeev04400202_Translation()
public final MxSeev04400202 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 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_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 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 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 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 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 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)