public class MT568_MxSeev03800202_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT568_MxSeev03800202_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT568_MxSeev03800202_Translation(MxId mxId,
String mxDescription)
This constructor is intended for subclasses to override the translation rules for other versions of MX.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
logicalMessageCriteriaCheck(MT568 source)
Message criteria check
This method checks the content of the source MT568 and determines if it can be translated to the target MxSeev03800202 SELECT CRITERIA MustBe (Not (A1[*] IsPresent)) MustBe ((A\23G Function of the Message\23G\Function IsSameString 'NEWM') And (((C\70a Narrative\REGI[*] IsPresent) Or (C\70a Narrative\TAXE[*] IsPresent)) Or ((C\70a Narrative\ADTX[*] IsPresent) And ((A\22F Indicator\CAEV\22F\Indicator IsSameString 'WTRC') And (Not (A\22F Indicator\CAEV\22F\Data Source Scheme IsPresent)))))) MustBe (Not (C\70a Narrative\INCO[*] IsPresent)) MustBe (Not (C\70a Narrative\COMP[*] IsPresent)) MustBe (Not (C\70a Narrative\PACO[*] IsPresent)) MustBe (Not (C\70a Narrative\WEBB[*] IsPresent)) MustBe (Not (C\70a Narrative\DISC[*] IsPresent)) END |
List<PreconditionError> |
preconditionsCheck(MT568 source)
Precondition check
This method checks the precondition on the content of the source MT568 |
void |
preconditionSR1Check(MT568 source)
Precondition check
This method checks the precondition SR1 on the content of the source MT568 IF ((B\97a Account\SAFE\97C\Account Code IsSameString 'GENR') And (((B\95a Party\ACOW IsPresent) Or (B\94a Place\SAFE IsPresent)) Or (B\93a Balance\CONB IsPresent))) THEN Fail ('06005', 'If 97C GENR is present, then the other elements must not be present.', B\93a Balance, B\94a Place\SAFE, B\97a Account\SAFE\97C, B\95a Party\ACOW) END |
void |
preconditionSR2Check(MT568 source)
Precondition check
This method checks the precondition SR2 on the content of the source MT568 IF (((C\70a Narrative\ADTX[*] IsPresent) And ((C\70a Narrative\REGI[*] IsPresent) Or (C\70a Narrative\TAXE[*] IsPresent))) Or ((C\70a Narrative\REGI[*] IsPresent) And (C\70a Narrative\TAXE[*] IsPresent))) THEN Fail ('06006', 'Only one additional information allowed.', C\70a Narrative\ADTX[*], C\70a Narrative\REGI[*], C\70a Narrative\TAXE[*]) END |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSeev03800202 |
translate(MT568 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
536 TRANSLATE(20C, RestrictedFINXMax16Text) 537 RULE 538 Reference TranslateTo RestrictedFINXMax16Text 539 END 540 END |
protected void |
translate35B_Max140Text_Default(String targetElement,
Field field)
Translate method 35B -> Max140Text : Default
516 TRANSLATE(35B, Max140Text) 517 RULE 518 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 '/'))))) 519 THEN 520 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo Max140Text 521 ELSE 522 IF (Identification of Security IsPresent) 523 THEN 524 (Description of Security\Line[*] Concatenate) CopyTo Max140Text 525 ELSE 526 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 '/')))) 527 THEN 528 (Description of Security\Line[2] Concatenate (Description of Security\Line[3] Concatenate Description of Security\Line[4])) CopyTo Max140Text 529 ELSE 530 (Description of Security\Line[*] Concatenate) CopyTo Max140Text 531 END 532 END 533 END 534 END 535 END |
protected void |
translate35B_OtherIdentification1_Default(String targetElement,
Field field)
Translate method 35B -> OtherIdentification1 : Default
405 TRANSLATE(35B, OtherIdentification1) 406 RULE 407 NODE (Identification) 408 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/')) 409 THEN 410 IF (((Description of Security\Line[1] Substring '5') Length) GreaterThan '0') 411 THEN 412 (Description of Security\Line[1] Substring '5') CopyTo Identification 413 ELSE 414 'Not available.' CopyTo Identification 415 END 416 ELSE 417 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 '/'))) 418 THEN 419 IF (((Description of Security\Line[1] Substring '7') Length) GreaterThan '0') 420 THEN 421 (Description of Security\Line[1] Substring '7') CopyTo Identification 422 ELSE 423 'Not available.' CopyTo Identification 424 END 425 END 426 END 427 END 428 NODE (Type) 429 NODE (Code) 430 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/TS/') 431 THEN 432 'TIKR' CopyTo Type\Code 433 END 434 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XS/') 435 THEN 436 'COMM' CopyTo Type\Code 437 END 438 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/BE/') 439 THEN 440 'BELC' CopyTo Type\Code 441 END 442 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/US/') 443 THEN 444 'CUSP' CopyTo Type\Code 445 END 446 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/GB/') 447 THEN 448 'SEDL' CopyTo Type\Code 449 END 450 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/JP/') 451 THEN 452 'SICC' CopyTo Type\Code 453 END 454 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/CH/') 455 THEN 456 'VALO' CopyTo Type\Code 457 END 458 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/DE/') 459 THEN 460 'WKNR' CopyTo Type\Code 461 END 462 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 '/'))) 463 THEN 464 ((Description of Security\Line[1] Substring ('2', '2')) Concatenate 'CD') CopyTo Type\Code 465 END 466 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/BLOM/') 467 THEN 468 'BLOM' CopyTo Type\Code 469 END 470 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CMED/') 471 THEN 472 'CMED' CopyTo Type\Code 473 END 474 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/CTAC/') 475 THEN 476 'CTAC' CopyTo Type\Code 477 END 478 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDU/') 479 THEN 480 'ISDU' CopyTo Type\Code 481 END 482 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/ISDX/') 483 THEN 484 'ISDX' CopyTo Type\Code 485 END 486 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/LCHD/') 487 THEN 488 'LCHD' CopyTo Type\Code 489 END 490 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OCCS/') 491 THEN 492 'OCCS' CopyTo Type\Code 493 END 494 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/OPRA/') 495 THEN 496 'OPRA' CopyTo Type\Code 497 END 498 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RCMD/') 499 THEN 500 'RCMD' CopyTo Type\Code 501 END 502 IF ((Description of Security\Line[1] Substring ('1', '6')) IsSameString '/RICC/') 503 THEN 504 'RICC' CopyTo Type\Code 505 END 506 END 507 NODE (Proprietary) 508 IF ((Description of Security\Line[1] Substring ('1', '4')) IsSameString '/XX/') 509 THEN 510 'XX' CopyTo Type\Proprietary 511 END 512 END 513 END 514 END 515 END |
protected void |
translate35B_SecurityIdentification14_Default(String targetElement,
MtPathResult content)
Translate method 35B -> SecurityIdentification14 : Default
387 TRANSLATE(35B, SecurityIdentification14) 388 RULE 389 NODE (ISIN) 390 Identification of Security TranslateTo ISIN 391 END 392 NODE (OtherIdentification) 393 35B TranslateTo OtherIdentification 394 END 395 NODE (Description) 396 35B TranslateTo Description 397 END 398 END 399 END |
protected void |
translate70E_Max8000Text_Default(String targetElement,
MtPathResult content)
Translate method 70E -> Max8000Text : Default
546 TRANSLATE(70E, Max8000Text) 547 RULE 548 (Narrative\Line[*] Concatenate) CopyTo Max8000Text 549 END 550 END |
protected void |
translate93B_BalanceFormat2Choice_Default(String targetElement,
MtPathResult content)
Translate method 93B -> BalanceFormat2Choice : Default
225 TRANSLATE(93B, BalanceFormat2Choice) 226 RULE 227 NODE (Balance) 228 NODE (ShortLongPosition) 229 IF (Sign IsPresent) 230 THEN 231 'SHOR' CopyTo Balance\ShortLongPosition 232 ELSE 233 'LONG' CopyTo Balance\ShortLongPosition 234 END 235 END 236 NODE (QuantityChoice) 237 NODE (Quantity) 238 NODE (Unit) 239 IF ((Quantity Type Code IsSameString 'UNIT') And (Not (Data Source Scheme IsPresent))) 240 THEN 241 Balance TranslateTo Balance\QuantityChoice\Quantity\Unit 242 END 243 END 244 NODE (FaceAmount) 245 IF ((Quantity Type Code IsSameString 'FAMT') And (Not (Data Source Scheme IsPresent))) 246 THEN 247 Balance TranslateTo Balance\QuantityChoice\Quantity\FaceAmount 248 END 249 END 250 NODE (AmortisedValue) 251 IF ((Quantity Type Code IsSameString 'AMOR') And (Not (Data Source Scheme IsPresent))) 252 THEN 253 Balance TranslateTo Balance\QuantityChoice\Quantity\AmortisedValue 254 END 255 END 256 END 257 NODE (ProprietaryQuantity) 258 NODE (QuantityType) 259 IF (Data Source Scheme IsPresent) 260 THEN 261 Quantity Type Code CopyTo Balance\QuantityChoice\ProprietaryQuantity\QuantityType 262 END 263 END 264 Data Source Scheme TranslateTo Balance\QuantityChoice\ProprietaryQuantity 265 NODE (Quantity) 266 IF (Data Source Scheme IsPresent) 267 THEN 268 Balance TranslateTo Balance\QuantityChoice\ProprietaryQuantity\Quantity 269 END 270 END 271 END 272 END 273 END 274 END 275 END |
protected void |
translate93C_2_BalanceFormat2Choice_Default(String targetElement,
MtPathResult content)
Translate method 93C_2 -> BalanceFormat2Choice : Default
299 TRANSLATE(93C_2, BalanceFormat2Choice) 300 RULE 301 NODE (EligibleBalance) 302 NODE (ShortLongPosition) 303 IF (Balance Type Code IsSameString 'ELIG') 304 THEN 305 IF (Sign IsPresent) 306 THEN 307 'SHOR' CopyTo EligibleBalance\ShortLongPosition 308 ELSE 309 'LONG' CopyTo EligibleBalance\ShortLongPosition 310 END 311 END 312 END 313 NODE (Quantity) 314 NODE (Unit) 315 IF (Balance Type Code IsSameString 'ELIG') 316 THEN 317 IF (Quantity Type Code IsSameString 'UNIT') 318 THEN 319 Balance TranslateTo EligibleBalance\Quantity\Unit 320 END 321 END 322 END 323 NODE (FaceAmount) 324 IF (Balance Type Code IsSameString 'ELIG') 325 THEN 326 IF (Quantity Type Code IsSameString 'FAMT') 327 THEN 328 Balance TranslateTo EligibleBalance\Quantity\FaceAmount 329 END 330 END 331 END 332 NODE (AmortisedValue) 333 IF (Balance Type Code IsSameString 'ELIG') 334 THEN 335 IF (Quantity Type Code IsSameString 'AMOR') 336 THEN 337 Balance TranslateTo EligibleBalance\Quantity\AmortisedValue 338 END 339 END 340 END 341 END 342 END 343 NODE (NotEligibleBalance) 344 NODE (ShortLongPosition) 345 IF (Balance Type Code IsSameString 'NELG') 346 THEN 347 IF (Sign IsPresent) 348 THEN 349 'SHOR' CopyTo NotEligibleBalance\ShortLongPosition 350 ELSE 351 'LONG' CopyTo NotEligibleBalance\ShortLongPosition 352 END 353 END 354 END 355 NODE (Quantity) 356 NODE (Unit) 357 IF (Balance Type Code IsSameString 'NELG') 358 THEN 359 IF (Quantity Type Code IsSameString 'UNIT') 360 THEN 361 Balance TranslateTo NotEligibleBalance\Quantity\Unit 362 END 363 END 364 END 365 NODE (FaceAmount) 366 IF (Balance Type Code IsSameString 'NELG') 367 THEN 368 IF (Quantity Type Code IsSameString 'FAMT') 369 THEN 370 Balance TranslateTo NotEligibleBalance\Quantity\FaceAmount 371 END 372 END 373 END 374 NODE (AmortisedValue) 375 IF (Balance Type Code IsSameString 'NELG') 376 THEN 377 IF (Quantity Type Code IsSameString 'AMOR') 378 THEN 379 Balance TranslateTo NotEligibleBalance\Quantity\AmortisedValue 380 END 381 END 382 END 383 END 384 END 385 END 386 END |
protected void |
translate94B_17_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94B_17 -> SafekeepingPlaceFormat5Choice : Default
144 TRANSLATE(94B_17, SafekeepingPlaceFormat5Choice) 145 RULE 146 NODE (Identification) 147 NODE (SafekeepingPlaceType) 148 IF (Not (Data Source Scheme IsPresent)) 149 THEN 150 Place Code TranslateTo Identification\SafekeepingPlaceType 151 END 152 END 153 NODE (Identification) 154 IF (Not (Data Source Scheme IsPresent)) 155 THEN 156 Narrative CopyTo Identification\Identification 157 END 158 END 159 END 160 NODE (Proprietary) 161 NODE (Type) 162 Data Source Scheme TranslateTo Proprietary\Type 163 NODE (Identification) 164 IF (Data Source Scheme IsPresent) 165 THEN 166 Place Code CopyTo Proprietary\Type\Identification 167 END 168 END 169 END 170 NODE (Identification) 171 IF (Data Source Scheme IsPresent) 172 THEN 173 Narrative CopyTo Proprietary\Identification 174 END 175 END 176 END 177 END 178 END |
protected void |
translate94C_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94C -> SafekeepingPlaceFormat5Choice : Default
198 TRANSLATE(94C, SafekeepingPlaceFormat5Choice) 199 RULE 200 NODE (Country) 201 Country Code CopyTo Country 202 END 203 END 204 END |
protected void |
translate94F_SafekeepingPlaceFormat5Choice_Default(String targetElement,
MtPathResult content)
Translate method 94F -> SafekeepingPlaceFormat5Choice : Default
205 TRANSLATE(94F, SafekeepingPlaceFormat5Choice) 206 RULE 207 NODE (TypeAndIdentification) 208 NODE (SafekeepingPlaceType) 209 Place Code TranslateTo TypeAndIdentification\SafekeepingPlaceType 210 END 211 NODE (Identification) 212 Identifier Code TranslateTo TypeAndIdentification\Identification 213 END 214 END 215 END 216 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
104 TRANSLATE(95P_4, PartyIdentification51Choice) 105 RULE 106 NODE (AnyBIC) 107 Identifier Code TranslateTo AnyBIC 108 END 109 END 110 END |
protected void |
translate95Q_Party9Choice_Default(String targetElement,
MtPathResult content)
Translate method 95Q -> Party9Choice : Default
46 TRANSLATE(95Q, Party9Choice) 47 RULE 48 NODE (FinancialInstitutionIdentification) 49 NODE (FinancialInstitutionIdentification) 50 Name and Address TranslateTo FinancialInstitutionIdentification\FinancialInstitutionIdentification 51 END 52 END 53 END 54 END |
protected void |
translate95R_1_Party9Choice_Default(String targetElement,
MtPathResult content)
Translate method 95R_1 -> Party9Choice : Default
17 TRANSLATE(95R_1, Party9Choice) 18 RULE 19 NODE (FinancialInstitutionIdentification) 20 NODE (FinancialInstitutionIdentification) 21 NODE (Other) 22 NODE (Identification) 23 Proprietary Code TranslateTo FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\Identification 24 END 25 NODE (SchemeName) 26 NODE (Proprietary) 27 IF (Not (((Data Source Scheme Substring '5') Length) IsSameNumber '0')) 28 THEN 29 (Data Source Scheme Substring '5') CopyTo FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\SchemeName\Proprietary 30 END 31 END 32 END 33 NODE (Issuer) 34 (Data Source Scheme Substring ('1', '4')) CopyTo FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\Issuer 35 END 36 END 37 END 38 END 39 END 40 END |
protected void |
translate95R_1_PartyIdentification51Choice_Default(String targetElement,
MtPathResult content)
Translate method 95R_1 -> PartyIdentification51Choice : Default
116 TRANSLATE(95R_1, PartyIdentification51Choice) 117 RULE 118 NODE (ProprietaryIdentification) 119 NODE (Identification) 120 Proprietary Code TranslateTo ProprietaryIdentification\Identification 121 END 122 Data Source Scheme TranslateTo ProprietaryIdentification 123 END 124 END 125 END |
protected void |
translate97A_RestrictedFINXMax35Text_Default(String targetElement,
MtPathResult content)
Translate method 97A -> RestrictedFINXMax35Text : Default
99 TRANSLATE(97A, RestrictedFINXMax35Text) 100 RULE 101 Account Number CopyTo RestrictedFINXMax35Text 102 END 103 END |
protected void |
translate97C_1_SafekeepingAccountIdentification1Code_Default(String targetElement,
MtPathResult content)
Translate method 97C_1 -> SafekeepingAccountIdentification1Code : Default
89 TRANSLATE(97C_1, SafekeepingAccountIdentification1Code) 90 RULE 91 Account Code TranslateTo SafekeepingAccountIdentification1Code 92 END 93 END |
protected void |
translate98A_ISONormalisedDateTime_Default(String targetElement,
MtPathResult content)
Translate method 98A -> ISONormalisedDateTime : Default
72 TRANSLATE(98A, ISONormalisedDateTime) 73 RULE 74 ((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T00:00:00Z') CopyTo ISONormalisedDateTime 75 END 76 END |
protected void |
translate98C_ISONormalisedDateTime_Default(String targetElement,
MtPathResult content)
Translate method 98C -> ISONormalisedDateTime : Default
77 TRANSLATE(98C, ISONormalisedDateTime) 78 RULE 79 (((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T') Concatenate ((Time FormatDateTime ('MT_HHMMSS', 'MX_Time')) Concatenate 'Z')) CopyTo ISONormalisedDateTime 80 END 81 END |
protected void |
translateAmount_FIN_15d_RestrictedFINDecimalNumber_Default(String targetElement,
String content)
Translate method Amount_FIN_15d -> RestrictedFINDecimalNumber : Default
276 TRANSLATE(Amount_FIN_15d, RestrictedFINDecimalNumber) 277 RULE 278 (Amount_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINDecimalNumber 279 END 280 END |
protected void |
translateAmount_FIN_15d_RestrictedFINImpliedCurrencyAndAmount_Default(String targetElement,
String content)
Translate method Amount_FIN_15d -> RestrictedFINImpliedCurrencyAndAmount : Default
281 TRANSLATE(Amount_FIN_15d, RestrictedFINImpliedCurrencyAndAmount) 282 RULE 283 ((Amount_FIN_15d Divide ('1', '5')) FormatDecimal 'MX') CopyTo RestrictedFINImpliedCurrencyAndAmount 284 END 285 END |
protected void |
translateCode_4c_171_CopyDuplicate1Code_Default(String targetElement,
MtPathResult content)
Translate method Code_4!c_171 -> CopyDuplicate1Code : Default
82 TRANSLATE(Code_4!c_171, CopyDuplicate1Code) 83 RULE 84 'CODU' EquivalentTo 'CODU' 85 'COPY' EquivalentTo 'COPY' 86 'DUPL' EquivalentTo 'DUPL' 87 END 88 END |
protected void |
translateCode_4c_198_SafekeepingAccountIdentification1Code_Default(String targetElement,
String content)
Translate method Code_4!c_198 -> SafekeepingAccountIdentification1Code : Default
94 TRANSLATE(Code_4!c_198, SafekeepingAccountIdentification1Code) 95 RULE 96 'GENR' EquivalentTo 'GENR' 97 END 98 END |
protected void |
translateCode_4c_5_SafekeepingPlace1Code_Default(String targetElement,
String content)
Translate method Code_4!c_5 -> SafekeepingPlace1Code : Default
217 TRANSLATE(Code_4!c_5, SafekeepingPlace1Code) 218 RULE 219 'CUST' EquivalentTo 'CUST' 220 'ICSD' EquivalentTo 'ICSD' 221 'NCSD' EquivalentTo 'NCSD' 222 'SHHE' EquivalentTo 'SHHE' 223 END 224 END |
protected void |
translateIdentifier_BICFIOrNonFI_AnyBICIdentifier_Default(String targetElement,
String content)
Translate method Identifier_BICFIOrNonFI -> AnyBICIdentifier : Default
111 TRANSLATE(Identifier_BICFIOrNonFI, AnyBICIdentifier) 112 RULE 113 Identifier_BICFIOrNonFI CopyTo AnyBICIdentifier 114 END 115 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
131 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 132 RULE 133 NODE (Issuer) 134 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 135 END 136 NODE (SchemeName) 137 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 138 THEN 139 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 140 END 141 END 142 END 143 END |
protected void |
translateIdentifier_FIN_8c_GenericIdentification25_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> GenericIdentification25 : Default
185 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 186 RULE 187 NODE (Issuer) 188 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 189 END 190 NODE (SchemeName) 191 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 192 THEN 193 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 194 END 195 END 196 END 197 END |
protected void |
translateIdentifier_FIN_8c_ProprietaryQuantity4_Default(String targetElement,
String content)
Translate method Identifier_FIN_8c -> ProprietaryQuantity4 : Default
286 TRANSLATE(Identifier_FIN_8c, ProprietaryQuantity4) 287 RULE 288 NODE (Issuer) 289 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 290 END 291 NODE (SchemeName) 292 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 293 THEN 294 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 295 END 296 END 297 END 298 END |
protected void |
translateIdentifier_Isin_ISINIdentifier_Default(String targetElement,
String content)
Translate method Identifier_Isin -> ISINIdentifier : Default
400 TRANSLATE(Identifier_Isin, ISINIdentifier) 401 RULE 402 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 403 END 404 END |
protected void |
translateImpl(MT568 source)
Translation rules implementation
|
protected void |
translateOptionalCode_4c_412_SafekeepingPlace2Code_Default(String targetElement,
String content)
Translate method OptionalCode_4!c_412 -> SafekeepingPlace2Code : Default
179 TRANSLATE(OptionalCode_4!c_412, SafekeepingPlace2Code) 180 RULE 181 'ALLP' EquivalentTo 'ALLP' 182 'SHHE' EquivalentTo 'SHHE' 183 END 184 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
541 TRANSLATE(Text_FIN_16x, RestrictedFINXMax16Text) 542 RULE 543 Text_FIN_16x CopyTo RestrictedFINXMax16Text 544 END 545 END |
protected void |
translateText_FIN_34x_Max35Text_Default(String targetElement,
String content)
Translate method Text_FIN_34x -> Max35Text : Default
41 TRANSLATE(Text_FIN_34x, Max35Text) 42 RULE 43 Text_FIN_34x CopyTo Max35Text 44 END 45 END |
protected void |
translateText_FIN_34x_RestrictedFINXMax34Text_Default(String targetElement,
String content)
Translate method Text_FIN_34x -> RestrictedFINXMax34Text : Default
126 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 127 RULE 128 Text_FIN_34x CopyTo RestrictedFINXMax34Text 129 END 130 END |
protected void |
translateText_FIN_4M35x_FinancialInstitutionIdentification8_Default(String targetElement,
String content)
Translate method Text_FIN_4M35x -> FinancialInstitutionIdentification8 : Default
55 TRANSLATE(Text_FIN_4M35x, FinancialInstitutionIdentification8) 56 RULE 57 NODE (Name) 58 (Line[*] Concatenate) CopyTo Name 59 END 60 END 61 END |
protected void |
translateText_FIN_8000z_Line_Max8000Text_Default(String targetElement,
String line)
Translate method Text_FIN_8000z_Line -> Max8000Text : Default
551 TRANSLATE(Text_FIN_8000z_Line, Max8000Text) 552 RULE 553 Text_FIN_8000z_Line CopyTo Max8000Text 554 END 555 END |
public MT568_MxSeev03800202_Translation()
public final MxSeev03800202 translate(MT568 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT568 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT568 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT568 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translate95P_4_Party9Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateIdentifier_BICFIOrNonFI_BICFIIdentifier_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void 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 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 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 translate97C_1_SafekeepingAccountIdentification1Code_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCode_4c_198_SafekeepingAccountIdentification1Code_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translate97A_RestrictedFINXMax35Text_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translate95P_4_PartyIdentification51Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateIdentifier_BICFIOrNonFI_AnyBICIdentifier_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translate95R_1_PartyIdentification51Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateText_FIN_34x_RestrictedFINXMax34Text_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateIdentifier_FIN_8c_GenericIdentification24_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translate94B_17_SafekeepingPlaceFormat5Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateOptionalCode_4c_412_SafekeepingPlace2Code_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void 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 translate94C_SafekeepingPlaceFormat5Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translate94F_SafekeepingPlaceFormat5Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCode_4c_5_SafekeepingPlace1Code_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translate93B_BalanceFormat2Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateAmount_FIN_15d_RestrictedFINDecimalNumber_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateAmount_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 translateIdentifier_FIN_8c_ProprietaryQuantity4_Default(String targetElement, String content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translate93C_2_BalanceFormat2Choice_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void 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 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 translate70E_Max8000Text_Default(String targetElement, MtPathResult content)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateText_FIN_8000z_Line_Max8000Text_Default(String targetElement, String line)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedpublic final Boolean logicalMessageCriteriaCheck(MT568 source)
source
- a well formed MT568 objectpublic final void preconditionSR1Check(MT568 source) throws TranslationPreconditionException
source
- a well formed MT568 objectTranslationPreconditionException
public final void preconditionSR2Check(MT568 source) throws TranslationPreconditionException
source
- a well formed MT568 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MT568 source)