public class MT540_MxSese03600201_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT540_MxSese03600201_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT540_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(MT540 source)
Message criteria check
This method checks the content of the source MT540 and determines if it can be translated to the target MxSese03600201 SELECT CRITERIA MustBe (((MT540 Receive Free\E\22F Indicator\SETR\22F\Indicator IsSameString 'SECB') Or (MT540 Receive Free\E\22F Indicator\SETR\22F\Indicator IsSameString 'RVPO')) And (Not (MT540 Receive Free\E\22F Indicator\SETR\22F\DataSourceScheme IsPresent))) MustBe (MT540 Receive Free\D IsPresent) MustBe (MT540 Receive Free\A1[*]\20C Reference\PREV IsPresent) MustBe ((((MT540 Receive Free\E\22F Indicator\REPT\22F\Indicator IsSameString 'CALL') Or (MT540 Receive Free\E\22F Indicator\REPT\22F\Indicator IsSameString 'RATE')) Or (MT540 Receive Free\E\22F Indicator\REPT\22F\Indicator IsSameString 'ROLP')) And (Not (MT540 Receive Free\E\22F Indicator\REPT\22F\DataSourceScheme IsPresent))) MustBe ((MT540 Receive Free\A\23G Function of the Message\23G\Function IsSameString 'NEWM') Or (MT540 Receive Free\A\23G Function of the Message\23G\Function IsSameString 'PREA')) END |
List<PreconditionError> |
preconditionsCheck(MT540 source)
Precondition check
This method checks the precondition on the content of the source MT540 |
void |
preconditionSR1Check(MT540 source)
Precondition check
This method checks the precondition SR1 on the content of the source MT540 IF ((MT540 Receive Free\C[*] Count) GreaterThan '1') THEN Fail ('06002', 'FIAC must only be present once.', MT540 Receive Free\C[*]) END |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSese03600201 |
translate(MT540 source)
Main entry point for the translation
|
protected void |
translateImpl(MT540 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
1214 TRANSLATE(19A, AmountAndDirection11) 1215 RULE 1216 NODE (Amount) 1217 19A TranslateTo Amount 1218 END 1219 NODE (CreditDebitIndicator) 1220 19A TranslateTo CreditDebitIndicator 1221 END 1222 END 1223 END |
protected void |
translateTTR101(String targetElement,
Field field)
Translate method TTR101
1224 TRANSLATE(19A, CreditDebitCode) 1225 RULE 1226 IF (Not (Sign IsPresent)) 1227 THEN 1228 'DBIT' CopyTo CreditDebitCode 1229 ELSE 1230 'CRDT' CopyTo CreditDebitCode 1231 END 1232 END 1233 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_205, 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_401, SettlementTransactionCondition2Code) 666 RULE 667 'ASGN' EquivalentTo 'ASGN' 668 'BUTC' EquivalentTo 'BUTC' 669 'CLEN' EquivalentTo 'CLEN' 670 'DIRT' EquivalentTo 'DIRT' 671 'DLWM' EquivalentTo 'DLWM' 672 'DRAW' EquivalentTo 'DRAW' 673 'EXER' EquivalentTo 'EXER' 674 'FRCL' EquivalentTo 'FRCL' 675 'KNOC' EquivalentTo 'KNOC' 676 'NOMC' EquivalentTo 'NOMC' 677 'PHYS' EquivalentTo 'PHYS' 678 'RESI' EquivalentTo 'RESI' 679 'SPDL' EquivalentTo 'SPDL' 680 'TRIP' EquivalentTo 'TRIP' 681 'UNEX' EquivalentTo 'UNEX' 682 END 683 END |
protected void |
translateTTR61(String targetElement,
MtPathResult content)
Translate method TTR61
684 TRANSLATE(22F_54, SettlingCapacity2Choice) 685 RULE 686 NODE (Code) 687 IF (Not (DataSourceScheme IsPresent)) 688 THEN 689 Indicator TranslateTo Code 690 END 691 END 692 NODE (Proprietary) 693 NODE (Identification) 694 IF (DataSourceScheme IsPresent) 695 THEN 696 Indicator CopyTo Proprietary\Identification 697 END 698 END 699 DataSourceScheme TranslateTo Proprietary 700 END 701 END 702 END |
protected void |
translateTTR62(String targetElement,
String content)
Translate method TTR62
703 TRANSLATE(OptionalCode_4!c_93, SettlingCapacity1Code) 704 RULE 705 'SPRI' EquivalentTo 'SPRI' 706 'SAGE' EquivalentTo 'SAGE' 707 'CUST' EquivalentTo 'CUST' 708 END 709 END |
protected void |
translateTTR63(String targetElement,
MtPathResult content)
Translate method TTR63
710 TRANSLATE(22F_6, GenericIdentification25) 711 RULE 712 DataSourceScheme TranslateTo GenericIdentification25 713 NODE (Identification) 714 Indicator CopyTo Identification 715 END 716 NODE (Issuer) 717 IF (Not (DataSourceScheme IsPresent)) 718 THEN 719 'NONE' CopyTo Issuer 720 END 721 END 722 END 723 END |
protected void |
translateTTR64(String targetElement,
MtPathResult content)
Translate method TTR64
724 TRANSLATE(22F_28, SecuritiesRTGS2Choice) 725 RULE 726 NODE (Indicator) 727 IF (Not (DataSourceScheme IsPresent)) 728 THEN 729 IF (Indicator IsSameString 'NRTG') 730 THEN 731 'false' CopyTo Indicator 732 ELSE 733 'true' CopyTo Indicator 734 END 735 END 736 END 737 NODE (Proprietary) 738 DataSourceScheme TranslateTo Proprietary 739 NODE (Identification) 740 IF (DataSourceScheme IsPresent) 741 THEN 742 Indicator CopyTo Proprietary\Identification 743 END 744 END 745 END 746 END 747 END |
protected void |
translateTTR65(String targetElement,
MtPathResult content)
Translate method TTR65
748 TRANSLATE(22F_30, BeneficialOwnership2Choice) 749 RULE 750 NODE (Indicator) 751 IF (Not (DataSourceScheme IsPresent)) 752 THEN 753 IF (Indicator IsSameString 'NBEN') 754 THEN 755 'false' CopyTo Indicator 756 ELSE 757 'true' CopyTo Indicator 758 END 759 END 760 END 761 NODE (Proprietary) 762 NODE (Identification) 763 IF (DataSourceScheme IsPresent) 764 THEN 765 Indicator CopyTo Proprietary\Identification 766 END 767 END 768 DataSourceScheme TranslateTo Proprietary 769 END 770 END 771 END |
protected void |
translateTTR66(String targetElement,
MtPathResult content)
Translate method TTR66
772 TRANSLATE(22F_198, CashSettlementSystem2Choice) 773 RULE 774 NODE (Code) 775 IF (Not (DataSourceScheme IsPresent)) 776 THEN 777 Indicator TranslateTo Code 778 END 779 END 780 NODE (Proprietary) 781 NODE (Identification) 782 IF (DataSourceScheme IsPresent) 783 THEN 784 Indicator CopyTo Proprietary\Identification 785 END 786 END 787 DataSourceScheme TranslateTo Proprietary 788 END 789 END 790 END |
protected void |
translateTTR67(String targetElement,
String content)
Translate method TTR67
791 TRANSLATE(OptionalCode_4!c_355, CashSettlementSystem2Code) 792 RULE 793 'GROS' EquivalentTo 'GROS' 794 'NETS' EquivalentTo 'NETS' 795 END 796 END |
protected void |
translateTTR68(String targetElement,
MtPathResult content)
Translate method TTR68
797 TRANSLATE(22F_55, TaxCapacityParty2Choice) 798 RULE 799 NODE (Code) 800 IF (Not (DataSourceScheme IsPresent)) 801 THEN 802 Indicator TranslateTo Code 803 END 804 END 805 NODE (Proprietary) 806 DataSourceScheme TranslateTo Proprietary 807 NODE (Identification) 808 IF (DataSourceScheme IsPresent) 809 THEN 810 Indicator CopyTo Proprietary\Identification 811 END 812 END 813 END 814 END 815 END |
protected void |
translateTTR69(String targetElement,
String content)
Translate method TTR69
816 TRANSLATE(OptionalCode_4!c_94, TaxLiability1Code) 817 RULE 818 'AGEN' EquivalentTo 'AGEN' 819 'PRIN' EquivalentTo 'PRIN' 820 END 821 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
822 TRANSLATE(22F_56, MarketClientSide2Choice) 823 RULE 824 NODE (Code) 825 IF (Not (DataSourceScheme IsPresent)) 826 THEN 827 Indicator TranslateTo Code 828 END 829 END 830 NODE (Proprietary) 831 DataSourceScheme TranslateTo Proprietary 832 NODE (Identification) 833 IF (DataSourceScheme IsPresent) 834 THEN 835 Indicator CopyTo Proprietary\Identification 836 END 837 END 838 END 839 END 840 END |
protected void |
translateTTR71(String targetElement,
String content)
Translate method TTR71
841 TRANSLATE(OptionalCode_4!c_95, MarketClientSideCode) 842 RULE 843 'CLNT' EquivalentTo 'CLNT' 844 'MAKT' EquivalentTo 'MAKT' 845 END 846 END |
protected void |
translateTTR72(String targetElement,
MtPathResult content)
Translate method TTR72
847 TRANSLATE(22F_89, FXStandingInstruction2Choice) 848 RULE 849 NODE (Indicator) 850 IF (Not (DataSourceScheme IsPresent)) 851 THEN 852 IF (Indicator IsSameString 'SINO') 853 THEN 854 'false' CopyTo Indicator 855 END 856 END 857 END 858 NODE (Proprietary) 859 DataSourceScheme TranslateTo Proprietary 860 NODE (Identification) 861 IF (DataSourceScheme IsPresent) 862 THEN 863 Indicator CopyTo Proprietary\Identification 864 END 865 END 866 END 867 END 868 END |
protected void |
translateTTR73(String targetElement,
MtPathResult content)
Translate method TTR73
869 TRANSLATE(22F_57, BlockTrade2Choice) 870 RULE 871 NODE (Code) 872 IF (Not (DataSourceScheme IsPresent)) 873 THEN 874 Indicator TranslateTo Code 875 END 876 END 877 NODE (Proprietary) 878 NODE (Identification) 879 IF (DataSourceScheme IsPresent) 880 THEN 881 Indicator CopyTo Proprietary\Identification 882 END 883 END 884 DataSourceScheme TranslateTo Proprietary 885 END 886 END 887 END |
protected void |
translateTTR74(String targetElement,
String content)
Translate method TTR74
888 TRANSLATE(OptionalCode_4!c_96, BlockTrade1Code) 889 RULE 890 'BLCH' EquivalentTo 'BLCH' 891 'BLPA' EquivalentTo 'BLPA' 892 END 893 END |
protected void |
translateTTR75(String targetElement,
MtPathResult content)
Translate method TTR75
894 TRANSLATE(22F_33, Restriction2Choice) 895 RULE 896 NODE (Code) 897 IF (Not (DataSourceScheme IsPresent)) 898 THEN 899 Indicator TranslateTo Code 900 END 901 END 902 NODE (Proprietary) 903 DataSourceScheme TranslateTo Proprietary 904 NODE (Identification) 905 IF (DataSourceScheme IsPresent) 906 THEN 907 Indicator CopyTo Proprietary\Identification 908 END 909 END 910 END 911 END 912 END |
protected void |
translateTTR76(String targetElement,
String content)
Translate method TTR76
913 TRANSLATE(OptionalCode_4!c_40, OwnershipLegalRestrictions1Code) 914 RULE 915 '144A' EquivalentTo 'A144' 916 'NRST' EquivalentTo 'NRST' 917 'RSTR' EquivalentTo 'RSTR' 918 END 919 END |
protected void |
translateTTR77(String targetElement,
MtPathResult content)
Translate method TTR77
920 TRANSLATE(22F_35, SettlementSystemMethod2Choice) 921 RULE 922 NODE (Code) 923 IF (Not (DataSourceScheme IsPresent)) 924 THEN 925 Indicator TranslateTo Code 926 END 927 END 928 NODE (Proprietary) 929 DataSourceScheme TranslateTo Proprietary 930 NODE (Identification) 931 IF (DataSourceScheme IsPresent) 932 THEN 933 Indicator CopyTo Proprietary\Identification 934 END 935 END 936 END 937 END 938 END |
protected void |
translateTTR78(String targetElement,
String content)
Translate method TTR78
939 TRANSLATE(OptionalCode_4!c_42, SettlementSystemMethod1Code) 940 RULE 941 'NSET' EquivalentTo 'NSET' 942 'YSET' EquivalentTo 'YSET' 943 END 944 END |
protected void |
translateTTR79(String targetElement,
MtPathResult content)
Translate method TTR79
945 TRANSLATE(22F_58, NettingEligibility2Choice) 946 RULE 947 NODE (Indicator) 948 IF (Not (DataSourceScheme IsPresent)) 949 THEN 950 IF (Indicator IsSameString 'NNET') 951 THEN 952 'false' CopyTo Indicator 953 ELSE 954 'true' CopyTo Indicator 955 END 956 END 957 END 958 NODE (Proprietary) 959 DataSourceScheme TranslateTo Proprietary 960 NODE (Identification) 961 IF (DataSourceScheme IsPresent) 962 THEN 963 Indicator CopyTo Proprietary\Identification 964 END 965 END 966 END 967 END 968 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
969 TRANSLATE(22F_59, CentralCounterPartyEligibility2Choice) 970 RULE 971 NODE (Indicator) 972 IF (Not (DataSourceScheme IsPresent)) 973 THEN 974 IF (Indicator IsSameString 'NCCP') 975 THEN 976 'false' CopyTo Indicator 977 ELSE 978 'true' CopyTo Indicator 979 END 980 END 981 END 982 NODE (Proprietary) 983 NODE (Identification) 984 IF (DataSourceScheme IsPresent) 985 THEN 986 Indicator CopyTo Proprietary\Identification 987 END 988 END 989 DataSourceScheme TranslateTo Proprietary 990 END 991 END 992 END |
protected void |
translateTTR81(String targetElement,
MtPathResult content)
Translate method TTR81
993 TRANSLATE(22F_90, Tracking2Choice) 994 RULE 995 NODE (Indicator) 996 IF (Not (DataSourceScheme IsPresent)) 997 THEN 998 IF (Indicator IsSameString 'UNTR') 999 THEN 1000 'false' CopyTo Indicator 1001 ELSE 1002 'true' CopyTo Indicator 1003 END 1004 END 1005 END 1006 NODE (Proprietary) 1007 DataSourceScheme TranslateTo Proprietary 1008 NODE (Identification) 1009 IF (DataSourceScheme IsPresent) 1010 THEN 1011 Indicator CopyTo Proprietary\Identification 1012 END 1013 END 1014 END 1015 END 1016 END |
protected void |
translateTTR82(String targetElement,
MtPathResult content)
Translate method TTR82
1017 TRANSLATE(22F_101, AutomaticBorrowing4Choice) 1018 RULE 1019 NODE (Code) 1020 IF (Not (DataSourceScheme IsPresent)) 1021 THEN 1022 Indicator TranslateTo Code 1023 END 1024 END 1025 NODE (Proprietary) 1026 DataSourceScheme TranslateTo Proprietary 1027 NODE (Identification) 1028 IF (DataSourceScheme IsPresent) 1029 THEN 1030 Indicator CopyTo Proprietary\Identification 1031 END 1032 END 1033 END 1034 END 1035 END |
protected void |
translateTTR83(String targetElement,
String content)
Translate method TTR83
1036 TRANSLATE(OptionalCode_4!c_166, AutoBorrowing1Code) 1037 RULE 1038 'LAMI' EquivalentTo 'LAMI' 1039 'NBOR' EquivalentTo 'NBOR' 1040 'YBOR' EquivalentTo 'YBOR' 1041 END 1042 END |
protected void |
translateTTR84(String targetElement,
MtPathResult content)
Translate method TTR84
1043 TRANSLATE(22F_205, YesNoIndicator) 1044 RULE 1045 IF (Not (DataSourceScheme IsPresent)) 1046 THEN 1047 IF (Indicator IsSameString 'NPAR') 1048 THEN 1049 'false' CopyTo YesNoIndicator 1050 END 1051 IF (Indicator IsSameString 'PART') 1052 THEN 1053 'true' CopyTo YesNoIndicator 1054 END 1055 END 1056 END 1057 END |
protected void |
translateTTR85(String targetElement,
MtPathResult content)
Translate method TTR85
1058 TRANSLATE(22F_203, YesNoIndicator) 1059 RULE 1060 IF (Not (DataSourceScheme IsPresent)) 1061 THEN 1062 IF (Indicator IsSameString 'COLA') 1063 THEN 1064 'true' CopyTo YesNoIndicator 1065 END 1066 IF (Indicator IsSameString 'COLN') 1067 THEN 1068 'false' CopyTo YesNoIndicator 1069 END 1070 END 1071 END 1072 END |
protected void |
translateTTR86(String targetElement,
MtPathResult content)
Translate method TTR86
1073 TRANSLATE(95C, PartyIdentification17Choice) 1074 RULE 1075 NODE (Country) 1076 CountryCode CopyTo Country 1077 END 1078 END 1079 END |
protected void |
translateTTR87(String targetElement,
MtPathResult content)
Translate method TTR87
1080 TRANSLATE(95P_2, PartyIdentification17Choice) 1081 RULE 1082 NODE (BICOrBEI) 1083 IdentifierCode TranslateTo BICOrBEI 1084 END 1085 END 1086 END |
protected void |
translateTTR88(String targetElement,
MtPathResult content)
Translate method TTR88
1087 TRANSLATE(95Q, PartyIdentification17Choice) 1088 RULE 1089 NODE (NameAndAddress) 1090 NameAndAddress TranslateTo NameAndAddress 1091 END 1092 END 1093 END |
protected void |
translateTTR89(String targetElement,
String content)
Translate method TTR89
1094 TRANSLATE(Text_FIN_4M35x, NameAndAddress12) 1095 RULE 1096 NODE (Name) 1097 ((Line[*] ConcatenateWithSeparator '-') ReplaceAll ('/', '-')) CopyTo Name 1098 END 1099 END 1100 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
1101 TRANSLATE(95S, AlternatePartyIdentification3) 1102 RULE 1103 NODE (IdentificationType) 1104 NODE (Code) 1105 IF (Not (DataSourceScheme IsPresent)) 1106 THEN 1107 TypeOfID TranslateTo IdentificationType\Code 1108 END 1109 END 1110 NODE (Proprietary) 1111 DataSourceScheme TranslateTo IdentificationType\Proprietary 1112 NODE (Identification) 1113 IF (DataSourceScheme IsPresent) 1114 THEN 1115 TypeOfID CopyTo IdentificationType\Proprietary\Identification 1116 END 1117 END 1118 END 1119 END 1120 NODE (Country) 1121 CountryCode CopyTo Country 1122 END 1123 NODE (AlternateIdentification) 1124 AlternateID CopyTo AlternateIdentification 1125 END 1126 END 1127 END |
protected void |
translateTTR91(String targetElement,
String content)
Translate method TTR91
1128 TRANSLATE(OptionalCode_4!c_20, TypeOfIdentification1Code) 1129 RULE 1130 'ARNU' EquivalentTo 'ARNU' 1131 'CCPT' EquivalentTo 'CCPT' 1132 'CHTY' EquivalentTo 'CHTY' 1133 'DRLC' EquivalentTo 'DRLC' 1134 'FIIN' EquivalentTo 'FIIN' 1135 'CORP' EquivalentTo 'CORP' 1136 'TXID' EquivalentTo 'TXID' 1137 END 1138 END |
protected void |
translateTTR92(String targetElement,
MtPathResult content)
Translate method TTR92
1139 TRANSLATE(70D, RestrictedFINXMax350Text) 1140 RULE 1141 (Narrative\Line[*] Concatenate) CopyTo RestrictedFINXMax350Text 1142 END 1143 END |
protected void |
translateTTR93(String targetElement,
MtPathResult content)
Translate method TTR93
1144 TRANSLATE(95P_2, PartyIdentification16Choice) 1145 RULE 1146 NODE (BICOrBEI) 1147 IdentifierCode TranslateTo BICOrBEI 1148 END 1149 END 1150 END |
protected void |
translateTTR94(String targetElement,
MtPathResult content)
Translate method TTR94
1151 TRANSLATE(95Q, PartyIdentification16Choice) 1152 RULE 1153 NODE (NameAndAddress) 1154 NameAndAddress TranslateTo NameAndAddress 1155 END 1156 END 1157 END |
protected void |
translateTTR95(String targetElement,
MtPathResult content)
Translate method TTR95
1158 TRANSLATE(95R, PartyIdentification16Choice) 1159 RULE 1160 NODE (ProprietaryIdentification) 1161 NODE (Identification) 1162 ProprietaryCode TranslateTo ProprietaryIdentification\Identification 1163 END 1164 DataSourceScheme TranslateTo ProprietaryIdentification 1165 END 1166 END 1167 END |
protected void |
translateTTR96(String targetElement,
MtPathResult content)
Translate method TTR96
1168 TRANSLATE(19A, RestrictedFINActiveCurrencyAndAmount) 1169 RULE 1170 NODE (Amount) 1171 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 1172 THEN 1173 (Amount FormatDecimal 'MX') CopyTo Amount 1174 ELSE 1175 Fail ('05052', 'Number of fractional digits in amount has been exceeded.', Amount) 1176 END 1177 END 1178 NODE (Currency) 1179 IF ((((Amount Substring ((Amount Find ',') Add '1')) TrimRight '0') Length) LessThanOrEqualTo '5') 1180 THEN 1181 CurrencyCode CopyTo Currency 1182 ELSE 1183 Fail ('05052', 'Currency code cannot be copied because number of fractional digits in amount has been exceeded.', Amount) 1184 END 1185 END 1186 END 1187 END |
protected void |
translateTTR97(String targetElement,
MtPathResult content)
Translate method TTR97
1188 TRANSLATE(92B, ForeignExchangeTerms12) 1189 RULE 1190 NODE (UnitCurrency) 1191 FirstCurrencyCode TranslateTo UnitCurrency 1192 END 1193 NODE (QuotedCurrency) 1194 SecondCurrencyCode TranslateTo QuotedCurrency 1195 END 1196 NODE (ExchangeRate) 1197 Rate TranslateTo ExchangeRate 1198 END 1199 END 1200 END |
protected void |
translateTTR98(String targetElement,
String content)
Translate method TTR98
1201 TRANSLATE(Currency, ActiveCurrencyCode) 1202 RULE 1203 Currency CopyTo ActiveCurrencyCode 1204 END 1205 END |
protected void |
translateTTR99(String targetElement,
String content)
Translate method TTR99
1206 TRANSLATE(Rate_FIN_15d, BaseOneRate) 1207 RULE 1208 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')) 1209 THEN 1210 (Rate_FIN_15d FormatDecimal 'MX') CopyTo BaseOneRate 1211 END 1212 END 1213 END |
public MT540_MxSese03600201_Translation()
public final MxSese03600201 translate(MT540 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT540 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT540 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT540 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, 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 translateTTR89(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 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(MT540 source)
source
- a well formed MT540 objectpublic final void preconditionSR1Check(MT540 source) throws TranslationPreconditionException
source
- a well formed MT540 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MT540 source)