public class MxSeev04000202_MT565_Translation extends
Modifier | Constructor and Description |
---|---|
|
MxSeev04000202_MT565_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MxSeev04000202_MT565_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(MxSeev04000202 source)
Message criteria check
This method checks the content of the source MxSeev04000202 and determines if it can be translated to the target MT565 |
List<PreconditionError> |
preconditionsCheck(MxSeev04000202 source)
Precondition check
This method checks the precondition on the content of the source MxSeev04000202 return a list with a precondition errors for each failed check, or an empty list if all preconditions are satisfied |
MT565 |
translate(MxSeev04000202 source)
Main entry point for the translation
|
protected void |
translateAnyBICIdentifier_Identifier_BICFIOrNonFI_Default(String targetElement,
XmlNode node)
Translate method AnyBICIdentifier -> Identifier_BICFIOrNonFI : Default
261 TRANSLATE(AnyBICIdentifier, Identifier_BICFIOrNonFI) 262 RULE 263 AnyBICIdentifier CopyTo Identifier_BICFIOrNonFI 264 END 265 END |
protected void |
translateBICFIIdentifier_Identifier_BICFIOrNonFI_Default(String targetElement,
XmlNode node)
Translate method BICFIIdentifier -> Identifier_BICFIOrNonFI : Default
466 TRANSLATE(BICFIIdentifier, Identifier_BICFIOrNonFI) 467 RULE 468 BICFIIdentifier CopyTo Identifier_BICFIOrNonFI 469 END 470 END |
protected void |
translateCopyDuplicate1Code_Code_4c_171_Default(String targetElement,
XmlNode node)
Translate method CopyDuplicate1Code -> Code_4!c_171 : Default
11 TRANSLATE(CopyDuplicate1Code, Code_4!c_171) 12 RULE 13 'CODU' EquivalentTo 'CODU' 14 'COPY' EquivalentTo 'COPY' 15 'DUPL' EquivalentTo 'DUPL' 16 END 17 END |
protected void |
translateCorporateActionEventType4Choice_22F_240_Default(String targetElement,
XmlNode node)
Translate method CorporateActionEventType4Choice -> 22F_240 : Default
18 TRANSLATE(CorporateActionEventType4Choice, 22F_240) 19 RULE 20 NODE (Data Source Scheme) 21 Proprietary TranslateTo Data Source Scheme 22 END 23 NODE (Indicator) 24 Code TranslateTo Indicator 25 (Proprietary\Identification ToUppercase) CopyTo Indicator 26 END 27 END 28 END |
protected void |
translateCorporateActionEventType6Code_OptionalCode_4c_408_Default(String targetElement,
XmlNode node)
Translate method CorporateActionEventType6Code -> OptionalCode_4!c_408 : Default
34 TRANSLATE(CorporateActionEventType6Code, OptionalCode_4!c_408) 35 RULE 36 'ACTV' EquivalentTo 'ACTV' 37 'ATTI' EquivalentTo 'ATTI' 38 'BIDS' EquivalentTo 'BIDS' 39 'BONU' EquivalentTo 'BONU' 40 'BPUT' EquivalentTo 'BPUT' 41 'BRUP' EquivalentTo 'BRUP' 42 'CAPG' EquivalentTo 'CAPG' 43 'CAPI' EquivalentTo 'CAPI' 44 'CERT' EquivalentTo 'CERT' 45 'CHAN' EquivalentTo 'CHAN' 46 'CLSA' EquivalentTo 'CLSA' 47 'CONS' EquivalentTo 'CONS' 48 'CONV' EquivalentTo 'CONV' 49 'COOP' EquivalentTo 'COOP' 50 'DECR' EquivalentTo 'DECR' 51 'DETI' EquivalentTo 'DETI' 52 'DFLT' EquivalentTo 'DFLT' 53 'DLST' EquivalentTo 'DLST' 54 'DRAW' EquivalentTo 'DRAW' 55 'DRIP' EquivalentTo 'DRIP' 56 'DSCL' EquivalentTo 'DSCL' 57 'DTCH' EquivalentTo 'DTCH' 58 'DVCA' EquivalentTo 'DVCA' 59 'DVOP' EquivalentTo 'DVOP' 60 'DVSC' EquivalentTo 'DVSC' 61 'DVSE' EquivalentTo 'DVSE' 62 'EXOF' EquivalentTo 'EXOF' 63 'EXRI' EquivalentTo 'EXRI' 64 'EXTM' EquivalentTo 'EXTM' 65 'EXWA' EquivalentTo 'EXWA' 66 'CAPD' EquivalentTo 'CAPD' 67 'INCR' EquivalentTo 'INCR' 68 'INTR' EquivalentTo 'INTR' 69 'LIQU' EquivalentTo 'LIQU' 70 'MCAL' EquivalentTo 'MCAL' 71 'MRGR' EquivalentTo 'MRGR' 72 'ODLT' EquivalentTo 'ODLT' 73 'OTHR' EquivalentTo 'OTHR' 74 'PARI' EquivalentTo 'PARI' 75 'PCAL' EquivalentTo 'PCAL' 76 'PDEF' EquivalentTo 'PDEF' 77 'PINK' EquivalentTo 'PINK' 78 'PLAC' EquivalentTo 'PLAC' 79 'PPMT' EquivalentTo 'PPMT' 80 'PRED' EquivalentTo 'PRED' 81 'PRII' EquivalentTo 'PRII' 82 'PRIO' EquivalentTo 'PRIO' 83 'REDM' EquivalentTo 'REDM' 84 'REDO' EquivalentTo 'REDO' 85 'REMK' EquivalentTo 'REMK' 86 'RHDI' EquivalentTo 'RHDI' 87 'RHTS' EquivalentTo 'RHTS' 88 'SHPR' EquivalentTo 'SHPR' 89 'SMAL' EquivalentTo 'SMAL' 90 'SOFF' EquivalentTo 'SOFF' 91 'SPLF' EquivalentTo 'SPLF' 92 'SPLR' EquivalentTo 'SPLR' 93 'SUSP' EquivalentTo 'SUSP' 94 'TEND' EquivalentTo 'TEND' 95 'TREC' EquivalentTo 'TREC' 96 'WRTH' EquivalentTo 'WRTH' 97 'WTRC' EquivalentTo 'WTRC' 98 'CREV' EquivalentTo 'CREV' 99 END 100 END |
protected void |
translateCorporateActionOption4Code_OptionalCode_4c_310_Default(String targetElement,
XmlNode node)
Translate method CorporateActionOption4Code -> OptionalCode_4!c_310 : Default
361 TRANSLATE(CorporateActionOption4Code, OptionalCode_4!c_310) 362 RULE 363 'ABST' EquivalentTo 'ABST' 364 'AMGT' EquivalentTo 'AMGT' 365 'BSPL' EquivalentTo 'BSPL' 366 'BUYA' EquivalentTo 'BUYA' 367 'CASE' EquivalentTo 'CASE' 368 'CASH' EquivalentTo 'CASH' 369 'CERT' EquivalentTo 'CERT' 370 'CEXC' EquivalentTo 'CEXC' 371 'CONN' EquivalentTo 'CONN' 372 'CONY' EquivalentTo 'CONY' 373 'CTEN' EquivalentTo 'CTEN' 374 'EXER' EquivalentTo 'EXER' 375 'LAPS' EquivalentTo 'LAPS' 376 'MKDW' EquivalentTo 'MKDW' 377 'MKUP' EquivalentTo 'MKUP' 378 'MNGT' EquivalentTo 'MNGT' 379 'MPUT' EquivalentTo 'MPUT' 380 'NOAC' EquivalentTo 'NOAC' 381 'NOQU' EquivalentTo 'NOQU' 382 'OFFR' EquivalentTo 'OFFR' 383 'OTHR' EquivalentTo 'OTHR' 384 'OVER' EquivalentTo 'OVER' 385 'PROX' EquivalentTo 'PROX' 386 'QINV' EquivalentTo 'QINV' 387 'SECU' EquivalentTo 'SECU' 388 'SLLE' EquivalentTo 'SLLE' 389 'SPLI' EquivalentTo 'SPLI' 390 'TAXI' EquivalentTo 'TAXI' 391 END 392 END |
protected void |
translateCorporateActionOption6Choice_22F_188_Default(String targetElement,
XmlNode node)
Translate method CorporateActionOption6Choice -> 22F_188 : Default
350 TRANSLATE(CorporateActionOption6Choice, 22F_188) 351 RULE 352 NODE (Data Source Scheme) 353 Proprietary TranslateTo Data Source Scheme 354 END 355 NODE (Indicator) 356 Code TranslateTo Indicator 357 (Proprietary\Identification ToUppercase) CopyTo Indicator 358 END 359 END 360 END |
protected void |
translateGenericIdentification24_95R_1_Default(String targetElement,
XmlNode node)
Translate method GenericIdentification24 -> 95R_1 : Default
271 TRANSLATE(GenericIdentification24, 95R_1) 272 RULE 273 NODE (Data Source Scheme) 274 GenericIdentification24 TranslateTo Data Source Scheme 275 END 276 NODE (Proprietary Code) 277 Identification CopyTo Proprietary Code 278 END 279 END 280 END |
protected void |
translateGenericIdentification24_Identifier_FIN_8c_Default(String targetElement,
XmlNode node)
Translate method GenericIdentification24 -> Identifier_FIN_8c : Default
281 TRANSLATE(GenericIdentification24, Identifier_FIN_8c) 282 RULE 283 (Issuer Concatenate SchemeName) CopyTo Identifier_FIN_8c 284 END 285 END |
protected void |
translateGenericIdentification25_Identifier_FIN_8c_Default(String targetElement,
XmlNode node)
Translate method GenericIdentification25 -> Identifier_FIN_8c : Default
29 TRANSLATE(GenericIdentification25, Identifier_FIN_8c) 30 RULE 31 ((Issuer Concatenate SchemeName) ToUppercase) CopyTo Identifier_FIN_8c 32 END 33 END |
protected void |
translateImpl(MxSeev04000202 source)
Translation rules implementation
|
protected void |
translateISINIdentifier_Identifier_Isin_Default(String targetElement,
XmlNode node)
Translate method ISINIdentifier -> Identifier_Isin : Default
130 TRANSLATE(ISINIdentifier, Identifier_Isin) 131 RULE 132 ('ISIN ' Concatenate ISINIdentifier) CopyTo Identifier_Isin 133 END 134 END |
protected void |
translateISONormalisedDateTime_98C_Default(String targetElement,
XmlNode node)
Translate method ISONormalisedDateTime -> 98C : Default
101 TRANSLATE(ISONormalisedDateTime, 98C) 102 RULE 103 NODE (Date) 104 (ISONormalisedDateTime FormatDateTime ('MX_DateTime', 'MT_YYYYMMDD')) CopyTo Date 105 END 106 NODE (Time) 107 (ISONormalisedDateTime FormatDateTime ('MX_DateTime', 'MT_HHMMSS')) CopyTo Time 108 END 109 END 110 END |
protected void |
translateMax35Text_20C_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> 20C : Default
1 TRANSLATE(Max35Text, 20C) 2 RULE 3 NODE (Reference) 4 IF ((Max35Text Length) LessThanOrEqualTo '16') 5 THEN 6 Max35Text CopyTo Reference 7 END 8 END 9 END 10 END |
protected void |
translateOptionNumber1Choice_Identifier_FIN_3Ec_Default(String targetElement,
XmlNode node)
Translate method OptionNumber1Choice -> Identifier_FIN_3Ec : Default
339 TRANSLATE(OptionNumber1Choice, Identifier_FIN_3Ec) 340 RULE 341 Number CopyTo Identifier_FIN_3Ec 342 Code TranslateTo Identifier_FIN_3Ec 343 END 344 END |
protected void |
translateOptionNumber1Code_Identifier_FIN_3Ec_Default(String targetElement,
XmlNode node)
Translate method OptionNumber1Code -> Identifier_FIN_3Ec : Default
345 TRANSLATE(OptionNumber1Code, Identifier_FIN_3Ec) 346 RULE 347 'UNSO' EquivalentTo 'UNS' 348 END 349 END |
protected void |
translateParty9Choice_95P_4_Default(String targetElement,
XmlNode node)
Translate method Party9Choice -> 95P_4 : Default
458 TRANSLATE(Party9Choice, 95P_4) 459 RULE 460 NODE (Identifier Code) 461 OrganisationIdentification\Identification\OrganisationIdentification\AnyBIC TranslateTo Identifier Code 462 FinancialInstitutionIdentification\FinancialInstitutionIdentification\BICFI TranslateTo Identifier Code 463 END 464 END 465 END |
protected void |
translateParty9Choice_95Q_Default(String targetElement,
XmlNode node)
Translate method Party9Choice -> 95Q : Default
471 TRANSLATE(Party9Choice, 95Q) 472 RULE 473 NODE (Name and Address) 474 NODE (Line) 475 (((((((((((((OrganisationIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate OrganisationIdentification\PostalAddress\Department) Concatenate OrganisationIdentification\PostalAddress\SubDepartment) Concatenate OrganisationIdentification\PostalAddress\StreetName) Concatenate OrganisationIdentification\PostalAddress\BuildingNumber) Concatenate OrganisationIdentification\PostalAddress\PostCode) Concatenate OrganisationIdentification\PostalAddress\TownName) Concatenate OrganisationIdentification\PostalAddress\CountrySubDivision) Concatenate OrganisationIdentification\PostalAddress\Country) Concatenate OrganisationIdentification\PostalAddress\AddressLine[*]) Substring ('1', '35')) TrimRight '/') TrimLeft '/') CopyTo Name and Address\Line[1] 476 (((((((((((((FinancialInstitutionIdentification\FinancialInstitutionIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Department) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\SubDepartment) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\StreetName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\BuildingNumber) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\PostCode) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\TownName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\CountrySubDivision) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Country) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\AddressLine[*]) Substring ('1', '35')) TrimLeft '/') TrimRight '/') CopyTo Name and Address\Line[1] 477 END 478 NODE (Line) 479 (((((((((((((OrganisationIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate OrganisationIdentification\PostalAddress\Department) Concatenate OrganisationIdentification\PostalAddress\SubDepartment) Concatenate OrganisationIdentification\PostalAddress\StreetName) Concatenate OrganisationIdentification\PostalAddress\BuildingNumber) Concatenate OrganisationIdentification\PostalAddress\PostCode) Concatenate OrganisationIdentification\PostalAddress\TownName) Concatenate OrganisationIdentification\PostalAddress\CountrySubDivision) Concatenate OrganisationIdentification\PostalAddress\Country) Concatenate OrganisationIdentification\PostalAddress\AddressLine[*]) Substring ('36', '35')) TrimLeft '/') TrimRight '/') CopyTo Name and Address\Line[2] 480 (((((((((((((FinancialInstitutionIdentification\FinancialInstitutionIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Department) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\SubDepartment) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\StreetName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\BuildingNumber) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\PostCode) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\TownName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\CountrySubDivision) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Country) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\AddressLine[*]) Substring ('36', '35')) TrimLeft '/') TrimRight '/') CopyTo Name and Address\Line[2] 481 END 482 NODE (Line) 483 (((((((((((((OrganisationIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate OrganisationIdentification\PostalAddress\Department) Concatenate OrganisationIdentification\PostalAddress\SubDepartment) Concatenate OrganisationIdentification\PostalAddress\StreetName) Concatenate OrganisationIdentification\PostalAddress\BuildingNumber) Concatenate OrganisationIdentification\PostalAddress\PostCode) Concatenate OrganisationIdentification\PostalAddress\TownName) Concatenate OrganisationIdentification\PostalAddress\CountrySubDivision) Concatenate OrganisationIdentification\PostalAddress\Country) Concatenate OrganisationIdentification\PostalAddress\AddressLine[*]) Substring ('71', '35')) TrimLeft '/') TrimRight '/') CopyTo Name and Address\Line[3] 484 (((((((((((((FinancialInstitutionIdentification\FinancialInstitutionIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Department) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\SubDepartment) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\StreetName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\BuildingNumber) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\PostCode) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\TownName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\CountrySubDivision) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Country) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\AddressLine[*]) Substring ('71', '35')) TrimLeft '/') TrimRight '/') CopyTo Name and Address\Line[3] 485 END 486 NODE (Line) 487 (((((((((((((OrganisationIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate OrganisationIdentification\PostalAddress\Department) Concatenate OrganisationIdentification\PostalAddress\SubDepartment) Concatenate OrganisationIdentification\PostalAddress\StreetName) Concatenate OrganisationIdentification\PostalAddress\BuildingNumber) Concatenate OrganisationIdentification\PostalAddress\PostCode) Concatenate OrganisationIdentification\PostalAddress\TownName) Concatenate OrganisationIdentification\PostalAddress\CountrySubDivision) Concatenate OrganisationIdentification\PostalAddress\Country) Concatenate OrganisationIdentification\PostalAddress\AddressLine[*]) Substring ('106', '35')) TrimLeft '/') TrimRight '/') CopyTo Name and Address\Line[4] 488 (((((((((((((FinancialInstitutionIdentification\FinancialInstitutionIdentification\Name Concatenate OrganisationIdentification\PostalAddress\AddressType) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Department) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\SubDepartment) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\StreetName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\BuildingNumber) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\PostCode) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\TownName) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\CountrySubDivision) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\Country) Concatenate FinancialInstitutionIdentification\FinancialInstitutionIdentification\PostalAddress\AddressLine[*]) Substring ('106', '35')) TrimLeft '/') TrimRight '/') CopyTo Name and Address\Line[4] 489 END 490 END 491 END 492 END |
protected void |
translateParty9Choice_95R_1_Default(String targetElement,
XmlNode node)
Translate method Party9Choice -> 95R_1 : Default
493 TRANSLATE(Party9Choice, 95R_1) 494 RULE 495 NODE (Data Source Scheme) 496 ((((FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\Issuer Substring ('1', '4')) Concatenate (FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\SchemeName\Code Substring ('1', '4'))) Concatenate (FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\SchemeName\Proprietary Substring ('1', '4'))) ToUppercase) CopyTo Data Source Scheme 497 ((((OrganisationIdentification\Identification\OrganisationIdentification\Other[1]\Issuer Substring ('1', '4')) Concatenate (OrganisationIdentification\Identification\OrganisationIdentification\Other[1]\SchemeName\Code Substring ('1', '4'))) Concatenate (OrganisationIdentification\Identification\OrganisationIdentification\Other[1]\SchemeName\Proprietary Substring ('1', '4'))) ToUppercase) CopyTo Data Source Scheme 498 END 499 NODE (Proprietary Code) 500 (FinancialInstitutionIdentification\FinancialInstitutionIdentification\Other\Identification ToUppercase) CopyTo Proprietary Code 501 (OrganisationIdentification\Identification\OrganisationIdentification\Other[1]\Identification ToUppercase) CopyTo Proprietary Code 502 END 503 END 504 END |
protected void |
translatePartyIdentification51Choice_95P_4_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification51Choice -> 95P_4 : Default
254 TRANSLATE(PartyIdentification51Choice, 95P_4) 255 RULE 256 NODE (Identifier Code) 257 AnyBIC TranslateTo Identifier Code 258 END 259 END 260 END |
protected void |
translatePartyIdentification51Choice_95R_1_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification51Choice -> 95R_1 : Default
266 TRANSLATE(PartyIdentification51Choice, 95R_1) 267 RULE 268 ProprietaryIdentification TranslateTo 95R_1 269 END 270 END |
protected void |
translateProcessingPosition3Choice_22F_2_Default(String targetElement,
XmlNode node)
Translate method ProcessingPosition3Choice -> 22F_2 : Default
111 TRANSLATE(ProcessingPosition3Choice, 22F_2) 112 RULE 113 NODE (Data Source Scheme) 114 Proprietary TranslateTo Data Source Scheme 115 END 116 NODE (Indicator) 117 Code TranslateTo Indicator 118 (Proprietary\Identification ToUppercase) CopyTo Indicator 119 END 120 END 121 END |
protected void |
translateProcessingPosition3Code_OptionalCode_4c_3_Default(String targetElement,
XmlNode node)
Translate method ProcessingPosition3Code -> OptionalCode_4!c_3 : Default
122 TRANSLATE(ProcessingPosition3Code, OptionalCode_4!c_3) 123 RULE 124 'AFTE' EquivalentTo 'AFTE' 125 'WITH' EquivalentTo 'WITH' 126 'BEFO' EquivalentTo 'BEFO' 127 'INFO' EquivalentTo 'INFO' 128 END 129 END |
protected void |
translateQuantity1Code_Code_4c_118_Default(String targetElement,
XmlNode node)
Translate method Quantity1Code -> Code_4!c_118 : Default
433 TRANSLATE(Quantity1Code, Code_4!c_118) 434 RULE 435 'QALL' EquivalentTo 'QALL' 436 END 437 END |
protected void |
translateRestrictedFINDecimalNumber_36B_FinancialInstrumentQuantity1ChoiceTo36B(String targetElement,
XmlNode node)
Translate method RestrictedFINDecimalNumber -> 36B : FinancialInstrumentQuantity1ChoiceTo36B
413 TRANSLATE(RestrictedFINDecimalNumber, 36B) 414 RULE 415 NODE (Quantity Type Code) 416 'UNIT' CopyTo Quantity Type Code 417 END 418 NODE (Quantity) 419 IF ((RestrictedFINDecimalNumber IsPresent) And ((RestrictedFINDecimalNumber Substring ('1', '1')) IsSameString '-')) 420 THEN 421 ((RestrictedFINDecimalNumber Substring '2') FormatDecimal 'MT') CopyTo Quantity 422 ELSE 423 IF ((RestrictedFINDecimalNumber Substring ('1', '1')) IsSameString '+') 424 THEN 425 ((RestrictedFINDecimalNumber Substring '2') FormatDecimal 'MT') CopyTo Quantity 426 ELSE 427 (RestrictedFINDecimalNumber FormatDecimal 'MT') CopyTo Quantity 428 END 429 END 430 END 431 END 432 END |
protected void |
translateRestrictedFINImpliedCurrencyAndAmount_36B_AMOR(String targetElement,
XmlNode node)
Translate method RestrictedFINImpliedCurrencyAndAmount -> 36B : AMOR
438 TRANSLATE(RestrictedFINImpliedCurrencyAndAmount, 36B) 439 RULE 440 NODE (Quantity Type Code) 441 'AMOR' CopyTo Quantity Type Code 442 END 443 NODE (Quantity) 444 IF ((RestrictedFINImpliedCurrencyAndAmount IsPresent) And ((RestrictedFINImpliedCurrencyAndAmount Substring ('1', '1')) IsSameString '-')) 445 THEN 446 ((RestrictedFINImpliedCurrencyAndAmount Substring '2') FormatDecimal 'MT') CopyTo Quantity 447 ELSE 448 IF ((RestrictedFINImpliedCurrencyAndAmount Substring ('1', '1')) IsSameString '+') 449 THEN 450 ((RestrictedFINImpliedCurrencyAndAmount Substring '2') FormatDecimal 'MT') CopyTo Quantity 451 ELSE 452 (RestrictedFINImpliedCurrencyAndAmount FormatDecimal 'MT') CopyTo Quantity 453 END 454 END 455 END 456 END 457 END |
protected void |
translateRestrictedFINImpliedCurrencyAndAmount_36B_FAMT(String targetElement,
XmlNode node)
Translate method RestrictedFINImpliedCurrencyAndAmount -> 36B : FAMT
393 TRANSLATE(RestrictedFINImpliedCurrencyAndAmount, 36B) 394 RULE 395 NODE (Quantity Type Code) 396 'FAMT' CopyTo Quantity Type Code 397 END 398 NODE (Quantity) 399 IF ((RestrictedFINImpliedCurrencyAndAmount IsPresent) And ((RestrictedFINImpliedCurrencyAndAmount Substring ('1', '1')) IsSameString '-')) 400 THEN 401 ((RestrictedFINImpliedCurrencyAndAmount Substring '2') FormatDecimal 'MT') CopyTo Quantity 402 ELSE 403 IF ((RestrictedFINImpliedCurrencyAndAmount Substring ('1', '1')) IsSameString '+') 404 THEN 405 ((RestrictedFINImpliedCurrencyAndAmount Substring '2') FormatDecimal 'MT') CopyTo Quantity 406 ELSE 407 (RestrictedFINImpliedCurrencyAndAmount FormatDecimal 'MT') CopyTo Quantity 408 END 409 END 410 END 411 END 412 END |
protected void |
translateRestrictedFINXMax35Text_97A_Default(String targetElement,
XmlNode node)
Translate method RestrictedFINXMax35Text -> 97A : Default
286 TRANSLATE(RestrictedFINXMax35Text, 97A) 287 RULE 288 NODE (Account Number) 289 RestrictedFINXMax35Text CopyTo Account Number 290 END 291 END 292 END |
protected void |
translateSafekeepingPlace1Code_Code_4c_5_Default(String targetElement,
XmlNode node)
Translate method SafekeepingPlace1Code -> Code_4!c_5 : Default
331 TRANSLATE(SafekeepingPlace1Code, Code_4!c_5) 332 RULE 333 'CUST' EquivalentTo 'CUST' 334 'ICSD' EquivalentTo 'ICSD' 335 'NCSD' EquivalentTo 'NCSD' 336 'SHHE' EquivalentTo 'SHHE' 337 END 338 END |
protected void |
translateSafekeepingPlace2Code_OptionalCode_4c_248_Default(String targetElement,
XmlNode node)
Translate method SafekeepingPlace2Code -> OptionalCode_4!c_248 : Default
308 TRANSLATE(SafekeepingPlace2Code, OptionalCode_4!c_248) 309 RULE 310 'SHHE' EquivalentTo 'SHHE' 311 'ALLP' EquivalentTo 'ALLP' 312 END 313 END |
protected void |
translateSafekeepingPlaceFormat5Choice_94B_6_Default(String targetElement,
XmlNode node)
Translate method SafekeepingPlaceFormat5Choice -> 94B_6 : Default
293 TRANSLATE(SafekeepingPlaceFormat5Choice, 94B_6) 294 RULE 295 NODE (Data Source Scheme) 296 Proprietary\Type TranslateTo Data Source Scheme 297 END 298 NODE (Place Code) 299 Identification\SafekeepingPlaceType TranslateTo Place Code 300 (Proprietary\Type\Identification ToUppercase) CopyTo Place Code 301 END 302 NODE (Narrative) 303 Identification\Identification CopyTo Narrative 304 (Proprietary\Identification ToUppercase) CopyTo Narrative 305 END 306 END 307 END |
protected void |
translateSafekeepingPlaceFormat5Choice_94C_Default(String targetElement,
XmlNode node)
Translate method SafekeepingPlaceFormat5Choice -> 94C : Default
314 TRANSLATE(SafekeepingPlaceFormat5Choice, 94C) 315 RULE 316 NODE (Country Code) 317 Country CopyTo Country Code 318 END 319 END 320 END |
protected void |
translateSafekeepingPlaceFormat5Choice_94F_Default(String targetElement,
XmlNode node)
Translate method SafekeepingPlaceFormat5Choice -> 94F : Default
321 TRANSLATE(SafekeepingPlaceFormat5Choice, 94F) 322 RULE 323 NODE (Place Code) 324 TypeAndIdentification\SafekeepingPlaceType TranslateTo Place Code 325 END 326 NODE (Identifier Code) 327 TypeAndIdentification\Identification CopyTo Identifier Code 328 END 329 END 330 END |
protected void |
translateSecurityIdentification15_35B_Default(String targetElement,
XmlNode node)
Translate method SecurityIdentification15 -> 35B : Default
135 TRANSLATE(SecurityIdentification15, 35B) 136 RULE 137 NODE (Description of Security) 138 NODE (Line) 139 IF (OtherIdentification[*]\Type\Code IsSameString 'BELC') 140 THEN 141 ('/BE/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 142 END 143 IF (OtherIdentification[*]\Type\Code IsSameString 'BLOM') 144 THEN 145 ('/BLOM/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 146 END 147 IF (OtherIdentification[*]\Type\Code IsSameString 'CMED') 148 THEN 149 ('/CMED/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 150 END 151 IF (OtherIdentification[*]\Type\Code IsSameString 'COMM') 152 THEN 153 ('/XS/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 154 END 155 IF (OtherIdentification[*]\Type\Code IsSameString 'CTAC') 156 THEN 157 ('/CTAC/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 158 END 159 IF (OtherIdentification[*]\Type\Code IsSameString 'CUSP') 160 THEN 161 ('/US/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 162 END 163 IF (OtherIdentification[*]\Type\Code IsSameString 'ISDU') 164 THEN 165 ('/ISDU/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 166 END 167 IF (OtherIdentification[*]\Type\Code IsSameString 'ISDX') 168 THEN 169 ('/ISDX/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 170 END 171 IF (OtherIdentification[*]\Type\Code IsSameString 'LCHD') 172 THEN 173 ('/LCHD/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 174 END 175 IF (OtherIdentification[*]\Type\Code IsSameString 'OCCS') 176 THEN 177 ('/OCCS/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 178 END 179 IF (OtherIdentification[*]\Type\Code IsSameString 'OPRA') 180 THEN 181 ('/OPRA/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 182 END 183 IF (OtherIdentification[*]\Type\Code IsSameString 'RCMD') 184 THEN 185 ('/RCMD/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 186 END 187 IF (OtherIdentification[*]\Type\Code IsSameString 'RICC') 188 THEN 189 ('/RICC/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 190 END 191 IF (OtherIdentification[*]\Type\Code IsSameString 'SEDL') 192 THEN 193 ('/GB/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 194 END 195 IF (OtherIdentification[*]\Type\Code IsSameString 'SICC') 196 THEN 197 ('/JP/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 198 END 199 IF (OtherIdentification[*]\Type\Code IsSameString 'TIKR') 200 THEN 201 ('/TS/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 202 END 203 IF (OtherIdentification[*]\Type\Code IsSameString 'VALO') 204 THEN 205 ('/CH/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 206 END 207 IF (OtherIdentification[*]\Type\Code IsSameString 'WKNR') 208 THEN 209 ('/DE/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 210 END 211 FOREACH OtherIdentification[*] 212 DO 213 IF (((Type\Code Substring ('1', '2')) IsCountry) And ((Type\Code Substring ('3', '2')) IsSameString 'CD')) 214 THEN 215 (('/' Concatenate ((Type\Code Substring ('1', '2')) Concatenate '/')) Concatenate Identification) CopyTo Description of Security\Line[1] 216 END 217 END 218 IF (OtherIdentification[*]\Type\Proprietary IsSameString 'XX') 219 THEN 220 ('/XX/' Concatenate OtherIdentification[*]\Identification) CopyTo Description of Security\Line[1] 221 END 222 IF (Not (OtherIdentification[*] IsPresent)) 223 THEN 224 (Description Substring ('1', '35')) CopyTo Description of Security\Line[1] 225 END 226 END 227 NODE (Line) 228 IF (OtherIdentification[*] IsPresent) 229 THEN 230 (Description Substring ('1', '35')) CopyTo Description of Security\Line[2] 231 ELSE 232 (Description Substring ('36', '35')) CopyTo Description of Security\Line[2] 233 END 234 END 235 NODE (Line) 236 IF (OtherIdentification[*] IsPresent) 237 THEN 238 (Description Substring ('36', '35')) CopyTo Description of Security\Line[3] 239 ELSE 240 (Description Substring ('71', '35')) CopyTo Description of Security\Line[3] 241 END 242 END 243 NODE (Line) 244 IF (OtherIdentification[*] IsPresent) 245 THEN 246 (Description Substring ('71', '35')) CopyTo Description of Security\Line[4] 247 ELSE 248 (Description Substring ('106', '35')) CopyTo Description of Security\Line[4] 249 END 250 END 251 END 252 END 253 END |
public MxSeev04000202_MT565_Translation()
public final MT565 translate(MxSeev04000202 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxSeev04000202 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MxSeev04000202 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxSeev04000202 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translateMax35Text_20C_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCopyDuplicate1Code_Code_4c_171_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCorporateActionEventType4Choice_22F_240_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateGenericIdentification25_Identifier_FIN_8c_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCorporateActionEventType6Code_OptionalCode_4c_408_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateISONormalisedDateTime_98C_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateProcessingPosition3Choice_22F_2_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateProcessingPosition3Code_OptionalCode_4c_3_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateISINIdentifier_Identifier_Isin_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateSecurityIdentification15_35B_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification51Choice_95P_4_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateAnyBICIdentifier_Identifier_BICFIOrNonFI_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translatePartyIdentification51Choice_95R_1_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateGenericIdentification24_95R_1_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateGenericIdentification24_Identifier_FIN_8c_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateRestrictedFINXMax35Text_97A_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateSafekeepingPlaceFormat5Choice_94B_6_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateSafekeepingPlace2Code_OptionalCode_4c_248_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateSafekeepingPlaceFormat5Choice_94C_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateSafekeepingPlaceFormat5Choice_94F_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateSafekeepingPlace1Code_Code_4c_5_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateOptionNumber1Choice_Identifier_FIN_3Ec_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateOptionNumber1Code_Identifier_FIN_3Ec_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCorporateActionOption6Choice_22F_188_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateCorporateActionOption4Code_OptionalCode_4c_310_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateRestrictedFINImpliedCurrencyAndAmount_36B_FAMT(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateRestrictedFINDecimalNumber_36B_FinancialInstrumentQuantity1ChoiceTo36B(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateQuantity1Code_Code_4c_118_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateRestrictedFINImpliedCurrencyAndAmount_36B_AMOR(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateParty9Choice_95P_4_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateBICFIIdentifier_Identifier_BICFIOrNonFI_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateParty9Choice_95Q_Default(String targetElement, XmlNode node)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateParty9Choice_95R_1_Default(String targetElement, XmlNode node)
source
- 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(MxSeev04000202 source)
source
- a well formed MxSeev04000202 objectpublic final List<PreconditionError> preconditionsCheck(MxSeev04000202 source)