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