public class MT548_MxSemt01400201_Translation extends
Modifier | Constructor and Description |
---|---|
|
MT548_MxSemt01400201_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MT548_MxSemt01400201_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(MT548 source)
Message criteria check
This method checks the content of the source MT548 and determines if it can be translated to the target MxSemt01400201 SELECT CRITERIA MustBe (MT548 Settlement Status and Processing Advice\A\23G Function of the Message\23G\Function IsSameString 'INST') MustBe ((MT548 Settlement Status and Processing Advice\A2[*]\25D Status\IPRC IsPresent) Or (MT548 Settlement Status and Processing Advice\A2[*]\25D Status\SETT IsPresent)) MustBe ((MT548 Settlement Status and Processing Advice\A1[*]\13a Number Identification\LINK\13A\NumberId Select ((..\..\..\..\20C Reference\RELA IsPresent), '1')) IsSameString '524') MustBe (Not ((MT548 Settlement Status and Processing Advice\A2[*]\25D Status\IPRC\25D\StatusCode Select (Not (..\DataSourceScheme IsPresent))) ContainsString 'CGEN')) END |
List<PreconditionError> |
preconditionsCheck(MT548 source)
Precondition check
This method checks the precondition on the content of the source MT548 |
void |
preconditionSR1Check(MT548 source)
Precondition check
This method checks the precondition SR1 on the content of the source MT548 IF ((MT548 Settlement Status and Processing Advice\A2[*]\25D Status\IPRC Count) GreaterThan '1') THEN Fail ('05001', 'Only one status IPRC by message.', MT548 Settlement Status and Processing Advice\A2[*]\25D Status\IPRC) END |
void |
preconditionSR2Check(MT548 source)
Precondition check
This method checks the precondition SR2 on the content of the source MT548 IF ((MT548 Settlement Status and Processing Advice\A2[*]\25D Status\SETT Count) GreaterThan '1') THEN Fail ('05001', 'Only one status SETT by message.', MT548 Settlement Status and Processing Advice\A2[*]\25D Status\SETT) END |
protected Integer |
resolveComponentNumber(String field,
String component)
Static mapping of fields component names into its correspondent component number
|
MxSemt01400201 |
translate(MT548 source)
Main entry point for the translation
|
protected void |
translateImpl(MT548 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
105 TRANSLATE(24B_46, CancellationReason8Choice) 106 RULE 107 NODE (Code) 108 IF (Not (DataSourceScheme IsPresent)) 109 THEN 110 ReasonCode TranslateTo Code 111 END 112 END 113 NODE (Proprietary) 114 DataSourceScheme TranslateTo Proprietary 115 NODE (Identification) 116 IF (DataSourceScheme IsPresent) 117 THEN 118 ReasonCode CopyTo Proprietary\Identification 119 END 120 END 121 END 122 END 123 END |
protected void |
translateTTR11(String targetElement,
String content)
Translate method TTR11
124 TRANSLATE(OptionalCode_4!c_264, CancelledStatusReason9Code) 125 RULE 126 'CANI' EquivalentTo 'CANI' 127 'CANS' EquivalentTo 'CANS' 128 'CANT' EquivalentTo 'CANT' 129 'CANZ' EquivalentTo 'CANZ' 130 'CORP' EquivalentTo 'CORP' 131 'CSUB' EquivalentTo 'CSUB' 132 'NARR' EquivalentTo 'OTHR' 133 'SCEX' EquivalentTo 'SCEX' 134 'EXPI' EquivalentTo 'CXLR' 135 END 136 END |
protected void |
translateTTR12(String targetElement,
MtPathResult content)
Translate method TTR12
137 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 138 RULE 139 NODE (Issuer) 140 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 141 END 142 NODE (SchemeName) 143 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 144 THEN 145 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 146 END 147 END 148 END 149 END |
protected void |
translateTTR13(String targetElement,
MtPathResult content)
Translate method TTR13
150 TRANSLATE(24B_10, AcknowledgementReason8Choice) 151 RULE 152 NODE (Code) 153 IF (Not (DataSourceScheme IsPresent)) 154 THEN 155 ReasonCode TranslateTo Code 156 END 157 END 158 NODE (Proprietary) 159 DataSourceScheme TranslateTo Proprietary 160 NODE (Identification) 161 IF (DataSourceScheme IsPresent) 162 THEN 163 ReasonCode CopyTo Proprietary\Identification 164 END 165 END 166 END 167 END 168 END |
protected void |
translateTTR14(String targetElement,
String content)
Translate method TTR14
169 TRANSLATE(OptionalCode_4!c_85, AcknowledgementReason5Code) 170 RULE 171 'ADEA' EquivalentTo 'ADEA' 172 'NARR' EquivalentTo 'OTHR' 173 'SMPG' EquivalentTo 'SMPG' 174 END 175 END |
protected void |
translateTTR15(String targetElement,
MtPathResult content)
Translate method TTR15
176 TRANSLATE(24B_65, PendingReason10Choice) 177 RULE 178 NODE (Code) 179 IF (Not (DataSourceScheme IsPresent)) 180 THEN 181 ReasonCode TranslateTo Code 182 END 183 END 184 NODE (Proprietary) 185 DataSourceScheme TranslateTo Proprietary 186 NODE (Identification) 187 IF (DataSourceScheme IsPresent) 188 THEN 189 ReasonCode CopyTo Proprietary\Identification 190 END 191 END 192 END 193 END 194 END |
protected void |
translateTTR16(String targetElement,
String content)
Translate method TTR16
195 TRANSLATE(OptionalCode_4!c_377, PendingReason1Code) 196 RULE 197 'ADEA' EquivalentTo 'ADEA' 198 'AWMO' EquivalentTo 'AWMO' 199 'AWSH' EquivalentTo 'AWSH' 200 'BENO' EquivalentTo 'BENO' 201 'BATC' EquivalentTo 'BATC' 202 'BLOC' EquivalentTo 'BLOC' 203 'BOTH' EquivalentTo 'BOTH' 204 'CAIS' EquivalentTo 'CAIS' 205 'CHAS' EquivalentTo 'CHAS' 206 'CLAC' EquivalentTo 'CLAC' 207 'NEWI' EquivalentTo 'NEWI' 208 'DOCC' EquivalentTo 'DOCC' 209 'DOCY' EquivalentTo 'DOCY' 210 'TAMM' EquivalentTo 'TAMM' 211 'PHSE' EquivalentTo 'PHSE' 212 'REFU' EquivalentTo 'REFU' 213 'MUNO' EquivalentTo 'MUNO' 214 'GLOB' EquivalentTo 'GLOB' 215 'PREA' EquivalentTo 'PREA' 216 'PART' EquivalentTo 'PART' 217 'NMAS' EquivalentTo 'NMAS' 218 'NOFX' EquivalentTo 'NOFX' 219 'CMON' EquivalentTo 'CMON' 220 'YCOL' EquivalentTo 'YCOL' 221 'COLL' EquivalentTo 'COLL' 222 'DEPO' EquivalentTo 'DEPO' 223 'FLIM' EquivalentTo 'FLIM' 224 'INCA' EquivalentTo 'INCA' 225 'LINK' EquivalentTo 'LINK' 226 'FUTU' EquivalentTo 'FUTU' 227 'LACK' EquivalentTo 'LACK' 228 'LALO' EquivalentTo 'LALO' 229 'MONY' EquivalentTo 'MONY' 230 'NCON' EquivalentTo 'NCON' 231 'REFS' EquivalentTo 'REFS' 232 'SDUT' EquivalentTo 'SDUT' 233 'SBLO' EquivalentTo 'SBLO' 234 'MINO' EquivalentTo 'MINO' 235 'IAAD' EquivalentTo 'IAAD' 236 'PHCK' EquivalentTo 'PHCK' 237 'CYCL' EquivalentTo 'CYCL' 238 'CPEC' EquivalentTo 'CPEC' 239 'CLHT' EquivalentTo 'CLHT' 240 'DENO' EquivalentTo 'DENO' 241 'DISA' EquivalentTo 'DISA' 242 'DKNY' EquivalentTo 'DKNY' 243 'FROZ' EquivalentTo 'FROZ' 244 'LAAW' EquivalentTo 'LAAW' 245 'LATE' EquivalentTo 'LATE' 246 'LIQU' EquivalentTo 'LIQU' 247 'PRCY' EquivalentTo 'PRCY' 248 'REGT' EquivalentTo 'REGT' 249 'SETS' EquivalentTo 'SETS' 250 'CERT' EquivalentTo 'CERT' 251 'PRSY' EquivalentTo 'PRSY' 252 'NARR' EquivalentTo 'OTHR' 253 END 254 END |
protected void |
translateTTR17(String targetElement,
MtPathResult content)
Translate method TTR17
255 TRANSLATE(24B_66, FailingReason2Choice) 256 RULE 257 NODE (Code) 258 IF (Not (DataSourceScheme IsPresent)) 259 THEN 260 ReasonCode TranslateTo Code 261 END 262 END 263 NODE (Proprietary) 264 NODE (Identification) 265 IF (DataSourceScheme IsPresent) 266 THEN 267 ReasonCode CopyTo Proprietary\Identification 268 END 269 END 270 DataSourceScheme TranslateTo Proprietary 271 END 272 END 273 END |
protected void |
translateTTR18(String targetElement,
String content)
Translate method TTR18
274 TRANSLATE(OptionalCode_4!c_378, FailingReason1Code) 275 RULE 276 'ADEA' EquivalentTo 'ADEA' 277 'AWMO' EquivalentTo 'AWMO' 278 'AWSH' EquivalentTo 'AWSH' 279 'BATC' EquivalentTo 'BATC' 280 'BYIY' EquivalentTo 'BYIY' 281 'CLAT' EquivalentTo 'CLAT' 282 'CANR' EquivalentTo 'CANR' 283 'CAIS' EquivalentTo 'CAIS' 284 'OBJT' EquivalentTo 'OBJT' 285 'PHSE' EquivalentTo 'PHSE' 286 'STCD' EquivalentTo 'STCD' 287 'DOCY' EquivalentTo 'DOCY' 288 'MLAT' EquivalentTo 'MLAT' 289 'DOCC' EquivalentTo 'DOCC' 290 'BLOC' EquivalentTo 'BLOC' 291 'CHAS' EquivalentTo 'CHAS' 292 'NEWI' EquivalentTo 'NEWI' 293 'CLAC' EquivalentTo 'CLAC' 294 'MUNO' EquivalentTo 'MUNO' 295 'GLOB' EquivalentTo 'GLOB' 296 'PREA' EquivalentTo 'PREA' 297 'PART' EquivalentTo 'PART' 298 'NOFX' EquivalentTo 'NOFX' 299 'CMON' EquivalentTo 'CMON' 300 'YCOL' EquivalentTo 'YCOL' 301 'COLL' EquivalentTo 'COLL' 302 'DEPO' EquivalentTo 'DEPO' 303 'FLIM' EquivalentTo 'FLIM' 304 'INCA' EquivalentTo 'INCA' 305 'LINK' EquivalentTo 'LINK' 306 'LACK' EquivalentTo 'LACK' 307 'LALO' EquivalentTo 'LALO' 308 'MONY' EquivalentTo 'MONY' 309 'NCON' EquivalentTo 'NCON' 310 'REFS' EquivalentTo 'REFS' 311 'SDUT' EquivalentTo 'SDUT' 312 'CYCL' EquivalentTo 'CYCL' 313 'CPEC' EquivalentTo 'CPEC' 314 'MINO' EquivalentTo 'MINO' 315 'IAAD' EquivalentTo 'IAAD' 316 'SBLO' EquivalentTo 'SBLO' 317 'PHCK' EquivalentTo 'PHCK' 318 'BENO' EquivalentTo 'BENO' 319 'BOTH' EquivalentTo 'BOTH' 320 'CLHT' EquivalentTo 'CLHT' 321 'DENO' EquivalentTo 'DENO' 322 'DISA' EquivalentTo 'DISA' 323 'DKNY' EquivalentTo 'DKNY' 324 'FROZ' EquivalentTo 'FROZ' 325 'LAAW' EquivalentTo 'LAAW' 326 'LATE' EquivalentTo 'LATE' 327 'LIQU' EquivalentTo 'LIQU' 328 'PRCY' EquivalentTo 'PRCY' 329 'REGT' EquivalentTo 'REGT' 330 'SETS' EquivalentTo 'SETS' 331 'PRSY' EquivalentTo 'PRSY' 332 'CERT' EquivalentTo 'CERT' 333 'NARR' EquivalentTo 'OTHR' 334 END 335 END |
protected void |
translateTTR19(String targetElement,
MtPathResult content)
Translate method TTR19
336 TRANSLATE(95P_2, PartyIdentification18Choice) 337 RULE 338 NODE (BICOrBEI) 339 IdentifierCode TranslateTo BICOrBEI 340 END 341 END 342 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,
String content)
Translate method TTR20
343 TRANSLATE(Identifier_BICBEI, AnyBICIdentifier) 344 RULE 345 Identifier_BICBEI CopyTo AnyBICIdentifier 346 END 347 END |
protected void |
translateTTR21(String targetElement,
MtPathResult content)
Translate method TTR21
348 TRANSLATE(95R, PartyIdentification18Choice) 349 RULE 350 NODE (ProprietaryIdentification) 351 NODE (Identification) 352 ProprietaryCode TranslateTo ProprietaryIdentification\Identification 353 END 354 DataSourceScheme TranslateTo ProprietaryIdentification 355 END 356 END 357 END |
protected void |
translateTTR22(String targetElement,
String content)
Translate method TTR22
358 TRANSLATE(Text_FIN_34x, RestrictedFINXMax34Text) 359 RULE 360 Text_FIN_34x CopyTo RestrictedFINXMax34Text 361 END 362 END |
protected void |
translateTTR23(String targetElement,
String content)
Translate method TTR23
363 TRANSLATE(Identifier_FIN_8c, GenericIdentification24) 364 RULE 365 NODE (Issuer) 366 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 367 END 368 NODE (SchemeName) 369 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 370 THEN 371 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 372 END 373 END 374 END 375 END |
protected void |
translateTTR24(String targetElement,
MtPathResult content)
Translate method TTR24
376 TRANSLATE(97A, SecuritiesAccount17) 377 RULE 378 NODE (Identification) 379 AccountNumber TranslateTo Identification 380 END 381 END 382 END |
protected void |
translateTTR25(String targetElement,
String content)
Translate method TTR25
383 TRANSLATE(Identifier_FIN_35x, RestrictedFINXMax35Text) 384 RULE 385 Identifier_FIN_35x CopyTo RestrictedFINXMax35Text 386 END 387 END |
protected void |
translateTTR26(String targetElement,
MtPathResult content)
Translate method TTR26
388 TRANSLATE(97B_2, SecuritiesAccount17) 389 RULE 390 NODE (Identification) 391 AccountNumber CopyTo Identification 392 END 393 NODE (Type) 394 NODE (Identification) 395 AccountTypeCode CopyTo Type\Identification 396 END 397 DataSourceScheme TranslateTo Type 398 NODE (Issuer) 399 IF (Not (DataSourceScheme IsPresent)) 400 THEN 401 'NONE' CopyTo Type\Issuer 402 END 403 END 404 END 405 END 406 END |
protected void |
translateTTR27(String targetElement,
MtPathResult content)
Translate method TTR27
407 TRANSLATE(Identifier_Isin, ISINIdentifier) 408 RULE 409 (Identifier_Isin Substring '6') CopyTo ISINIdentifier 410 END 411 END |
protected void |
translateTTR28(String targetElement,
MtPathResult content)
Translate method TTR28
412 TRANSLATE(35B, AlternateIdentification2) 413 RULE 414 NODE (Identification) 415 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/')) 416 THEN 417 (DescriptionOfSecurity\Line[1] Substring '5') CopyTo Identification 418 ELSE 419 IF (Not (IdentificationOfSecurity IsPresent)) 420 THEN 421 IF ((DescriptionOfSecurity\Line[1] Length) LessThanOrEqualTo '31') 422 THEN 423 (DescriptionOfSecurity\Line[1] TrimLeft '/') CopyTo Identification 424 ELSE 425 (DescriptionOfSecurity\Line[1] Substring ('1', '31')) CopyTo Identification 426 END 427 END 428 END 429 END 430 NODE (IdentificationSource) 431 NODE (Domestic) 432 IF (((DescriptionOfSecurity\Line[1] Substring ('1', '1')) IsSameString '/') And (((DescriptionOfSecurity\Line[1] Substring ('2', '2')) IsCountry) And ((DescriptionOfSecurity\Line[1] Substring ('4', '1')) IsSameString '/'))) 433 THEN 434 (DescriptionOfSecurity\Line[1] Substring ('2', '2')) CopyTo IdentificationSource\Domestic 435 END 436 END 437 NODE (Proprietary) 438 IF (((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/TS/') Or ((DescriptionOfSecurity\Line[1] Substring ('1', '4')) IsSameString '/XX/')) 439 THEN 440 (DescriptionOfSecurity\Line[1] Substring ('2', '2')) CopyTo IdentificationSource\Proprietary 441 END 442 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))) 443 THEN 444 'XX' CopyTo IdentificationSource\Proprietary 445 END 446 END 447 END 448 END 449 END |
protected void |
translateTTR29(String targetElement,
MtPathResult content)
Translate method TTR29
450 TRANSLATE(Text_FIN_4M35x, RestrictedFINXMax140Text) 451 RULE 452 ((Line[2] Concatenate (Line[3] Concatenate Line[4])) TrimRight ' ') CopyTo RestrictedFINXMax140Text 453 END 454 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
455 TRANSLATE(Text_FIN_4M35x, RestrictedFINXMax140Text) 456 RULE 457 (Line[*] Concatenate) CopyTo RestrictedFINXMax140Text 458 END 459 END |
protected void |
translateTTR31(String targetElement,
MtPathResult content)
Translate method TTR31
460 TRANSLATE(36B, FinancialInstrumentQuantity15Choice) 461 RULE 462 NODE (Unit) 463 IF (QuantityTypeCode IsSameString 'UNIT') 464 THEN 465 Quantity TranslateTo Unit 466 END 467 END 468 NODE (FaceAmount) 469 IF (QuantityTypeCode IsSameString 'FAMT') 470 THEN 471 Quantity TranslateTo FaceAmount 472 END 473 END 474 NODE (AmortisedValue) 475 IF (QuantityTypeCode IsSameString 'AMOR') 476 THEN 477 Quantity TranslateTo AmortisedValue 478 END 479 END 480 END 481 END |
protected void |
translateTTR32(String targetElement,
String content)
Translate method TTR32
482 TRANSLATE(Quantity_FIN_15d, RestrictedFINDecimalNumber) 483 RULE 484 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINDecimalNumber 485 END 486 END |
protected void |
translateTTR33(String targetElement,
String content)
Translate method TTR33
487 TRANSLATE(Quantity_FIN_15d, RestrictedFINImpliedCurrencyAndAmount) 488 RULE 489 (Quantity_FIN_15d FormatDecimal 'MX') CopyTo RestrictedFINImpliedCurrencyAndAmount 490 END 491 END |
protected void |
translateTTR34(String targetElement,
MtPathResult content)
Translate method TTR34
492 TRANSLATE(95P_2, PartyIdentification16Choice) 493 RULE 494 NODE (BICOrBEI) 495 IdentifierCode TranslateTo BICOrBEI 496 END 497 END 498 END |
protected void |
translateTTR35(String targetElement,
MtPathResult content)
Translate method TTR35
499 TRANSLATE(95Q, PartyIdentification16Choice) 500 RULE 501 NODE (NameAndAddress) 502 NameAndAddress TranslateTo NameAndAddress 503 END 504 END 505 END |
protected void |
translateTTR36(String targetElement,
String content)
Translate method TTR36
506 TRANSLATE(Text_FIN_4M35x, NameAndAddress12) 507 RULE 508 NODE (Name) 509 ((Line[*] ConcatenateWithSeparator '-') ReplaceAll ('/', '-')) CopyTo Name 510 END 511 END 512 END |
protected void |
translateTTR37(String targetElement,
MtPathResult content)
Translate method TTR37
513 TRANSLATE(95R, PartyIdentification16Choice) 514 RULE 515 NODE (ProprietaryIdentification) 516 NODE (Identification) 517 ProprietaryCode TranslateTo ProprietaryIdentification\Identification 518 END 519 DataSourceScheme TranslateTo ProprietaryIdentification 520 END 521 END 522 END |
protected void |
translateTTR4(String targetElement,
MtPathResult content)
Translate method TTR4
29 TRANSLATE(24B_62, RejectionAndRepairReason8Choice) 30 RULE 31 NODE (Code) 32 IF (Not (DataSourceScheme IsPresent)) 33 THEN 34 ReasonCode TranslateTo Code 35 END 36 END 37 NODE (Proprietary) 38 DataSourceScheme TranslateTo Proprietary 39 NODE (Identification) 40 IF (DataSourceScheme IsPresent) 41 THEN 42 ReasonCode CopyTo Proprietary\Identification 43 END 44 END 45 END 46 END 47 END |
protected void |
translateTTR5(String targetElement,
String content)
Translate method TTR5
48 TRANSLATE(OptionalCode_4!c_382, RejectionReason22Code) 49 RULE 50 'SAFE' EquivalentTo 'SAFE' 51 'ADEA' EquivalentTo 'ADEA' 52 'LATE' EquivalentTo 'LATE' 53 'CAEV' EquivalentTo 'CAEV' 54 'DDAT' EquivalentTo 'DDAT' 55 'REFE' EquivalentTo 'REFE' 56 'NARR' EquivalentTo 'OTHR' 57 END 58 END |
protected void |
translateTTR6(String targetElement,
MtPathResult content)
Translate method TTR6
59 TRANSLATE(Identifier_FIN_8c, GenericIdentification25) 60 RULE 61 NODE (Issuer) 62 (Identifier_FIN_8c Substring ('1', '4')) CopyTo Issuer 63 END 64 NODE (SchemeName) 65 IF (Not (((Identifier_FIN_8c Substring '5') Length) IsSameNumber '0')) 66 THEN 67 (Identifier_FIN_8c Substring '5') CopyTo SchemeName 68 END 69 END 70 END 71 END |
protected void |
translateTTR7(String targetElement,
MtPathResult content)
Translate method TTR7
72 TRANSLATE(70D, RestrictedFINXMax210Text) 73 RULE 74 (Narrative\Line[*] Concatenate) CopyTo RestrictedFINXMax210Text 75 END 76 END |
protected void |
translateTTR8(String targetElement,
MtPathResult content)
Translate method TTR8
77 TRANSLATE(24B_63, RejectionAndRepairReason8Choice) 78 RULE 79 NODE (Code) 80 IF (Not (DataSourceScheme IsPresent)) 81 THEN 82 ReasonCode TranslateTo Code 83 END 84 END 85 NODE (Proprietary) 86 DataSourceScheme TranslateTo Proprietary 87 NODE (Identification) 88 IF (DataSourceScheme IsPresent) 89 THEN 90 ReasonCode CopyTo Proprietary\Identification 91 END 92 END 93 END 94 END 95 END |
protected void |
translateTTR9(String targetElement,
String content)
Translate method TTR9
96 TRANSLATE(OptionalCode_4!c_386, RejectionReason22Code) 97 RULE 98 'SAFE' EquivalentTo 'SAFE' 99 'REFE' EquivalentTo 'REFE' 100 'DDAT' EquivalentTo 'DDAT' 101 'CAEV' EquivalentTo 'CAEV' 102 'NARR' EquivalentTo 'OTHR' 103 END 104 END |
public MT548_MxSemt01400201_Translation()
public final MxSemt01400201 translate(MT548 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT548 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MT548 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MT548 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, 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 translateTTR6(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 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, 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 translateTTR9(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 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, 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 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, 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 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, 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 translateTTR18(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 translateTTR19(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 translateTTR20(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 translateTTR21(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 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, 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 translateTTR24(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 translateTTR25(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 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, 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 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, 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 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, 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 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 addedpublic final Boolean logicalMessageCriteriaCheck(MT548 source)
source
- a well formed MT548 objectpublic final void preconditionSR1Check(MT548 source) throws TranslationPreconditionException
source
- a well formed MT548 objectTranslationPreconditionException
public final void preconditionSR2Check(MT548 source) throws TranslationPreconditionException
source
- a well formed MT548 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MT548 source)