public class MxSetr00400201_MT502_Translation extends
Modifier | Constructor and Description |
---|---|
|
MxSetr00400201_MT502_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MxSetr00400201_MT502_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(MxSetr00400201 source)
Message criteria check
This method checks the content of the source MxSetr00400201 and determines if it can be translated to the target MT502 |
List<PreconditionError> |
preconditionsCheck(MxSetr00400201 source)
Precondition check
This method checks the precondition on the content of the source MxSetr00400201 |
void |
preconditionSR10Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR10 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount Select (..\Type IsSameString 'DISC')) Count) GreaterThan '1') THEN Fail ('05308', 'Amount and DISC must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount) END |
void |
preconditionSR11Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR11 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount Select (..\Type IsSameString 'CHAR')) Count) GreaterThan '1') THEN Fail ('05308', 'Amount and CHAR must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type) END |
void |
preconditionSR12Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR12 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate Select (..\Type IsSameString 'CHAR')) IsPresent) THEN Fail ('05306', 'If Rate is present, CHAR must not be present.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate) END |
void |
preconditionSR13Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR13 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate Select (..\Type IsSameString 'BEND')) Count) GreaterThan '1') THEN Fail ('05307', 'Rate and BEND must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate) END |
void |
preconditionSR14Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR14 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate Select (..\Type IsSameString 'UCIC')) Count) GreaterThan '1') THEN Fail ('05307', 'Rate and UCIC must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate) END |
void |
preconditionSR15Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR15 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate Select (..\Type IsSameString 'FEND')) Count) GreaterThan '1') THEN Fail ('05307', 'Rate and FEND must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate) END |
void |
preconditionSR16Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR16 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate Select (..\Type IsSameString 'DISC')) Count) GreaterThan '1') THEN Fail ('05307', 'Rate and DISC must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Rate, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type) END |
void |
preconditionSR17Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR17 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type ContainsString 'BEND') And (MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type ContainsString 'UCIC')) THEN Fail ('05310', 'Either Type BEND or Type UCIC may be present but not both.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type) END |
void |
preconditionSR18Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR18 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\Role Count (. |
void |
preconditionSR19Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR19 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\Role ContainsString 'DIST') And (Not (MultipleOrderDetails\PlaceOfTrade\Country IsSameString 'FR'))) THEN Fail ('05303', 'If Place Of Trade \ Country \ FR is not present, DIST must not be present.', MultipleOrderDetails\PlaceOfTrade\Country, MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\Role) END |
void |
preconditionSR1Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR1 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\ExtendedRole Count (. |
void |
preconditionSR20Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR20 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\SettlementAndCustodyDetails\DeliveringSideDetails\DeliverersIntermediaryDetails IsPresent) And (Not (MultipleOrderDetails\IndividualOrderDetails\SettlementAndCustodyDetails\DeliveringSideDetails\DeliverersCustodianDetails IsPresent))) THEN Fail ('05322', 'If Deliverers Intermediary Details is present, Deliverers Custodian Details must be present.', MultipleOrderDetails\IndividualOrderDetails\SettlementAndCustodyDetails\DeliveringSideDetails\DeliverersCustodianDetails, MultipleOrderDetails\IndividualOrderDetails\SettlementAndCustodyDetails\DeliveringSideDetails\DeliverersIntermediaryDetails) END |
void |
preconditionSR21Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR21 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\PhysicalDeliveryIndicator IsSameBoolean 'true') THEN Fail ('05323', 'Physical Delivery Indicator must be false.', MultipleOrderDetails\IndividualOrderDetails\PhysicalDeliveryIndicator) END |
void |
preconditionSR22Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR22 on the content of the source MxSetr00400201 FOREACH MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*] DO IF (ExtendedRole IsPresent) THEN IF (Not ((ExtendedRole IsSameString 'INST') Or (ExtendedRole IsSameString 'INT2'))) THEN Fail ('05328', 'Either INST (instructing party) or INT2 (second intermediary) must be present.', ExtendedRole) END END END |
void |
preconditionSR23Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR23 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\ExtendedRole ContainsString 'INST') THEN IF (MultipleOrderDetails\PlaceOfTrade\Country IsSameString 'FR') THEN Fail ('05304', 'If Place Of Trade \ Country \ FR is present, INST must not be present.', MultipleOrderDetails\PlaceOfTrade\Country, MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\ExtendedRole) END END |
void |
preconditionSR24Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR24 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\PlaceOfTrade\Country IsSameString 'FR') THEN IF (Not ((MultipleOrderDetails\InvestmentAccountDetails\OwnerIdentification IsPresent) And ((MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\Identification Select (..\Role IsSameString 'DIST')) IsPresent))) THEN Fail ('05302', 'As Place of Trade \ County is FR, Owner Identification and DIST must be present.', MultipleOrderDetails\PlaceOfTrade\Country, MultipleOrderDetails\InvestmentAccountDetails\OwnerIdentification, MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\Role) END END |
void |
preconditionSR25Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR25 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\CashSettlementDetails\PaymentInstrument\CreditTransferDetails\DebtorAgentAccount IsPresent) THEN IF (Not (MultipleOrderDetails\IndividualOrderDetails\CashSettlementDetails\PaymentInstrument\CreditTransferDetails\DebtorAgent IsPresent)) THEN Fail ('05324', 'Debtor Agent must be present as Debtor Agent Account is present.', MultipleOrderDetails\IndividualOrderDetails\CashSettlementDetails\PaymentInstrument\CreditTransferDetails\DebtorAgent, MultipleOrderDetails\IndividualOrderDetails\CashSettlementDetails\PaymentInstrument\CreditTransferDetails\DebtorAgentAccount) END END |
void |
preconditionSR26Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR26 on the content of the source MxSetr00400201 IF (((PreviousReference\MessageName Substring ('1', '1')) IsSameString '/') Or (((PreviousReference\MessageName Find '//') GreaterThan '0') Or ((PreviousReference\MessageName Substring (PreviousReference\MessageName Length)) IsSameString '/'))) THEN Fail ('05300', 'Message Name must not start or end with a slash / or contain two consecutive slashes // or the target MT will have a syntax error.', PreviousReference\MessageName) END |
void |
preconditionSR27Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR27 on the content of the source MxSetr00400201 FOREACH Extension[*] DO IF (PlaceAndName IsSameString 'ORDRDET\98C NAVD') THEN IF (Not ((((Text Substring ('9', '6')) IsDateTime 'MT_HHMMSS') And ((Text Substring ('1', '8')) IsDateTime 'MT_YYYYMMDD')) And ((Text Length) IsSameNumber '14'))) THEN Fail ('05332', 'If Place And Name equals "ORDRDET\98C NAVD", Text must be in the format YYYYMMDDHHMMSS and be fourteen digits.', PlaceAndName, Text) END END END |
void |
preconditionSR28Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR28 on the content of the source MxSetr00400201 IF ((Extension[*]\PlaceAndName Count (. |
void |
preconditionSR29Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR29 on the content of the source MxSetr00400201 IF ((Extension[*]\PlaceAndName Count (. |
void |
preconditionSR2Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR2 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\Role Count (. |
void |
preconditionSR30Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR30 on the content of the source MxSetr00400201 IF (Extension[*]\PlaceAndName ContainsString 'ORDRDET\98A NAVD') THEN IF (Extension[*]\PlaceAndName ContainsString 'ORDRDET\98C NAVD') THEN Fail ('05333', 'Place And Name with ORDRDET\98A NAVD and ORDRDET\98C NAVD must not both be present.', Extension[*]\PlaceAndName) END END |
void |
preconditionSR31Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR31 on the content of the source MxSetr00400201 IF (CopyDetails\CopyIndicator IsSameBoolean 'false') THEN Fail ('05336', 'Copy Indicator must not be false.', CopyDetails\CopyIndicator) END |
void |
preconditionSR32Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR32 on the content of the source MxSetr00400201 FOREACH Extension[*] DO IF (PlaceAndName IsSameString 'ORDRDET\98A NAVD') THEN IF (Not (((Text Substring ('1', '8')) IsDateTime 'MT_YYYYMMDD') And ((Text Length) IsSameNumber '8'))) THEN Fail ('05330', 'If Place And Name equals "ORDRDET\98A NAVD", Text must be a date in the format YYYYMMDD.', PlaceAndName, Text) END END END |
void |
preconditionSR33Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR33 on the content of the source MxSetr00400201 IF (Extension[*]\PlaceAndName ContainsString 'SETDET\22F STCO\DSS') THEN IF (Not ((Extension[*]\Text Select (..\PlaceAndName IsSameString 'SETDET\22F STCO\DSS')) Matches '[A-Z0-9]{1,8}/[A-Z0-9]{4}')) THEN Fail ('05335', 'If Place And Name equals SETDET\22F STCO\DSS, Text must be formatted as 8c/4!c.', Extension[*]\PlaceAndName, Extension[*]\Text) END END |
void |
preconditionSR34Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR34 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Amount IsPresent) THEN IF (MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Currency IsActiveCurrency) THEN IF (Not (MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Amount ValidFractionalPartForCurrency MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Currency)) THEN Fail ('05141', 'Too many decimal digits for the currency.', MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Amount, MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Currency) END END END |
void |
preconditionSR35Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR35 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\NetAmount\Amount IsPresent) THEN IF (MultipleOrderDetails\IndividualOrderDetails\NetAmount\Currency IsActiveCurrency) THEN IF (Not (MultipleOrderDetails\IndividualOrderDetails\NetAmount\Amount ValidFractionalPartForCurrency MultipleOrderDetails\IndividualOrderDetails\NetAmount\Currency)) THEN Fail ('05141', 'Too many decimal digits for the currency.', MultipleOrderDetails\IndividualOrderDetails\NetAmount\Amount, MultipleOrderDetails\IndividualOrderDetails\NetAmount\Currency) END END END |
void |
preconditionSR36Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR36 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\NetAmount\Currency IsPresent) THEN IF (Not (MultipleOrderDetails\IndividualOrderDetails\NetAmount\Currency IsActiveCurrency)) THEN Fail ('05130', 'Currency must be an active currency as the target MT requires an active currency.', MultipleOrderDetails\IndividualOrderDetails\NetAmount\Currency) END END |
void |
preconditionSR37Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR37 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Currency IsPresent) THEN IF (Not (MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Currency IsActiveCurrency)) THEN Fail ('05130', 'Currency must be an active currency as the target MT requires an active currency.', MultipleOrderDetails\IndividualOrderDetails\GrossAmount\Currency) END END |
void |
preconditionSR3Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR3 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\ExtendedRole Count (. |
void |
preconditionSR4Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR4 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\UnitsNumber\Unit IsPresent) And ((MultipleOrderDetails\IndividualOrderDetails\UnitsNumber\Unit Substring ('1', '1')) IsSameString '-')) THEN Fail ('05305', 'Negative number is not allowed.', MultipleOrderDetails\IndividualOrderDetails[*]\UnitsNumber\Unit) END |
void |
preconditionSR5Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR5 on the content of the source MxSetr00400201 IF (MultipleOrderDetails\IndividualOrderDetails\SettlementAndCustodyDetails\SettlementPlace\ProprietaryIdentification IsPresent) THEN Fail ('05320', 'Settlement Place must not be identified with the proprietary format as 95a PSET does not have format R.', MultipleOrderDetails\IndividualOrderDetails[*]\SettlementAndCustodyDetails\SettlementPlace\ProprietaryIdentification) END |
void |
preconditionSR6Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR6 on the content of the source MxSetr00400201 IF ((MultipleOrderDetails\IndividualOrderDetails\RelatedPartyDetails[*]\Role Count (. |
void |
preconditionSR7Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR7 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount Select (..\Type IsSameString 'FEND')) Count) GreaterThan '1') THEN Fail ('05308', 'Amount and FEND must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount) END |
void |
preconditionSR8Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR8 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount Select (..\Type IsSameString 'UCIC')) Count) GreaterThan '1') THEN Fail ('05308', 'Amount and UCIC must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount) END |
void |
preconditionSR9Check(MxSetr00400201 source)
Precondition check
This method checks the precondition SR9 on the content of the source MxSetr00400201 IF (((MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount Select (..\Type IsSameString 'BEND')) Count) GreaterThan '1') THEN Fail ('05308', 'Amount and BEND must not be present more than once.', MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Type, MultipleOrderDetails\IndividualOrderDetails\ChargeDetails[*]\Amount) END |
MT502 |
translate(MxSetr00400201 source)
Main entry point for the translation
|
protected void |
translateAccountIdentification1_95Q_Default(String targetElement,
XmlNode node)
Translate method AccountIdentification1 -> 95Q : Default
237 TRANSLATE(AccountIdentification1, 95Q) 238 RULE 239 NODE (Name and Address) 240 NODE (Line) 241 Proprietary\Identification CopyTo Name and Address\Line[1] 242 END 243 END 244 END 245 END |
protected void |
translateAccountIdentification1_97A_Default4(String targetElement,
XmlNode node)
Translate method AccountIdentification1 -> 97A : Default4
230 TRANSLATE(AccountIdentification1, 97A) 231 RULE 232 NODE (Account Number) 233 Proprietary\Identification CopyTo Account Number 234 END 235 END 236 END |
protected void |
translateAccountIdentification1_Identifier_FIN_35x_Default(String targetElement,
XmlNode node)
Translate method AccountIdentification1 -> Identifier_FIN_35x : Default
297 TRANSLATE(AccountIdentification1, Identifier_FIN_35x) 298 RULE 299 Proprietary\Identification CopyTo Identifier_FIN_35x 300 END 301 END |
protected void |
translateActiveCurrencyCode_Currency_Default(String targetElement,
XmlNode node)
Translate method ActiveCurrencyCode -> Currency : Default
108 TRANSLATE(ActiveCurrencyCode, Currency) 109 RULE 110 ActiveCurrencyCode CopyTo Currency 111 END 112 END |
protected void |
translateActiveOrHistoricCurrencyCode_Currency_Default(String targetElement,
XmlNode node)
Translate method ActiveOrHistoricCurrencyCode -> Currency : Default
269 TRANSLATE(ActiveOrHistoricCurrencyCode, Currency) 270 RULE 271 ActiveOrHistoricCurrencyCode CopyTo Currency 272 END 273 END |
protected void |
translateBICIdentifier_95P_13_Default(String targetElement,
XmlNode node)
Translate method BICIdentifier -> 95P_13 : Default
302 TRANSLATE(BICIdentifier, 95P_13) 303 RULE 304 NODE (Identifier Code) 305 BICIdentifier CopyTo Identifier Code 306 END 307 END 308 END |
protected void |
translateCountryCode_Text_FIN_30x_Default(String targetElement,
XmlNode node)
Translate method CountryCode -> Text_FIN_30x : Default
86 TRANSLATE(CountryCode, Text_FIN_30x) 87 RULE 88 CountryCode CopyTo Text_FIN_30x 89 END 90 END |
protected void |
translateImpl(MxSetr00400201 source)
Translation rules implementation
|
protected void |
translateISODate_98A_Default(String targetElement,
XmlNode node)
Translate method ISODate -> 98A : Default
96 TRANSLATE(ISODate, 98A) 97 RULE 98 NODE (Date) 99 ISODate TranslateTo Date 100 END 101 END 102 END |
protected void |
translateISODate_DateTime_YYYYMMDD_Default(String targetElement,
XmlNode node)
Translate method ISODate -> DateTime_YYYYMMDD : Default
103 TRANSLATE(ISODate, DateTime_YYYYMMDD) 104 RULE 105 (ISODate FormatDateTime ('MX_Date', 'MT_YYYYMMDD')) CopyTo DateTime_YYYYMMDD 106 END 107 END |
protected void |
translateISODateTime_98C_Default(String targetElement,
XmlNode node)
Translate method ISODateTime -> 98C : Default
1 TRANSLATE(ISODateTime, 98C) 2 RULE 3 NODE (Date) 4 IF (Not ((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*Z?') Or (((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z') Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*[+-][0-9]{2}:[0-9]{2}')))) 5 THEN 6 ISODateTime TranslateTo Date 7 END 8 END 9 NODE (Time) 10 IF (Not ((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*Z?') Or (((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z') Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*[+-][0-9]{2}:[0-9]{2}')))) 11 THEN 12 ISODateTime TranslateTo Time 13 END 14 END 15 END 16 END |
protected void |
translateISODateTime_98E_1_Default(String targetElement,
XmlNode node)
Translate method ISODateTime -> 98E_1 : Default
27 TRANSLATE(ISODateTime, 98E_1) 28 RULE 29 NODE (Date) 30 IF ((((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*Z?') Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*[+-][0-9]{2}:[0-9]{2}')) 31 THEN 32 ISODateTime TranslateTo Date 33 END 34 END 35 NODE (Time) 36 IF ((((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*Z?') Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*[+-][0-9]{2}:[0-9]{2}')) 37 THEN 38 ISODateTime TranslateTo Time 39 END 40 END 41 NODE (Decimals) 42 IF ((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*Z?') Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*[+-][0-9]{2}:[0-9]{2}')) 43 THEN 44 ISODateTime TranslateTo Decimals 45 END 46 END 47 NODE (UTC Indicator) 48 IF ((((ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*Z?') Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}[+-][0-9]{2}:[0-9]{2}')) Or (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*[+-][0-9]{2}:[0-9]{2}')) 49 THEN 50 ISODateTime TranslateTo UTC Indicator 51 END 52 END 53 END 54 END |
protected void |
translateISODateTime_DateTime_HHMMSS_Default(String targetElement,
XmlNode node)
Translate method ISODateTime -> DateTime_HHMMSS : Default
22 TRANSLATE(ISODateTime, DateTime_HHMMSS) 23 RULE 24 (ISODateTime FormatDateTime ('MX_DateTime', 'MT_HHMMSS')) CopyTo DateTime_HHMMSS 25 END 26 END |
protected void |
translateISODateTime_DateTime_UTCIndicator_1_Default(String targetElement,
XmlNode node)
Translate method ISODateTime -> DateTime_UTCIndicator_1 : Default
71 TRANSLATE(ISODateTime, DateTime_UTCIndicator_1) 72 RULE 73 IF (ISODateTime Matches '.*-00:00') 74 THEN 75 '0000' CopyTo DateTime_UTCIndicator_1 76 ELSE 77 (ISODateTime FormatDateTime ('MX_DateTime', 'MT_UTCIndicator')) CopyTo DateTime_UTCIndicator_1 78 END 79 END 80 END |
protected void |
translateISODateTime_DateTime_YYYYMMDD_Default(String targetElement,
XmlNode node)
Translate method ISODateTime -> DateTime_YYYYMMDD : Default
17 TRANSLATE(ISODateTime, DateTime_YYYYMMDD) 18 RULE 19 (ISODateTime FormatDateTime ('MX_DateTime', 'MT_YYYYMMDD')) CopyTo DateTime_YYYYMMDD 20 END 21 END |
protected void |
translateISODateTime_Quantity_FIN_3n_Default(String targetElement,
XmlNode node)
Translate method ISODateTime -> Quantity_FIN_3n : Default
55 TRANSLATE(ISODateTime, Quantity_FIN_3n) 56 RULE 57 IF (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*') 58 THEN 59 (ISODateTime Substring (((ISODateTime Find '.') Add '1'), '3')) CopyTo Quantity_FIN_3n 60 END 61 IF (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*[+-][0-9]{2}:[0-9]{2}') 62 THEN 63 (((ISODateTime Substring '1') ExtractPattern ('\.', '[+-]')) Substring ('2', '3')) CopyTo Quantity_FIN_3n 64 END 65 IF (ISODateTime Matches '[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]*Z') 66 THEN 67 (((ISODateTime Substring '1') ExtractPattern ('\.', 'Z')) Substring ('2', '3')) CopyTo Quantity_FIN_3n 68 END 69 END 70 END |
protected void |
translateMax105Text_Text_FIN_4M35x_Default(String targetElement,
XmlNode node)
Translate method Max105Text -> Text_FIN_4M35x : Default
256 TRANSLATE(Max105Text, Text_FIN_4M35x) 257 RULE 258 NODE (Line) 259 (Max105Text Substring ('1', '35')) CopyTo Line[1] 260 END 261 NODE (Line) 262 (Max105Text Substring ('36', '35')) CopyTo Line[2] 263 END 264 NODE (Line) 265 (Max105Text Substring ('71', '35')) CopyTo Line[3] 266 END 267 END 268 END |
protected void |
translateMax35Text_Identifier_FIN_35x_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> Identifier_FIN_35x : Default
329 TRANSLATE(Max35Text, Identifier_FIN_35x) 330 RULE 331 Max35Text CopyTo Identifier_FIN_35x 332 END 333 END |
protected void |
translateMICIdentifier_Text_FIN_30x_Default(String targetElement,
XmlNode node)
Translate method MICIdentifier -> Text_FIN_30x : Default
91 TRANSLATE(MICIdentifier, Text_FIN_30x) 92 RULE 93 MICIdentifier CopyTo Text_FIN_30x 94 END 95 END |
protected void |
translateNameAndAddress11_95Q_Default(String targetElement,
XmlNode node)
Translate method NameAndAddress11 -> 95Q : Default
309 TRANSLATE(NameAndAddress11, 95Q) 310 RULE 311 NODE (Name and Address) 312 IF (NameAndAddress11 IsPresent) 313 THEN 314 NameAndAddress11 TranslateTo Name and Address 315 END 316 END 317 END 318 END |
protected void |
translateNameAndAddress11_Text_FIN_4M35x_Funds_NameAndAddress_To_MT_95Q(String targetElement,
XmlNode node)
Translate method NameAndAddress11 -> Text_FIN_4M35x : Funds NameAndAddress To MT 95Q
133 TRANSLATE(NameAndAddress11, Text_FIN_4M35x) 134 RULE 135 NODE (Line) 136 Name CopyTo Line[1] 137 END 138 NODE (Line) 139 IF (Not (Address\AddressLine[*] IsPresent)) 140 THEN 141 IF ((Address\PostCode IsPresent) And (Address\TownName IsPresent)) 142 THEN 143 ((((Address\Country Concatenate '/') Concatenate Address\PostCode) Concatenate '/') Concatenate Address\TownName) CopyTo Line[2] 144 ELSE 145 IF (Address\PostCode IsPresent) 146 THEN 147 ((Address\Country Concatenate '/') Concatenate Address\PostCode) CopyTo Line[2] 148 END 149 IF (Address\TownName IsPresent) 150 THEN 151 ((Address\Country Concatenate '/') Concatenate Address\TownName) CopyTo Line[2] 152 END 153 IF ((Not (Address\PostCode IsPresent)) And (Not (Address\TownName IsPresent))) 154 THEN 155 Address\Country CopyTo Line[2] 156 END 157 END 158 END 159 IF (Address\AddressLine[1] IsPresent) 160 THEN 161 Address\AddressLine[1] CopyTo Line[2] 162 END 163 END 164 NODE (Line) 165 IF ((Not (Address\AddressLine[2] IsPresent)) And (Address\AddressLine[1] IsPresent)) 166 THEN 167 IF ((Address\PostCode IsPresent) And (Address\TownName IsPresent)) 168 THEN 169 ((((Address\Country Concatenate '/') Concatenate Address\PostCode) Concatenate '/') Concatenate Address\TownName) CopyTo Line[3] 170 ELSE 171 IF (Address\PostCode IsPresent) 172 THEN 173 ((Address\Country Concatenate '/') Concatenate Address\PostCode) CopyTo Line[3] 174 END 175 IF (Address\TownName IsPresent) 176 THEN 177 ((Address\Country Concatenate '/') Concatenate Address\TownName) CopyTo Line[3] 178 END 179 IF ((Not (Address\PostCode IsPresent)) And (Not (Address\TownName IsPresent))) 180 THEN 181 Address\Country CopyTo Line[3] 182 END 183 END 184 END 185 IF (Address\AddressLine[1] IsPresent) 186 THEN 187 Address\AddressLine[2] CopyTo Line[3] 188 END 189 END 190 NODE (Line) 191 IF ((Address\AddressLine[1] IsPresent) And (Address\AddressLine[2] IsPresent)) 192 THEN 193 IF ((Address\PostCode IsPresent) And (Address\TownName IsPresent)) 194 THEN 195 ((((Address\Country Concatenate '/') Concatenate Address\PostCode) Concatenate '/') Concatenate Address\TownName) CopyTo Line[4] 196 ELSE 197 IF (Address\PostCode IsPresent) 198 THEN 199 ((Address\Country Concatenate '/') Concatenate Address\PostCode) CopyTo Line[4] 200 END 201 IF (Address\TownName IsPresent) 202 THEN 203 ((Address\Country Concatenate '/') Concatenate Address\TownName) CopyTo Line[4] 204 END 205 IF ((Not (Address\PostCode IsPresent)) And (Not (Address\TownName IsPresent))) 206 THEN 207 Address\Country CopyTo Line[4] 208 END 209 END 210 END 211 END 212 END 213 END |
protected void |
translatePartyIdentification26Choice_95P_12_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification26Choice -> 95P_12 : Default
113 TRANSLATE(PartyIdentification26Choice, 95P_12) 114 RULE 115 NODE (Identifier Code) 116 IF (BICOrBEI IsPresent) 117 THEN 118 BICOrBEI CopyTo Identifier Code 119 END 120 END 121 END 122 END |
protected void |
translatePartyIdentification26Choice_95Q_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification26Choice -> 95Q : Default
123 TRANSLATE(PartyIdentification26Choice, 95Q) 124 RULE 125 NODE (Name and Address) 126 IF (NameAndAddress IsPresent) 127 THEN 128 NameAndAddress TranslateTo Name and Address 129 END 130 END 131 END 132 END |
protected void |
translatePartyIdentification26Choice_95R_3_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification26Choice -> 95R_3 : Default
281 TRANSLATE(PartyIdentification26Choice, 95R_3) 282 RULE 283 NODE (Data Source Scheme) 284 ((ProprietaryIdentification\Issuer ToUppercase) Substring ('1', '8')) CopyTo Data Source Scheme 285 END 286 NODE (Proprietary Code) 287 IF (ProprietaryIdentification\Identification IsPresent) 288 THEN 289 IF ((ProprietaryIdentification\Identification Length) LessThanOrEqualTo '34') 290 THEN 291 (ProprietaryIdentification\Identification Substring ('1', '34')) CopyTo Proprietary Code 292 END 293 END 294 END 295 END 296 END |
protected void |
translatePartyIdentification26Choice_95R_4_Default(String targetElement,
XmlNode node)
Translate method PartyIdentification26Choice -> 95R_4 : Default
214 TRANSLATE(PartyIdentification26Choice, 95R_4) 215 RULE 216 NODE (Data Source Scheme) 217 ((ProprietaryIdentification\Issuer ToUppercase) Substring ('1', '8')) CopyTo Data Source Scheme 218 END 219 NODE (Proprietary Code) 220 IF (ProprietaryIdentification\Identification IsPresent) 221 THEN 222 IF ((ProprietaryIdentification\Identification Length) LessThanOrEqualTo '34') 223 THEN 224 (ProprietaryIdentification\Identification Substring ('1', '34')) CopyTo Proprietary Code 225 END 226 END 227 END 228 END 229 END |
protected void |
translatePercentageRate_Text_FIN_10M35x_Type_Translation_Rule1(String targetElement,
XmlNode node)
Translate method PercentageRate -> Text_FIN_10M35x : Type Translation Rule1
274 TRANSLATE(PercentageRate, Text_FIN_10M35x) 275 RULE 276 NODE (Line) 277 ('ISDI/PRCT/' Concatenate (PercentageRate FormatDecimal 'MT')) CopyTo Line[1] 278 END 279 END 280 END |
protected void |
translateRestrictedFINActiveCurrencyAnd13DecimalAmount_19A_Default(String targetElement,
XmlNode node)
Translate method RestrictedFINActiveCurrencyAnd13DecimalAmount -> 19A : Default
334 TRANSLATE(RestrictedFINActiveCurrencyAnd13DecimalAmount, 19A) 335 RULE 336 NODE (Currency Code) 337 IF (((Amount FormatDecimal 'MT') Length) LessThanOrEqualTo '15') 338 THEN 339 Currency CopyTo Currency Code 340 END 341 END 342 NODE (Amount) 343 IF (((Amount FormatDecimal 'MT') Length) LessThanOrEqualTo '15') 344 THEN 345 Amount TranslateTo Amount 346 END 347 END 348 END 349 END |
protected void |
translateRestrictedFINActiveCurrencyAnd13DecimalAmountAmount_Amount_FIN_15d_Default(String targetElement,
XmlNode node)
Translate method RestrictedFINActiveCurrencyAnd13DecimalAmount\Amount -> Amount_FIN_15d : Default
350 TRANSLATE(RestrictedFINActiveCurrencyAnd13DecimalAmount\Amount, Amount_FIN_15d) 351 RULE 352 (RestrictedFINActiveCurrencyAnd13DecimalAmount\Amount FormatDecimal 'MT') CopyTo Amount_FIN_15d 353 END 354 END |
protected void |
translateRestrictedFINActiveOrHistoricCurrencyAndAmount_19A_Default(String targetElement,
XmlNode node)
Translate method RestrictedFINActiveOrHistoricCurrencyAndAmount -> 19A : Default
246 TRANSLATE(RestrictedFINActiveOrHistoricCurrencyAndAmount, 19A) 247 RULE 248 NODE (Currency Code) 249 Currency CopyTo Currency Code 250 END 251 NODE (Amount) 252 (Amount FormatDecimal 'MT') CopyTo Amount 253 END 254 END 255 END |
protected void |
translateRestrictedFINMax16Text_Text_FIN_16x_Default(String targetElement,
XmlNode node)
Translate method RestrictedFINMax16Text -> Text_FIN_16x : Default
81 TRANSLATE(RestrictedFINMax16Text, Text_FIN_16x) 82 RULE 83 RestrictedFINMax16Text CopyTo Text_FIN_16x 84 END 85 END |
protected void |
translateSimpleIdentificationInformation3_95R_4_Default(String targetElement,
XmlNode node)
Translate method SimpleIdentificationInformation3 -> 95R_4 : Default
319 TRANSLATE(SimpleIdentificationInformation3, 95R_4) 320 RULE 321 NODE (Data Source Scheme) 322 'STRS' CopyTo Data Source Scheme 323 END 324 NODE (Proprietary Code) 325 Identification CopyTo Proprietary Code 326 END 327 END 328 END |
public MxSetr00400201_MT502_Translation()
public final MT502 translate(MxSetr00400201 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxSetr00400201 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MxSetr00400201 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxSetr00400201 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translateISODateTime_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 translateISODateTime_DateTime_YYYYMMDD_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 translateISODateTime_DateTime_HHMMSS_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 translateISODateTime_98E_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 translateISODateTime_Quantity_FIN_3n_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 translateISODateTime_DateTime_UTCIndicator_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 translateRestrictedFINMax16Text_Text_FIN_16x_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 translateCountryCode_Text_FIN_30x_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 translateMICIdentifier_Text_FIN_30x_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 translateISODate_98A_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 translateISODate_DateTime_YYYYMMDD_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 translateActiveCurrencyCode_Currency_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 translatePartyIdentification26Choice_95P_12_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 translatePartyIdentification26Choice_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 translateNameAndAddress11_Text_FIN_4M35x_Funds_NameAndAddress_To_MT_95Q(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 translatePartyIdentification26Choice_95R_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 translateAccountIdentification1_97A_Default4(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 translateAccountIdentification1_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 translateRestrictedFINActiveOrHistoricCurrencyAndAmount_19A_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 translateMax105Text_Text_FIN_4M35x_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 translateActiveOrHistoricCurrencyCode_Currency_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 translatePercentageRate_Text_FIN_10M35x_Type_Translation_Rule1(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 translatePartyIdentification26Choice_95R_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 translateAccountIdentification1_Identifier_FIN_35x_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 translateBICIdentifier_95P_13_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 translateNameAndAddress11_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 translateSimpleIdentificationInformation3_95R_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 translateMax35Text_Identifier_FIN_35x_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 translateRestrictedFINActiveCurrencyAnd13DecimalAmount_19A_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 translateRestrictedFINActiveCurrencyAnd13DecimalAmountAmount_Amount_FIN_15d_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(MxSetr00400201 source)
source
- a well formed MxSetr00400201 objectpublic final void preconditionSR1Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR2Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR3Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR4Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR5Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR6Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR7Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR8Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR9Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR10Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR11Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR12Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR13Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR14Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR15Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR16Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR17Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR18Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR19Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR20Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR21Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR22Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR23Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR24Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR25Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR26Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR27Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR28Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR29Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR30Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR31Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR32Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR33Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR34Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR35Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR36Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final void preconditionSR37Check(MxSetr00400201 source) throws TranslationPreconditionException
source
- a well formed MxSetr00400201 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MxSetr00400201 source)
preconditionSR1Check(MxSetr00400201)
,
preconditionSR2Check(MxSetr00400201)
,
preconditionSR3Check(MxSetr00400201)
,
preconditionSR4Check(MxSetr00400201)
,
preconditionSR5Check(MxSetr00400201)
,
preconditionSR6Check(MxSetr00400201)
,
preconditionSR7Check(MxSetr00400201)
,
preconditionSR8Check(MxSetr00400201)
,
preconditionSR9Check(MxSetr00400201)
,
preconditionSR10Check(MxSetr00400201)
,
preconditionSR11Check(MxSetr00400201)
,
preconditionSR12Check(MxSetr00400201)
,
preconditionSR13Check(MxSetr00400201)
,
preconditionSR14Check(MxSetr00400201)
,
preconditionSR15Check(MxSetr00400201)
,
preconditionSR16Check(MxSetr00400201)
,
preconditionSR17Check(MxSetr00400201)
,
preconditionSR18Check(MxSetr00400201)
,
preconditionSR19Check(MxSetr00400201)
,
preconditionSR20Check(MxSetr00400201)
,
preconditionSR21Check(MxSetr00400201)
,
preconditionSR22Check(MxSetr00400201)
,
preconditionSR23Check(MxSetr00400201)
,
preconditionSR24Check(MxSetr00400201)
,
preconditionSR25Check(MxSetr00400201)
,
preconditionSR26Check(MxSetr00400201)
,
preconditionSR27Check(MxSetr00400201)
,
preconditionSR28Check(MxSetr00400201)
,
preconditionSR29Check(MxSetr00400201)
,
preconditionSR30Check(MxSetr00400201)
,
preconditionSR31Check(MxSetr00400201)
,
preconditionSR32Check(MxSetr00400201)
,
preconditionSR33Check(MxSetr00400201)
,
preconditionSR34Check(MxSetr00400201)
,
preconditionSR35Check(MxSetr00400201)
,
preconditionSR36Check(MxSetr00400201)
,
return a list with a precondition errors for each failed check, or an empty list if all preconditions are satisfied