public class MT543_MxSese03600201_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT543_MxSese03600201_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT543_MxSese03600201_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(MT543 source)
Message criteria check
This method checks the content of the source MT543 and determines if it can be translated to the target MxSese03600201 SELECT CRITERIA MustBe (((MT543 Deliver Against Payment\E\22F Indicator\SETR\22F\Indicator IsSameString 'SECL') Or (MT543 Deliver Against Payment\E\22F Indicator\SETR\22F\Indicator IsSameString 'REPU')) And (Not (MT543 Deliver Against Payment\E\22F Indicator\SETR\22F\DataSourceScheme IsPresent))) MustBe (MT543 Deliver Against Payment\D IsPresent) MustBe (MT543 Deliver Against Payment\A1[*]\20C Reference\PREV IsPresent) MustBe ((((MT543 Deliver Against Payment\E\22F Indicator\REPT\22F\Indicator IsSameString 'CALL') Or (MT543 Deliver Against Payment\E\22F Indicator\REPT\22F\Indicator IsSameString 'RATE')) Or (MT543 Deliver Against Payment\E\22F Indicator\REPT\22F\Indicator IsSameString 'ROLP')) And (Not (MT543 Deliver Against Payment\E\22F Indicator\REPT\22F\DataSourceScheme IsPresent))) MustBe ((MT543 Deliver Against Payment\A\23G Function of the Message\23G\Function IsSameString 'NEWM') Or (MT543 Deliver Against Payment\A\23G Function of the Message\23G\Function IsSameString 'PREA')) END |
List<PreconditionError> |
preconditionsCheck(MT543 source)
Precondition check
This method checks the precondition on the content of the source MT543 |
void |
preconditionSR1Check(MT543 source)
Precondition check
This method checks the precondition SR1 on the content of the source MT543 IF ((MT543 Deliver Against Payment\C[*] Count) GreaterThan '1') THEN Fail ('06002', 'FIAC must only be present once.', MT543 Deliver Against Payment\C[*]) END |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSese03600201 |
translate(MT543 source)
Main entry point for the translation
|
protected void |
translateImpl(MT543 source)
Translation rules implementation
|
protected void |
translateTTR1(String targetElement,
MtPathResult content)
Translate method TTR1
1 TRANSLATE(98A, DateAndDateTimeChoice) 2 RULE 3 NODE (Date) 4 (Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) CopyTo Date 5 END 6 END 7 END |
protected void |
translateTTR10(String targetElement,
MtPathResult content)
Translate method TTR10
97 TRANSLATE(70E, RestrictedFINXMax350Text) 98 RULE 99 (Narrative\Line[*] Concatenate) CopyTo RestrictedFINXMax350Text 100 END 101 END |
protected void |
translateTTR100(String targetElement,
MtPathResult content)
Translate method TTR100
1216 TRANSLATE(19A, AmountAndDirection11) 1217 RULE 1218 NODE (Amount) 1219 19A TranslateTo Amount 1220 END 1221 NODE (CreditDebitIndicator) 1222 19A TranslateTo CreditDebitIndicator 1223 END 1224 END 1225 END |
protected void |
translateTTR101(String targetElement,
Field field)
Translate method TTR101
1226 TRANSLATE(19A, CreditDebitCode) 1227 RULE 1228 IF (Not (Sign IsPresent)) 1229 THEN 1230 'CRDT' CopyTo CreditDebitCode 1231 ELSE 1232 'DBIT' CopyTo CreditDebitCode 1233 END 1234 END 1235 END |
protected void |
translateTTR11(String targetElement,
MtPathResult content)
Translate method TTR11
102 TRANSLATE(Identifier_Isin, ISINIdentifier) 103 RULE 104 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 105 END 106 END |
protected void |
translateTTR12(String targetElement,
MtPathResult content)
Translate method TTR12
107 TRANSLATE(35B, AlternateIdentification2) 108 RULE 109 NODE (Identification) 110 IF (((((DescriptionOfSecurity\Line[1] Substring ('1', '1')) IsSameString '/') And (((DescriptionOfSecurity\Line[1] Substring ('2', '2')) IsCountry) And ((DescriptionOfSecurity\Line[1] Substring ('4', '1')) IsSameString '/'))) Or ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/XX/')) Or ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/TS/')) 111 THEN 112 (DescriptionOfSecurity\Line[1] Substring '5') CopyTo Identification 113 ELSE 114 IF (Not (IdentificationOfSecurity IsPresent)) 115 THEN 116 IF ((DescriptionOfSecurity\Line[1] Length) LessThanOrEqualTo '31') 117 THEN 118 (DescriptionOfSecurity\Line[1] TrimLeft '/') CopyTo Identification 119 ELSE 120 (DescriptionOfSecurity\Line[1] Substring ('1', '31')) CopyTo Identification 121 END 122 END 123 END 124 END 125 NODE (IdentificationSource) 126 NODE (Domestic) 127 IF (((DescriptionOfSecurity\Line[1] Substring ('1', '1')) IsSameString '/') And (((DescriptionOfSecurity\Line[1] Substring ('2', '2')) IsCountry) And ((DescriptionOfSecurity\Line[1] Substring ('4', '1')) IsSameString '/'))) 128 THEN 129 (DescriptionOfSecurity\Line[1] Substring ('2', '2')) CopyTo IdentificationSource\Domestic 130 END 131 END 132 NODE (Proprietary) 133 IF (((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/TS/') Or ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/XX/')) 134 THEN 135 (DescriptionOfSecurity\Line[1] Substring ('2', '2')) CopyTo IdentificationSource\Proprietary 136 END 137 IF ((((Not (((DescriptionOfSecurity\Line[1] Substring ('1', '1')) IsSameString '/') And (((DescriptionOfSecurity\Line[1] Substring ('2', '2')) IsCountry) And ((DescriptionOfSecurity\Line[1] Substring ('4', '1')) IsSameString '/')))) And (Not ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/XX/'))) And (Not ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/TS/'))) And (Not (IdentificationOfSecurity IsPresent))) 138 THEN 139 'XX' CopyTo IdentificationSource\Proprietary 140 END 141 END 142 END 143 END 144 END |
protected void |
translateTTR13(String targetElement,
MtPathResult content)
Translate method TTR13
145 TRANSLATE(Text_FIN_4M35x, RestrictedFINXMax140Text) 146 RULE 147 ((Line[2] Concatenate (Line[3] Concatenate Line[4])) TrimRight ' ') CopyTo RestrictedFINXMax140Text 148 END 149 END |
protected void |
translateTTR14(String targetElement,
MtPathResult content)
Translate method TTR14
150 TRANSLATE(Text_FIN_4M35x, RestrictedFINXMax140Text) 151 RULE 152 (Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 153 END 154 END |
protected void |
translateTTR15(String targetElement,
MtPathResult content)
Translate method TTR15
155 TRANSLATE(36B, FinancialInstrumentQuantity15Choice) 156 RULE 157 NODE (Unit) 158 IF (QuantityTypeCode IsSameString 'UNIT') 159 THEN 160 Quantity TranslateTo Unit 161 END 162 END 163 NODE (FaceAmount) 164 IF (QuantityTypeCode IsSameString 'FAMT') 165 THEN 166 Quantity TranslateTo FaceAmount 167 END 168 END 169 NODE (AmortisedValue) 170 IF (QuantityTypeCode IsSameString 'AMOR') 171 THEN 172 Quantity TranslateTo AmortisedValue 173 END 174 END 175 END 176 END |
protected void |
translateTTR16(String targetElement,
String content)
Translate method TTR16
177 TRANSLATE(Quantity_FIN_15d, RestrictedFINDecimalNumber) 178 RULE 179 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINDecimalNumber 180 END 181 END |
protected void |
translateTTR17(String targetElement,
String content)
Translate method TTR17
182 TRANSLATE(Quantity_FIN_15d, RestrictedFINImpliedCurrencyAndAmount) 183 RULE 184 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINImpliedCurrencyAndAmount 185 END 186 END |
protected void |
translateTTR18(String targetElement,
MtPathResult content)
Translate method TTR18
187 TRANSLATE(95P_2, PartyIdentification18Choice) 188 RULE 189 NODE (BICOrBEI) 190 IdentifierCode TranslateTo BICOrBEI 191 END 192 END 193 END |
protected void |
translateTTR19(String targetElement,
String content)
Translate method TTR19
194 TRANSLATE(Identifier_BICBEI, AnyBICIdentifier) 195 RULE 196 Identifier_BICBEI CopyTo AnyBICIdentifier 197 END 198 END |
protected void |
translateTTR2(String targetElement,
MtPathResult content)
Translate method TTR2
8 TRANSLATE(98C, DateAndDateTimeChoice) 9 RULE 10 NODE (DateTime) 11 (Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) CopyTo DateTime 12 'T' CopyTo DateTime 13 (Time FormatDateTime ('MT_HHMMSS', 'MX_Time')) CopyTo DateTime 14 END 15 END 16 END |
protected void |
translateTTR20(String targetElement,
MtPathResult content)
Translate method TTR20
199 TRANSLATE(95R, PartyIdentification18Choice) 200 RULE 201 NODE (ProprietaryIdentification) 202 NODE (Identification) 203 ProprietaryCode TranslateTo ProprietaryIdentification\Identification 204 END 205 DataSourceScheme TranslateTo ProprietaryIdentification 206 END 207 END 208 END |
protected void |
translateTTR21(String targetElement,
String content)
Translate method TTR21
209 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 210 RULE 211 Text_FIN_34x CopyTo RestrictedFINXMax34Text 212 END 213 END |
protected void |
translateTTR22(String targetElement,
String content)
Translate method TTR22
214 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 215 RULE 216 NODE (Issuer) 217 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 218 END 219 NODE (SchemeName) 220 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 221 THEN 222 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 223 END 224 END 225 END 226 END |
protected void |
translateTTR23(String targetElement,
MtPathResult content)
Translate method TTR23
227 TRANSLATE(97A, SecuritiesAccount17) 228 RULE 229 NODE (Identification) 230 AccountNumber TranslateTo Identification 231 END 232 END 233 END |
protected void |
translateTTR24(String targetElement,
String content)
Translate method TTR24
234 TRANSLATE(Identifier_FIN_35x, RestrictedFINXMax35Text) 235 RULE 236 Identifier_FIN_35x CopyTo RestrictedFINXMax35Text 237 END 238 END |
protected void |
translateTTR25(String targetElement,
MtPathResult content)
Translate method TTR25
239 TRANSLATE(97B_2, SecuritiesAccount17) 240 RULE 241 NODE (Identification) 242 AccountNumber CopyTo Identification 243 END 244 NODE (Type) 245 NODE (Identification) 246 AccountTypeCode CopyTo Type\Identification 247 END 248 DataSourceScheme TranslateTo Type 249 NODE (Issuer) 250 IF (Not (DataSourceScheme IsPresent)) 251 THEN 252 'NONE' CopyTo Type\Issuer 253 END 254 END 255 END 256 END 257 END |
protected void |
translateTTR26(String targetElement,
MtPathResult content)
Translate method TTR26
258 TRANSLATE(97A, CashAccountIdentification6Choice) 259 RULE 260 NODE (Proprietary) 261 AccountNumber CopyTo Proprietary 262 END 263 END 264 END |
protected void |
translateTTR27(String targetElement,
MtPathResult content)
Translate method TTR27
265 TRANSLATE(97E, CashAccountIdentification6Choice) 266 RULE 267 NODE (IBAN) 268 InternationalBankAccountNumber CopyTo IBAN 269 END 270 END 271 END |
protected void |
translateTTR28(String targetElement,
MtPathResult content)
Translate method TTR28
272 TRANSLATE(94B_1, SafekeepingPlaceFormat4Choice) 273 RULE 274 NODE (Identification) 275 NODE (SafekeepingPlaceType) 276 IF (Not (DataSourceScheme IsPresent)) 277 THEN 278 PlaceCode TranslateTo Identification\SafekeepingPlaceType 279 END 280 END 281 NODE (Identification) 282 IF (Not (DataSourceScheme IsPresent)) 283 THEN 284 Narrative CopyTo Identification\Identification 285 END 286 END 287 END 288 NODE (Proprietary) 289 NODE (Type) 290 DataSourceScheme TranslateTo Proprietary\Type 291 NODE (Identification) 292 IF (DataSourceScheme IsPresent) 293 THEN 294 PlaceCode CopyTo Proprietary\Type\Identification 295 END 296 END 297 END 298 NODE (Identification) 299 IF (DataSourceScheme IsPresent) 300 THEN 301 Narrative CopyTo Proprietary\Identification 302 END 303 END 304 END 305 END 306 END |
protected void |
translateTTR29(String targetElement,
String content)
Translate method TTR29
307 TRANSLATE(OptionalCode_4!c_5, SafekeepingPlace3Code) 308 RULE 309 'SHHE' EquivalentTo 'SHHE' 310 END 311 END |
protected void |
translateTTR3(String targetElement,
MtPathResult content)
Translate method TTR3
17 TRANSLATE(98E_1, DateAndDateTimeChoice) 18 RULE 19 NODE (DateTime) 20 IF (Decimals IsPresent) 21 THEN 22 ((((((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T') Concatenate (Time FormatDateTime ('MT_HHMMSS', 'MX_Time'))) Concatenate '.') Concatenate Decimals) Concatenate (UTCIndicator FormatDateTime ('MT_UTCIndicator', 'MX_TimeOffset'))) CopyTo DateTime 23 ELSE 24 ((((Date FormatDateTime ('MT_YYYYMMDD', 'MX_Date')) Concatenate 'T') Concatenate (Time FormatDateTime ('MT_HHMMSS', 'MX_Time'))) Concatenate (UTCIndicator FormatDateTime ('MT_UTCIndicator', 'MX_TimeOffset'))) CopyTo DateTime 25 END 26 END 27 END 28 END |
protected void |
translateTTR30(String targetElement,
MtPathResult content)
Translate method TTR30
312 TRANSLATE(94C, SafekeepingPlaceFormat4Choice) 313 RULE 314 NODE (Country) 315 CountryCode CopyTo Country 316 END 317 END 318 END |
protected void |
translateTTR31(String targetElement,
MtPathResult content)
Translate method TTR31
319 TRANSLATE(94F_1, SafekeepingPlaceFormat4Choice) 320 RULE 321 NODE (TypeAndIdentification) 322 NODE (SafekeepingPlaceType) 323 PlaceCode TranslateTo TypeAndIdentification\SafekeepingPlaceType 324 END 325 NODE (Identification) 326 IdentifierCode TranslateTo TypeAndIdentification\Identification 327 END 328 END 329 END 330 END |
protected void |
translateTTR32(String targetElement,
String content)
Translate method TTR32
331 TRANSLATE(Code_4!c_5, SafekeepingPlace1Code) 332 RULE 333 'CUST' EquivalentTo 'CUST' 334 'ICSD' EquivalentTo 'ICSD' 335 'NCSD' EquivalentTo 'NCSD' 336 'SHHE' EquivalentTo 'SHHE' 337 END 338 END |
protected void |
translateTTR33(String targetElement,
MtPathResult content)
Translate method TTR33
339 TRANSLATE(98A, TerminationDate3Choice) 340 RULE 341 NODE (Date) 342 98A TranslateTo Date 343 END 344 END 345 END |
protected void |
translateTTR34(String targetElement,
MtPathResult content)
Translate method TTR34
346 TRANSLATE(98B_1, TerminationDate3Choice) 347 RULE 348 NODE (Code) 349 98B_1 TranslateTo Code 350 END 351 END 352 END |
protected void |
translateTTR35(String targetElement,
Field field)
Translate method TTR35
353 TRANSLATE(98B_1, DateCode5Choice) 354 RULE 355 NODE (Code) 356 IF (Not (DataSourceScheme IsPresent)) 357 THEN 358 DateCode TranslateTo Code 359 END 360 END 361 NODE (Proprietary) 362 DataSourceScheme TranslateTo Proprietary 363 NODE (Identification) 364 IF (DataSourceScheme IsPresent) 365 THEN 366 DateCode CopyTo Proprietary\Identification 367 END 368 END 369 END 370 END 371 END |
protected void |
translateTTR36(String targetElement,
String content)
Translate method TTR36
372 TRANSLATE(OptionalCode_4!c_44, DateType5Code) 373 RULE 374 'OPEN' EquivalentTo 'OPEN' 375 END 376 END |
protected void |
translateTTR37(String targetElement,
MtPathResult content)
Translate method TTR37
377 TRANSLATE(98C, TerminationDate3Choice) 378 RULE 379 NODE (Date) 380 98C TranslateTo Date 381 END 382 END 383 END |
protected void |
translateTTR38(String targetElement,
MtPathResult content)
Translate method TTR38
384 TRANSLATE(22F_37, RateType8Choice) 385 RULE 386 NODE (Code) 387 IF (Not (DataSourceScheme IsPresent)) 388 THEN 389 Indicator TranslateTo Code 390 END 391 END 392 NODE (Proprietary) 393 DataSourceScheme TranslateTo Proprietary 394 NODE (Identification) 395 IF (DataSourceScheme IsPresent) 396 THEN 397 Indicator CopyTo Proprietary\Identification 398 END 399 END 400 END 401 END 402 END |
protected void |
translateTTR39(String targetElement,
String content)
Translate method TTR39
403 TRANSLATE(OptionalCode_4!c_45, RateType1Code) 404 RULE 405 'FIXE' EquivalentTo 'FIXE' 406 'FORF' EquivalentTo 'FORF' 407 'VARI' EquivalentTo 'VARI' 408 END 409 END |
protected void |
translateTTR4(String targetElement,
MtPathResult content)
Translate method TTR4
29 TRANSLATE(Code_4!c_93, CopyDuplicate1Code) 30 RULE 31 'CODU' EquivalentTo 'CODU' 32 'COPY' EquivalentTo 'COPY' 33 'DUPL' EquivalentTo 'DUPL' 34 END 35 END |
protected void |
translateTTR40(String targetElement,
MtPathResult content)
Translate method TTR40
410 TRANSLATE(22F_38, RevaluationIndicator2Choice) 411 RULE 412 NODE (Indicator) 413 IF (Not (DataSourceScheme IsPresent)) 414 THEN 415 IF (Indicator IsSameString 'REVY') 416 THEN 417 'true' CopyTo Indicator 418 END 419 IF (Indicator IsSameString 'REVN') 420 THEN 421 'false' CopyTo Indicator 422 END 423 END 424 END 425 NODE (Proprietary) 426 DataSourceScheme TranslateTo Proprietary 427 NODE (Identification) 428 IF (DataSourceScheme IsPresent) 429 THEN 430 Indicator CopyTo Proprietary\Identification 431 END 432 END 433 END 434 END 435 END |
protected void |
translateTTR41(String targetElement,
MtPathResult content)
Translate method TTR41
436 TRANSLATE(22F_157, LegalFramework2Choice) 437 RULE 438 NODE (Code) 439 IF (Not (DataSourceScheme IsPresent)) 440 THEN 441 Indicator TranslateTo Code 442 END 443 END 444 NODE (Proprietary) 445 DataSourceScheme TranslateTo Proprietary 446 NODE (Identification) 447 IF (DataSourceScheme IsPresent) 448 THEN 449 Indicator CopyTo Proprietary\Identification 450 END 451 END 452 END 453 END 454 END |
protected void |
translateTTR42(String targetElement,
String content)
Translate method TTR42
455 TRANSLATE(OptionalCode_4!c_260, LegalFramework1Code) 456 RULE 457 'FRAN' EquivalentTo 'FRAN' 458 END 459 END |
protected void |
translateTTR43(String targetElement,
MtPathResult content)
Translate method TTR43
460 TRANSLATE(22F_154, InterestComputationMethodFormat2Choice) 461 RULE 462 NODE (Code) 463 IF (Not (DataSourceScheme IsPresent)) 464 THEN 465 Indicator TranslateTo Code 466 END 467 END 468 NODE (Proprietary) 469 DataSourceScheme TranslateTo Proprietary 470 NODE (Identification) 471 IF (DataSourceScheme IsPresent) 472 THEN 473 Indicator CopyTo Proprietary\Identification 474 END 475 END 476 END 477 END 478 END |
protected void |
translateTTR44(String targetElement,
String content)
Translate method TTR44
479 TRANSLATE(OptionalCode_4!c_257, InterestComputationMethod2Code) 480 RULE 481 'A001' EquivalentTo 'A001' 482 'A002' EquivalentTo 'A002' 483 'A003' EquivalentTo 'A003' 484 'A004' EquivalentTo 'A004' 485 'A005' EquivalentTo 'A005' 486 'A006' EquivalentTo 'A006' 487 'A007' EquivalentTo 'A007' 488 'A008' EquivalentTo 'A008' 489 'A009' EquivalentTo 'A009' 490 'A010' EquivalentTo 'A010' 491 'A011' EquivalentTo 'A011' 492 'A012' EquivalentTo 'A012' 493 'A013' EquivalentTo 'A013' 494 'A014' EquivalentTo 'A014' 495 'OTHR' EquivalentTo 'NARR' 496 END 497 END |
protected void |
translateTTR45(String targetElement,
MtPathResult content)
Translate method TTR45
498 TRANSLATE(22F_217, YesNoIndicator) 499 RULE 500 IF (Not (DataSourceScheme IsPresent)) 501 THEN 502 IF (Indicator IsSameString 'MATA') 503 THEN 504 'true' CopyTo YesNoIndicator 505 END 506 IF (Indicator IsSameString 'MATN') 507 THEN 508 'false' CopyTo YesNoIndicator 509 END 510 END 511 END 512 END |
protected void |
translateTTR46(String targetElement,
MtPathResult content)
Translate method TTR46
513 TRANSLATE(22F_216, YesNoIndicator) 514 RULE 515 IF (Not (DataSourceScheme IsPresent)) 516 THEN 517 IF (Indicator IsSameString 'GIVE') 518 THEN 519 'false' CopyTo YesNoIndicator 520 END 521 IF (Indicator IsSameString 'TAKE') 522 THEN 523 'true' CopyTo YesNoIndicator 524 END 525 END 526 END 527 END |
protected void |
translateTTR47(String targetElement,
MtPathResult content)
Translate method TTR47
528 TRANSLATE(92C, RateName2) 529 RULE 530 NODE (Issuer) 531 DataSourceScheme CopyTo Issuer 532 END 533 NODE (RateName) 534 RateName CopyTo RateName 535 END 536 END 537 END |
protected void |
translateTTR48(String targetElement,
MtPathResult content)
Translate method TTR48
538 TRANSLATE(92A, Rate2) 539 RULE 540 NODE (Sign) 541 IF (Sign IsPresent) 542 THEN 543 'false' CopyTo Sign 544 ELSE 545 'true' CopyTo Sign 546 END 547 END 548 NODE (Rate) 549 Rate TranslateTo Rate 550 END 551 END 552 END |
protected void |
translateTTR49(String targetElement,
String content)
Translate method TTR49
553 TRANSLATE(Rate_FIN_15d, PercentageRate) 554 RULE 555 (Rate_FIN_15d FormatDecimal 'MX') CopyTo PercentageRate 556 END 557 END |
protected void |
translateTTR5(String targetElement,
MtPathResult content)
Translate method TTR5
36 TRANSLATE(22F_175, SecuritiesFinancingTransactionType1Code) 37 RULE 38 IF (Not (DataSourceScheme IsPresent)) 39 THEN 40 Indicator TranslateTo SecuritiesFinancingTransactionType1Code 41 END 42 END 43 END |
protected void |
translateTTR50(String targetElement,
MtPathResult content)
Translate method TTR50
558 TRANSLATE(92A, RateOrName2Choice) 559 RULE 560 NODE (Rate) 561 92A TranslateTo Rate 562 END 563 END 564 END |
protected void |
translateTTR51(String targetElement,
MtPathResult content)
Translate method TTR51
565 TRANSLATE(92C, RateOrName2Choice) 566 RULE 567 NODE (RateName) 568 92C TranslateTo RateName 569 END 570 END 571 END |
protected void |
translateTTR52(String targetElement,
MtPathResult content)
Translate method TTR52
572 TRANSLATE(19A, AmountAndDirection13) 573 RULE 574 NODE (Amount) 575 19A TranslateTo Amount 576 END 577 NODE (CreditDebitIndicator) 578 Sign TranslateTo CreditDebitIndicator 579 END 580 END 581 END |
protected void |
translateTTR53(String targetElement,
MtPathResult content)
Translate method TTR53
582 TRANSLATE(19A, RestrictedFINActiveOrHistoricCurrencyAndAmount) 583 RULE 584 NODE (Amount) 585 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 586 THEN 587 Amount TranslateTo Amount 588 ELSE 589 Fail ('05052', 'Number of fractional digits in amount or price field has been exceeded', Amount) 590 END 591 END 592 NODE (Currency) 593 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 594 THEN 595 CurrencyCode TranslateTo Currency 596 ELSE 597 Fail ('05052', 'Number of fractional digits in amount or price field has been exceeded', Amount) 598 END 599 END 600 END 601 END |
protected void |
translateTTR54(String targetElement,
String content)
Translate method TTR54
602 TRANSLATE(Amount_FIN_15d, RestrictedFINActiveOrHistoricCurrencyAndAmount\Amount) 603 RULE 604 (Amount_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINActiveOrHistoricCurrencyAndAmount\Amount 605 END 606 END |
protected void |
translateTTR55(String targetElement,
String content)
Translate method TTR55
607 TRANSLATE(Currency, ActiveOrHistoricCurrencyCode) 608 RULE 609 Currency CopyTo ActiveOrHistoricCurrencyCode 610 END 611 END |
protected void |
translateTTR56(String targetElement,
String content)
Translate method TTR56
612 TRANSLATE(Text_Sign, CreditDebitCode) 613 RULE 614 IF (Not (Text_Sign IsPresent)) 615 THEN 616 'DBIT' CopyTo CreditDebitCode 617 ELSE 618 'CRDT' CopyTo CreditDebitCode 619 END 620 END 621 END |
protected void |
translateTTR57(String targetElement,
MtPathResult content)
Translate method TTR57
622 TRANSLATE(70C, RestrictedFINXMax140Text) 623 RULE 624 (Narrative\Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 625 END 626 END |
protected void |
translateTTR58(String targetElement,
MtPathResult content)
Translate method TTR58
627 TRANSLATE(22F_6, PriorityNumeric2Choice) 628 RULE 629 NODE (Numeric) 630 IF (Not (DataSourceScheme IsPresent)) 631 THEN 632 Indicator CopyTo Numeric 633 END 634 END 635 NODE (Proprietary) 636 DataSourceScheme TranslateTo Proprietary 637 NODE (Identification) 638 IF (DataSourceScheme IsPresent) 639 THEN 640 Indicator CopyTo Proprietary\Identification 641 END 642 END 643 END 644 END 645 END |
protected void |
translateTTR59(String targetElement,
MtPathResult content)
Translate method TTR59
646 TRANSLATE(22F_200, SettlementTransactionCondition3Choice) 647 RULE 648 NODE (Code) 649 IF (Not (DataSourceScheme IsPresent)) 650 THEN 651 Indicator TranslateTo Code 652 END 653 END 654 NODE (Proprietary) 655 DataSourceScheme TranslateTo Proprietary 656 NODE (Identification) 657 IF (DataSourceScheme IsPresent) 658 THEN 659 Indicator CopyTo Proprietary\Identification 660 END 661 END 662 END 663 END 664 END |
protected void |
translateTTR6(String targetElement,
String content)
Translate method TTR6
44 TRANSLATE(OptionalCode_4!c_290, SecuritiesFinancingTransactionType1Code) 45 RULE 46 'REPU' EquivalentTo 'REPU' 47 'RVPO' EquivalentTo 'RVPO' 48 'SECB' EquivalentTo 'SECB' 49 'SECL' EquivalentTo 'SECL' 50 END 51 END |
protected void |
translateTTR60(String targetElement,
String content)
Translate method TTR60
665 TRANSLATE(OptionalCode_4!c_392, SettlementTransactionCondition2Code) 666 RULE 667 'ASGN' EquivalentTo 'ASGN' 668 'CLEN' EquivalentTo 'CLEN' 669 'DIRT' EquivalentTo 'DIRT' 670 'DLWM' EquivalentTo 'DLWM' 671 'DRAW' EquivalentTo 'DRAW' 672 'EXER' EquivalentTo 'EXER' 673 'FRCL' EquivalentTo 'FRCL' 674 'KNOC' EquivalentTo 'KNOC' 675 'NOMC' EquivalentTo 'NOMC' 676 'PHYS' EquivalentTo 'PHYS' 677 'RESI' EquivalentTo 'RESI' 678 'SPDL' EquivalentTo 'SPDL' 679 'TRIP' EquivalentTo 'TRIP' 680 'UNEX' EquivalentTo 'UNEX' 681 'SPST' EquivalentTo 'SPST' 682 'PENS' EquivalentTo 'PENS' 683 'SHOR' EquivalentTo 'SHOR' 684 END 685 END |
protected void |
translateTTR61(String targetElement,
MtPathResult content)
Translate method TTR61
686 TRANSLATE(22F_54, SettlingCapacity2Choice) 687 RULE 688 NODE (Code) 689 IF (Not (DataSourceScheme IsPresent)) 690 THEN 691 Indicator TranslateTo Code 692 END 693 END 694 NODE (Proprietary) 695 NODE (Identification) 696 IF (DataSourceScheme IsPresent) 697 THEN 698 Indicator CopyTo Proprietary\Identification 699 END 700 END 701 DataSourceScheme TranslateTo Proprietary 702 END 703 END 704 END |
protected void |
translateTTR62(String targetElement,
String content)
Translate method TTR62
705 TRANSLATE(OptionalCode_4!c_93, SettlingCapacity1Code) 706 RULE 707 'SPRI' EquivalentTo 'SPRI' 708 'SAGE' EquivalentTo 'SAGE' 709 'CUST' EquivalentTo 'CUST' 710 END 711 END |
protected void |
translateTTR63(String targetElement,
MtPathResult content)
Translate method TTR63
712 TRANSLATE(22F_6, GenericIdentification25) 713 RULE 714 DataSourceScheme TranslateTo GenericIdentification25 715 NODE (Identification) 716 Indicator CopyTo Identification 717 END 718 NODE (Issuer) 719 IF (Not (DataSourceScheme IsPresent)) 720 THEN 721 'NONE' CopyTo Issuer 722 END 723 END 724 END 725 END |
protected void |
translateTTR64(String targetElement,
MtPathResult content)
Translate method TTR64
726 TRANSLATE(22F_28, SecuritiesRTGS2Choice) 727 RULE 728 NODE (Indicator) 729 IF (Not (DataSourceScheme IsPresent)) 730 THEN 731 IF (Indicator IsSameString 'NRTG') 732 THEN 733 'false' CopyTo Indicator 734 ELSE 735 'true' CopyTo Indicator 736 END 737 END 738 END 739 NODE (Proprietary) 740 DataSourceScheme TranslateTo Proprietary 741 NODE (Identification) 742 IF (DataSourceScheme IsPresent) 743 THEN 744 Indicator CopyTo Proprietary\Identification 745 END 746 END 747 END 748 END 749 END |
protected void |
translateTTR65(String targetElement,
MtPathResult content)
Translate method TTR65
750 TRANSLATE(22F_30, BeneficialOwnership2Choice) 751 RULE 752 NODE (Indicator) 753 IF (Not (DataSourceScheme IsPresent)) 754 THEN 755 IF (Indicator IsSameString 'NBEN') 756 THEN 757 'false' CopyTo Indicator 758 ELSE 759 'true' CopyTo Indicator 760 END 761 END 762 END 763 NODE (Proprietary) 764 NODE (Identification) 765 IF (DataSourceScheme IsPresent) 766 THEN 767 Indicator CopyTo Proprietary\Identification 768 END 769 END 770 DataSourceScheme TranslateTo Proprietary 771 END 772 END 773 END |
protected void |
translateTTR66(String targetElement,
MtPathResult content)
Translate method TTR66
774 TRANSLATE(22F_198, CashSettlementSystem2Choice) 775 RULE 776 NODE (Code) 777 IF (Not (DataSourceScheme IsPresent)) 778 THEN 779 Indicator TranslateTo Code 780 END 781 END 782 NODE (Proprietary) 783 NODE (Identification) 784 IF (DataSourceScheme IsPresent) 785 THEN 786 Indicator CopyTo Proprietary\Identification 787 END 788 END 789 DataSourceScheme TranslateTo Proprietary 790 END 791 END 792 END |
protected void |
translateTTR67(String targetElement,
String content)
Translate method TTR67
793 TRANSLATE(OptionalCode_4!c_355, CashSettlementSystem2Code) 794 RULE 795 'GROS' EquivalentTo 'GROS' 796 'NETS' EquivalentTo 'NETS' 797 END 798 END |
protected void |
translateTTR68(String targetElement,
MtPathResult content)
Translate method TTR68
799 TRANSLATE(22F_55, TaxCapacityParty2Choice) 800 RULE 801 NODE (Code) 802 IF (Not (DataSourceScheme IsPresent)) 803 THEN 804 Indicator TranslateTo Code 805 END 806 END 807 NODE (Proprietary) 808 DataSourceScheme TranslateTo Proprietary 809 NODE (Identification) 810 IF (DataSourceScheme IsPresent) 811 THEN 812 Indicator CopyTo Proprietary\Identification 813 END 814 END 815 END 816 END 817 END |
protected void |
translateTTR69(String targetElement,
String content)
Translate method TTR69
818 TRANSLATE(OptionalCode_4!c_94, TaxLiability1Code) 819 RULE 820 'AGEN' EquivalentTo 'AGEN' 821 'PRIN' EquivalentTo 'PRIN' 822 END 823 END |
protected void |
translateTTR7(String targetElement,
MtPathResult content)
Translate method TTR7
52 TRANSLATE(22F_36, RepurchaseType5Choice) 53 RULE 54 NODE (Code) 55 IF (Not (DataSourceScheme IsPresent)) 56 THEN 57 IF (((Indicator IsSameString 'CALL') Or (Indicator IsSameString 'RATE')) Or (Indicator IsSameString 'ROLP')) 58 THEN 59 Indicator CopyTo Code 60 END 61 END 62 END 63 NODE (Proprietary) 64 NODE (Identification) 65 IF (DataSourceScheme IsPresent) 66 THEN 67 Indicator CopyTo Proprietary\Identification 68 END 69 END 70 DataSourceScheme TranslateTo Proprietary 71 END 72 END 73 END |
protected void |
translateTTR70(String targetElement,
MtPathResult content)
Translate method TTR70
824 TRANSLATE(22F_56, MarketClientSide2Choice) 825 RULE 826 NODE (Code) 827 IF (Not (DataSourceScheme IsPresent)) 828 THEN 829 Indicator TranslateTo Code 830 END 831 END 832 NODE (Proprietary) 833 DataSourceScheme TranslateTo Proprietary 834 NODE (Identification) 835 IF (DataSourceScheme IsPresent) 836 THEN 837 Indicator CopyTo Proprietary\Identification 838 END 839 END 840 END 841 END 842 END |
protected void |
translateTTR71(String targetElement,
String content)
Translate method TTR71
843 TRANSLATE(OptionalCode_4!c_95, MarketClientSideCode) 844 RULE 845 'CLNT' EquivalentTo 'CLNT' 846 'MAKT' EquivalentTo 'MAKT' 847 END 848 END |
protected void |
translateTTR72(String targetElement,
MtPathResult content)
Translate method TTR72
849 TRANSLATE(22F_89, FXStandingInstruction2Choice) 850 RULE 851 NODE (Indicator) 852 IF (Not (DataSourceScheme IsPresent)) 853 THEN 854 IF (Indicator IsSameString 'SINO') 855 THEN 856 'false' CopyTo Indicator 857 END 858 END 859 END 860 NODE (Proprietary) 861 DataSourceScheme TranslateTo Proprietary 862 NODE (Identification) 863 IF (DataSourceScheme IsPresent) 864 THEN 865 Indicator CopyTo Proprietary\Identification 866 END 867 END 868 END 869 END 870 END |
protected void |
translateTTR73(String targetElement,
MtPathResult content)
Translate method TTR73
871 TRANSLATE(22F_57, BlockTrade2Choice) 872 RULE 873 NODE (Code) 874 IF (Not (DataSourceScheme IsPresent)) 875 THEN 876 Indicator TranslateTo Code 877 END 878 END 879 NODE (Proprietary) 880 NODE (Identification) 881 IF (DataSourceScheme IsPresent) 882 THEN 883 Indicator CopyTo Proprietary\Identification 884 END 885 END 886 DataSourceScheme TranslateTo Proprietary 887 END 888 END 889 END |
protected void |
translateTTR74(String targetElement,
String content)
Translate method TTR74
890 TRANSLATE(OptionalCode_4!c_96, BlockTrade1Code) 891 RULE 892 'BLCH' EquivalentTo 'BLCH' 893 'BLPA' EquivalentTo 'BLPA' 894 END 895 END |
protected void |
translateTTR75(String targetElement,
MtPathResult content)
Translate method TTR75
896 TRANSLATE(22F_33, Restriction2Choice) 897 RULE 898 NODE (Code) 899 IF (Not (DataSourceScheme IsPresent)) 900 THEN 901 Indicator TranslateTo Code 902 END 903 END 904 NODE (Proprietary) 905 DataSourceScheme TranslateTo Proprietary 906 NODE (Identification) 907 IF (DataSourceScheme IsPresent) 908 THEN 909 Indicator CopyTo Proprietary\Identification 910 END 911 END 912 END 913 END 914 END |
protected void |
translateTTR76(String targetElement,
String content)
Translate method TTR76
915 TRANSLATE(OptionalCode_4!c_40, OwnershipLegalRestrictions1Code) 916 RULE 917 '144A' EquivalentTo 'A144' 918 'NRST' EquivalentTo 'NRST' 919 'RSTR' EquivalentTo 'RSTR' 920 END 921 END |
protected void |
translateTTR77(String targetElement,
MtPathResult content)
Translate method TTR77
922 TRANSLATE(22F_35, SettlementSystemMethod2Choice) 923 RULE 924 NODE (Code) 925 IF (Not (DataSourceScheme IsPresent)) 926 THEN 927 Indicator TranslateTo Code 928 END 929 END 930 NODE (Proprietary) 931 DataSourceScheme TranslateTo Proprietary 932 NODE (Identification) 933 IF (DataSourceScheme IsPresent) 934 THEN 935 Indicator CopyTo Proprietary\Identification 936 END 937 END 938 END 939 END 940 END |
protected void |
translateTTR78(String targetElement,
String content)
Translate method TTR78
941 TRANSLATE(OptionalCode_4!c_42, SettlementSystemMethod1Code) 942 RULE 943 'NSET' EquivalentTo 'NSET' 944 'YSET' EquivalentTo 'YSET' 945 END 946 END |
protected void |
translateTTR79(String targetElement,
MtPathResult content)
Translate method TTR79
947 TRANSLATE(22F_58, NettingEligibility2Choice) 948 RULE 949 NODE (Indicator) 950 IF (Not (DataSourceScheme IsPresent)) 951 THEN 952 IF (Indicator IsSameString 'NNET') 953 THEN 954 'false' CopyTo Indicator 955 ELSE 956 'true' CopyTo Indicator 957 END 958 END 959 END 960 NODE (Proprietary) 961 DataSourceScheme TranslateTo Proprietary 962 NODE (Identification) 963 IF (DataSourceScheme IsPresent) 964 THEN 965 Indicator CopyTo Proprietary\Identification 966 END 967 END 968 END 969 END 970 END |
protected void |
translateTTR8(String targetElement,
String content)
Translate method TTR8
74 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 75 RULE 76 NODE (Issuer) 77 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 78 END 79 NODE (SchemeName) 80 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 81 THEN 82 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 83 END 84 END 85 END 86 END |
protected void |
translateTTR80(String targetElement,
MtPathResult content)
Translate method TTR80
971 TRANSLATE(22F_59, CentralCounterPartyEligibility2Choice) 972 RULE 973 NODE (Indicator) 974 IF (Not (DataSourceScheme IsPresent)) 975 THEN 976 IF (Indicator IsSameString 'NCCP') 977 THEN 978 'false' CopyTo Indicator 979 ELSE 980 'true' CopyTo Indicator 981 END 982 END 983 END 984 NODE (Proprietary) 985 NODE (Identification) 986 IF (DataSourceScheme IsPresent) 987 THEN 988 Indicator CopyTo Proprietary\Identification 989 END 990 END 991 DataSourceScheme TranslateTo Proprietary 992 END 993 END 994 END |
protected void |
translateTTR81(String targetElement,
MtPathResult content)
Translate method TTR81
995 TRANSLATE(22F_90, Tracking2Choice) 996 RULE 997 NODE (Indicator) 998 IF (Not (DataSourceScheme IsPresent)) 999 THEN 1000 IF (Indicator IsSameString 'UNTR') 1001 THEN 1002 'false' CopyTo Indicator 1003 ELSE 1004 'true' CopyTo Indicator 1005 END 1006 END 1007 END 1008 NODE (Proprietary) 1009 DataSourceScheme TranslateTo Proprietary 1010 NODE (Identification) 1011 IF (DataSourceScheme IsPresent) 1012 THEN 1013 Indicator CopyTo Proprietary\Identification 1014 END 1015 END 1016 END 1017 END 1018 END |
protected void |
translateTTR82(String targetElement,
MtPathResult content)
Translate method TTR82
1019 TRANSLATE(22F_101, AutomaticBorrowing4Choice) 1020 RULE 1021 NODE (Code) 1022 IF (Not (DataSourceScheme IsPresent)) 1023 THEN 1024 Indicator TranslateTo Code 1025 END 1026 END 1027 NODE (Proprietary) 1028 DataSourceScheme TranslateTo Proprietary 1029 NODE (Identification) 1030 IF (DataSourceScheme IsPresent) 1031 THEN 1032 Indicator CopyTo Proprietary\Identification 1033 END 1034 END 1035 END 1036 END 1037 END |
protected void |
translateTTR83(String targetElement,
String content)
Translate method TTR83
1038 TRANSLATE(OptionalCode_4!c_166, AutoBorrowing1Code) 1039 RULE 1040 'LAMI' EquivalentTo 'LAMI' 1041 'NBOR' EquivalentTo 'NBOR' 1042 'YBOR' EquivalentTo 'YBOR' 1043 END 1044 END |
protected void |
translateTTR84(String targetElement,
MtPathResult content)
Translate method TTR84
1045 TRANSLATE(22F_200, YesNoIndicator) 1046 RULE 1047 IF (Not (DataSourceScheme IsPresent)) 1048 THEN 1049 IF (Indicator IsSameString 'NPAR') 1050 THEN 1051 'false' CopyTo YesNoIndicator 1052 END 1053 IF (Indicator IsSameString 'PART') 1054 THEN 1055 'true' CopyTo YesNoIndicator 1056 END 1057 END 1058 END 1059 END |
protected void |
translateTTR85(String targetElement,
MtPathResult content)
Translate method TTR85
1060 TRANSLATE(22F_203, YesNoIndicator) 1061 RULE 1062 IF (Not (DataSourceScheme IsPresent)) 1063 THEN 1064 IF (Indicator IsSameString 'COLA') 1065 THEN 1066 'true' CopyTo YesNoIndicator 1067 END 1068 IF (Indicator IsSameString 'COLN') 1069 THEN 1070 'false' CopyTo YesNoIndicator 1071 END 1072 END 1073 END 1074 END |
protected void |
translateTTR86(String targetElement,
MtPathResult content)
Translate method TTR86
1075 TRANSLATE(95P_2, PartyIdentification16Choice) 1076 RULE 1077 NODE (BICOrBEI) 1078 IdentifierCode TranslateTo BICOrBEI 1079 END 1080 END 1081 END |
protected void |
translateTTR87(String targetElement,
MtPathResult content)
Translate method TTR87
1082 TRANSLATE(95Q, PartyIdentification16Choice) 1083 RULE 1084 NODE (NameAndAddress) 1085 NameAndAddress TranslateTo NameAndAddress 1086 END 1087 END 1088 END |
protected void |
translateTTR88(String targetElement,
String content)
Translate method TTR88
1089 TRANSLATE(Text_FIN_4M35x, NameAndAddress12) 1090 RULE 1091 NODE (Name) 1092 ((Line[*] ConcatenateWithSeparator '-') ReplaceAll ('/', '-')) CopyTo Name 1093 END 1094 END 1095 END |
protected void |
translateTTR89(String targetElement,
MtPathResult content)
Translate method TTR89
1096 TRANSLATE(95R, PartyIdentification16Choice) 1097 RULE 1098 NODE (ProprietaryIdentification) 1099 NODE (Identification) 1100 ProprietaryCode TranslateTo ProprietaryIdentification\Identification 1101 END 1102 DataSourceScheme TranslateTo ProprietaryIdentification 1103 END 1104 END 1105 END |
protected void |
translateTTR9(String targetElement,
MtPathResult content)
Translate method TTR9
87 TRANSLATE(99A, Max3Number) 88 RULE 89 IF (Not (Sign IsPresent)) 90 THEN 91 Number CopyTo Max3Number 92 ELSE 93 ('-' Concatenate Number) CopyTo Max3Number 94 END 95 END 96 END |
protected void |
translateTTR90(String targetElement,
MtPathResult content)
Translate method TTR90
1106 TRANSLATE(95S, AlternatePartyIdentification3) 1107 RULE 1108 NODE (IdentificationType) 1109 NODE (Code) 1110 IF (Not (DataSourceScheme IsPresent)) 1111 THEN 1112 TypeOfID TranslateTo IdentificationType\Code 1113 END 1114 END 1115 NODE (Proprietary) 1116 DataSourceScheme TranslateTo IdentificationType\Proprietary 1117 NODE (Identification) 1118 IF (DataSourceScheme IsPresent) 1119 THEN 1120 TypeOfID CopyTo IdentificationType\Proprietary\Identification 1121 END 1122 END 1123 END 1124 END 1125 NODE (Country) 1126 CountryCode CopyTo Country 1127 END 1128 NODE (AlternateIdentification) 1129 AlternateID CopyTo AlternateIdentification 1130 END 1131 END 1132 END |
protected void |
translateTTR91(String targetElement,
String content)
Translate method TTR91
1133 TRANSLATE(OptionalCode_4!c_20, TypeOfIdentification1Code) 1134 RULE 1135 'ARNU' EquivalentTo 'ARNU' 1136 'CCPT' EquivalentTo 'CCPT' 1137 'CHTY' EquivalentTo 'CHTY' 1138 'DRLC' EquivalentTo 'DRLC' 1139 'FIIN' EquivalentTo 'FIIN' 1140 'CORP' EquivalentTo 'CORP' 1141 'TXID' EquivalentTo 'TXID' 1142 END 1143 END |
protected void |
translateTTR92(String targetElement,
MtPathResult content)
Translate method TTR92
1144 TRANSLATE(70D, RestrictedFINXMax350Text) 1145 RULE 1146 (Narrative\Line[*] Concatenate) CopyTo RestrictedFINXMax350Text 1147 END 1148 END |
protected void |
translateTTR93(String targetElement,
MtPathResult content)
Translate method TTR93
1149 TRANSLATE(95C, PartyIdentification17Choice) 1150 RULE 1151 NODE (Country) 1152 CountryCode CopyTo Country 1153 END 1154 END 1155 END |
protected void |
translateTTR94(String targetElement,
MtPathResult content)
Translate method TTR94
1156 TRANSLATE(95P_2, PartyIdentification17Choice) 1157 RULE 1158 NODE (BICOrBEI) 1159 IdentifierCode TranslateTo BICOrBEI 1160 END 1161 END 1162 END |
protected void |
translateTTR95(String targetElement,
MtPathResult content)
Translate method TTR95
1163 TRANSLATE(95Q, PartyIdentification17Choice) 1164 RULE 1165 NODE (NameAndAddress) 1166 NameAndAddress TranslateTo NameAndAddress 1167 END 1168 END 1169 END |
protected void |
translateTTR96(String targetElement,
MtPathResult content)
Translate method TTR96
1170 TRANSLATE(19A, RestrictedFINActiveCurrencyAndAmount) 1171 RULE 1172 NODE (Amount) 1173 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 1174 THEN 1175 (Amount FormatDecimal 'MX') CopyTo Amount 1176 ELSE 1177 Fail ('05052', 'Number of fractional digits in amount has been exceeded.', Amount) 1178 END 1179 END 1180 NODE (Currency) 1181 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 1182 THEN 1183 CurrencyCode CopyTo Currency 1184 ELSE 1185 Fail ('05052', 'Currency code cannot be copied because number of fractional digits in amount has been exceeded.', Amount) 1186 END 1187 END 1188 END 1189 END |
protected void |
translateTTR97(String targetElement,
MtPathResult content)
Translate method TTR97
1190 TRANSLATE(92B, ForeignExchangeTerms12) 1191 RULE 1192 NODE (UnitCurrency) 1193 FirstCurrencyCode TranslateTo UnitCurrency 1194 END 1195 NODE (QuotedCurrency) 1196 SecondCurrencyCode TranslateTo QuotedCurrency 1197 END 1198 NODE (ExchangeRate) 1199 Rate TranslateTo ExchangeRate 1200 END 1201 END 1202 END |
protected void |
translateTTR98(String targetElement,
String content)
Translate method TTR98
1203 TRANSLATE(Currency, ActiveCurrencyCode) 1204 RULE 1205 Currency CopyTo ActiveCurrencyCode 1206 END 1207 END |
protected void |
translateTTR99(String targetElement,
String content)
Translate method TTR99
1208 TRANSLATE(Rate_FIN_15d, BaseOneRate) 1209 RULE 1210 IF (((((Rate_FIN_15d FormatDecimal 'MX') ReplaceAll '.') Length) LessThanOrEqualTo '11') And ((((Rate_FIN_15d Substring ((Rate_FIN_15d Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '10')) 1211 THEN 1212 (Rate_FIN_15d FormatDecimal 'MX') CopyTo BaseOneRate 1213 END 1214 END 1215 END |
public MT543_MxSese03600201_Translation()
public final MxSese03600201 translate(MT543 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT543 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT543 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT543 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translateTTR1(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 translateTTR2(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 translateTTR3(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 translateTTR4(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 translateTTR5(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 translateTTR6(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 translateTTR7(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 translateTTR8(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 translateTTR9(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 translateTTR10(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 translateTTR11(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 translateTTR12(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 translateTTR13(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 translateTTR14(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 translateTTR15(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 translateTTR16(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 translateTTR17(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 translateTTR18(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 translateTTR19(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 translateTTR20(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 translateTTR21(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 translateTTR22(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 translateTTR23(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 translateTTR24(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 translateTTR25(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 translateTTR26(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 translateTTR27(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 translateTTR28(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 translateTTR29(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 translateTTR30(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 translateTTR31(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 translateTTR32(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 translateTTR33(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 translateTTR34(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 translateTTR35(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 translateTTR36(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 translateTTR37(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 translateTTR38(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 translateTTR39(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 translateTTR40(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 translateTTR41(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 translateTTR42(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 translateTTR43(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 translateTTR44(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 translateTTR45(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 translateTTR46(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 translateTTR47(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 translateTTR48(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 translateTTR49(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 translateTTR50(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 translateTTR51(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 translateTTR52(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 translateTTR53(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 translateTTR54(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 translateTTR55(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 translateTTR56(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 translateTTR57(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 translateTTR58(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 translateTTR59(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 translateTTR60(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 translateTTR61(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 translateTTR62(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 translateTTR63(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 translateTTR64(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 translateTTR65(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 translateTTR66(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 translateTTR67(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 translateTTR68(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 translateTTR69(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 translateTTR70(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 translateTTR71(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 translateTTR72(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 translateTTR73(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 translateTTR74(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 translateTTR75(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 translateTTR76(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 translateTTR77(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 translateTTR78(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 translateTTR79(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 translateTTR80(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 translateTTR81(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 translateTTR82(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 translateTTR83(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 translateTTR84(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 translateTTR85(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 translateTTR86(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 translateTTR87(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 translateTTR88(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 translateTTR89(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 translateTTR90(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 translateTTR91(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 translateTTR92(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 translateTTR93(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 translateTTR94(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 translateTTR95(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 translateTTR96(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 translateTTR97(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 translateTTR98(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 translateTTR99(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 translateTTR100(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 translateTTR101(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 addedpublic final Boolean logicalMessageCriteriaCheck(MT543 source)
source
- a well formed MT543 objectpublic final void preconditionSR1Check(MT543 source) throws TranslationPreconditionException
source
- a well formed MT543 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MT543 source)