public class MxPacs00900102_MT202_Translation extends
Modifier | Constructor and Description |
---|---|
|
MxPacs00900102_MT202_Translation()
Creates the translation class initializing it with the proper MX identification.
|
protected |
MxPacs00900102_MT202_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(MxPacs00900102 source)
Message criteria check
This method checks the content of the source MxPacs00900102 and determines if it can be translated to the target MT202 SELECT CRITERIA MustBe (Not (CreditTransferTransactionInformation[*]\UnderlyingCustomerCreditTransfer IsPresent)) END |
List<PreconditionError> |
preconditionsCheck(MxPacs00900102 source)
Precondition check
This method checks the precondition on the content of the source MxPacs00900102 |
void |
preconditionSR10Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR10 on the content of the source MxPacs00900102 IF (GroupHeader\SettlementInformation\ThirdReimbursementAgent IsPresent) THEN Fail ('01031', 'GroupHeader/SettlementInformation/ThirdReimbursementAgent is not allowed.', GroupHeader\SettlementInformation\ThirdReimbursementAgent) END |
void |
preconditionSR11Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR11 on the content of the source MxPacs00900102 IF (((CreditTransferTransactionInformation[1]\InterbankSettlementAmount\Amount FormatDecimal 'MT') Length) GreaterThan '15') THEN Fail ('01029', 'CreditTransferTransactionInformation/InterbankSettlementAmount must not contain more than 14 significant digits.', CreditTransferTransactionInformation[1]\InterbankSettlementAmount\Amount) END |
void |
preconditionSR12Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR12 on the content of the source MxPacs00900102 IF ((Not (CreditTransferTransactionInformation[1]\SettlementTimeRequest\CLSTime Matches '[0-9]{2}:[0-9]{2}:[0-9]{2}(\.[0-9]*)?[+-][0-9]{2}:[0-9]{2}')) And (CreditTransferTransactionInformation[1]\SettlementTimeRequest\CLSTime IsPresent)) THEN Fail ('01021', 'If CreditTransferTransactionInformation/SettlementTimeRequest/CLSTime is present, then the offset against UGC must be present.', CreditTransferTransactionInformation[1]\SettlementTimeRequest\CLSTime) END |
void |
preconditionSR13Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR13 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\IntermediaryAgent2 IsPresent) THEN Fail ('01025', 'CreditTransferTransactionInformation/IntermediaryAgent2 is not allowed.', CreditTransferTransactionInformation[1]\IntermediaryAgent2) END |
void |
preconditionSR14Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR14 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\IntermediaryAgent3 IsPresent) THEN Fail ('01026', 'CreditTransferTransactionInformation/IntermediaryAgent3 is not allowed.', CreditTransferTransactionInformation[1]\IntermediaryAgent3) END |
void |
preconditionSR15Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR15 on the content of the source MxPacs00900102 IF (Not ((GroupHeader\NumberOfTransactions Substring '1') IsSameNumber '1')) THEN Fail ('01014', 'NumberOfTransactions must equal 1.', GroupHeader\NumberOfTransactions) END |
void |
preconditionSR16Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR16 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[*]\UnderlyingCustomerCreditTransfer\Debtor IsPresent) THEN IF (Not (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\Debtor\Identification\OrganisationIdentification\BICOrBEI IsPresent)) THEN IF (Not (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\Debtor\Name IsPresent)) THEN Fail ('01028', 'If CreditTransferTransactionInformation\UnderlyingCustomerCreditTransfer\Debtor does not contain BIC or BEI, then at a minimum it must contain a Name.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\Debtor\Name) END END END |
void |
preconditionSR17Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR17 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent2 IsPresent) THEN Fail ('01025', 'CreditTransferTransactionInformation/IntermediaryAgent2 is not allowed.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent2) END |
void |
preconditionSR18Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR18 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent3 IsPresent) THEN Fail ('01026', 'CreditTransferTransactionInformation/IntermediaryAgent3 is not allowed.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent3) END |
void |
preconditionSR19Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR19 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\Creditor IsPresent) THEN IF ((Not (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\Creditor\Identification\OrganisationIdentification\BICOrBEI IsPresent)) And (Not (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\Creditor\Name IsPresent))) THEN Fail ('01027', 'If CreditTransferTransactionInformation/UnderlyingCustomerCreditTransfer/Creditor does not contain a BIC or BEI, then at the minimum it must contain a Name.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\Creditor\Name) END END |
void |
preconditionSR1Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR1 on the content of the source MxPacs00900102 IF (Not ((GroupHeader\InstructingAgent IsPresent) Or (CreditTransferTransactionInformation[1]\InstructingAgent IsPresent))) THEN Fail ('01015', 'InstructingAgent must be present at either GroupHeader or CreditTransferTransactionInformation level.', GroupHeader\InstructingAgent, CreditTransferTransactionInformation[1]\InstructingAgent) END |
void |
preconditionSR20Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR20 on the content of the source MxPacs00900102 IF (((CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\InstructedAmount\Amount FormatDecimal 'MT') Length) GreaterThan '15') THEN Fail ('01029', 'CreditTransferTransactionInformation/InterbankSettlementAmount must not contain more than 14 significant digits.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\InstructedAmount\Amount) END |
void |
preconditionSR21Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR21 on the content of the source MxPacs00900102 IF (GroupHeader\InstructingAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC, GroupHeader\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Name, GroupHeader\InstructingAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR22Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR22 on the content of the source MxPacs00900102 IF (GroupHeader\InstructedAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC, GroupHeader\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Name, GroupHeader\InstructedAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR23Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR23 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification IsPresent) THEN IF ((((CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\BIC IsPresent) And (CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) And (CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\Name IsPresent)) And (CreditTransferTransactionInformation[*]\PreviousInstructingAgent\FinancialInstitutionIdentification\Other IsPresent)) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\PreviousInstructingAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR24Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR24 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR25Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR25 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR26Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR26 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\IntermediaryAgent1\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR27Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR27 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\DebtorAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR28Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR28 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\CreditorAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR29Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR29 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\DebtorAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR2Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR2 on the content of the source MxPacs00900102 IF ((GroupHeader\InstructingAgent IsPresent) And (Not (GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01017', 'If GroupHeader/InstructingAgent is present, then it must at the minimum contain a BIC.', GroupHeader\InstructingAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR30Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR30 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\PreviousInstructingAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR31Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR31 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\IntermediaryAgent1\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR32Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR32 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification IsPresent) THEN IF (Not ((((CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\BIC IsPresent) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\Name IsPresent)) Or (CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\Other IsPresent))) THEN Fail ('01055', 'The FinancialInstitutionIdentification must not be used with only the PostalAddress element.', CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\BIC, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\ClearingSystemMemberIdentification, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\Name, CreditTransferTransactionInformation[1]\UnderlyingCustomerCreditTransfer\CreditorAgent\FinancialInstitutionIdentification\Other) END END |
void |
preconditionSR3Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR3 on the content of the source MxPacs00900102 IF (Not ((GroupHeader\InstructedAgent IsPresent) Or (CreditTransferTransactionInformation[1]\InstructedAgent IsPresent))) THEN Fail ('01016', 'InstructedAgent must be present at either GroupHeader or CreditTransferTransactionInformation level.', GroupHeader\InstructedAgent, CreditTransferTransactionInformation[1]\InstructedAgent) END |
void |
preconditionSR4Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR4 on the content of the source MxPacs00900102 IF ((GroupHeader\InstructedAgent IsPresent) And (Not (GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01018', 'If GroupHeader/InstructedAgent is present, then it must at the minimum contain a BIC.', GroupHeader\InstructedAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR5Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR5 on the content of the source MxPacs00900102 IF ((CreditTransferTransactionInformation[1]\InstructingAgent IsPresent) And (Not (CreditTransferTransactionInformation[1]\InstructingAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01020', 'If CreditTransferTransactionInformation/InstructingAgent is present, then it must at the minimum be a BIC.', CreditTransferTransactionInformation[*]\InstructingAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR6Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR6 on the content of the source MxPacs00900102 IF ((CreditTransferTransactionInformation[1]\InstructedAgent IsPresent) And (Not (CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC IsPresent))) THEN Fail ('01019', 'If CreditTransferTransactionInformation/InstructedAgent is present, then it must at the minimum contain a BIC.', CreditTransferTransactionInformation[1]\InstructedAgent\FinancialInstitutionIdentification\BIC) END |
void |
preconditionSR7Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR7 on the content of the source MxPacs00900102 IF (((((GroupHeader\MessageIdentification Substring ('1', '1')) IsSameString '/') Or (((GroupHeader\MessageIdentification Substring ('1', '16')) Find '//') GreaterThan '0')) Or (((GroupHeader\MessageIdentification Substring ((GroupHeader\MessageIdentification Length), '1')) IsSameString '/') And ((GroupHeader\MessageIdentification Length) LessThanOrEqualTo '16'))) Or ((GroupHeader\MessageIdentification Substring ('16', '1')) IsSameString '/')) THEN Fail ('01012', 'If the length of GroupHeader/MessageIdentification is less than or equal to 16 characters, then it must not start or end with a slash '/' and must not contain a double slash '//'. |
void |
preconditionSR8Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR8 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification IsPresent) THEN IF (((((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ('1', '1')) IsSameString '/') Or (((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ('1', '16')) Find '//') GreaterThan '0')) Or (((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Length), '1')) IsSameString '/') And ((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Length) LessThanOrEqualTo '16'))) Or ((CreditTransferTransactionInformation[1]\PaymentIdentification\InstructionIdentification Substring ('16', '1')) IsSameString '/')) THEN Fail ('01013', 'If CreditTransferTransactionInformation/PaymentIdentification is present and the length is less than or equal to 16 characters, then it must not start or end with a slash '/' and must not contain a double slash '//'. |
void |
preconditionSR9Check(MxPacs00900102 source)
Precondition check
This method checks the precondition SR9 on the content of the source MxPacs00900102 IF (CreditTransferTransactionInformation[1]\PaymentIdentification\EndToEndIdentification IsPresent) THEN IF (((((CreditTransferTransactionInformation[1]\PaymentIdentification\EndToEndIdentification Substring ('1', '1')) IsSameString '/') Or (((CreditTransferTransactionInformation[1]\PaymentIdentification\EndToEndIdentification Substring ('1', '16')) Find '//') GreaterThan '0')) Or (((CreditTransferTransactionInformation[1]\PaymentIdentification\EndToEndIdentification Substring ((CreditTransferTransactionInformation[1]\PaymentIdentification\EndToEndIdentification Length), '1')) IsSameString '/') And ((CreditTransferTransactionInformation[1]\PaymentIdentification\EndToEndIdentification Length) LessThanOrEqualTo '16'))) Or ((CreditTransferTransactionInformation[1]\PaymentIdentification\EndToEndIdentification Substring ('16', '1')) IsSameString '/')) THEN Fail ('01030', 'If the length of CreditTransferTransactionInformation/PaymentIdentification/EndToEndIdentification is less than or equal to 16 characters, then it must not start or end with a slash '/' and must not contain a double slash '//'. |
MT202 |
translate(MxPacs00900102 source)
Main entry point for the translation
|
protected void |
translateActiveCurrencyAndAmount_32A_Default(String targetElement,
XmlNode node)
Translate method ActiveCurrencyAndAmount -> 32A : Default
68 TRANSLATE(ActiveCurrencyAndAmount, 32A) 69 RULE 70 NODE (Currency) 71 Currency CopyTo Currency 72 END 73 NODE (Amount) 74 (Amount FormatDecimal 'MT') CopyTo Amount 75 END 76 END 77 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Complex_Code_Narrative_5_BIC(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Complex_Code_Narrative_5 : BIC
554 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Complex_Code_Narrative_5) 555 RULE 556 NODE (Code) 557 IF (FinancialInstitutionIdentification\BIC IsPresent) 558 THEN 559 'INS' CopyTo Code 560 END 561 END 562 NODE (Narrative) 563 IF (FinancialInstitutionIdentification\BIC IsPresent) 564 THEN 565 FinancialInstitutionIdentification\BIC CopyTo Narrative 566 END 567 END 568 END 569 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Complex_Code_Narrative_5_Clearing(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Complex_Code_Narrative_5 : Clearing
570 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Complex_Code_Narrative_5) 571 RULE 572 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 573 THEN 574 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Complex_Code_Narrative_5 575 END 576 END 577 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Identifier_BICFI_BIC(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Identifier_BICFI : BIC
167 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Identifier_BICFI) 168 RULE 169 IF (FinancialInstitutionIdentification\BIC IsPresent) 170 THEN 171 FinancialInstitutionIdentification\BIC CopyTo Identifier_BICFI 172 END 173 END 174 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Default(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Default
175 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 176 RULE 177 NODE (Line) 178 IF ((FinancialInstitutionIdentification\Name IsPresent) And (FinancialInstitutionIdentification\PostalAddress IsPresent)) 179 THEN 180 (FinancialInstitutionIdentification\Name Substring ('1', '35')) CopyTo Line[1] 181 ELSE 182 IF (FinancialInstitutionIdentification\Name IsPresent) 183 THEN 184 (FinancialInstitutionIdentification\Name Substring ('1', '35')) CopyTo Line[1] 185 END 186 END 187 END 188 NODE (Line) 189 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 190 THEN 191 (FinancialInstitutionIdentification\Name Substring '36') CopyTo Line[2] 192 ELSE 193 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 194 THEN 195 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 196 THEN 197 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 198 ELSE 199 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 200 THEN 201 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 202 ELSE 203 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 204 THEN 205 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[2] 206 END 207 END 208 END 209 END 210 END 211 END 212 NODE (Line) 213 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 214 THEN 215 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 216 THEN 217 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 218 THEN 219 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 220 ELSE 221 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 222 THEN 223 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 224 ELSE 225 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 226 THEN 227 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 228 END 229 END 230 END 231 END 232 ELSE 233 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 234 THEN 235 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 236 THEN 237 IF (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') 238 THEN 239 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 240 ELSE 241 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 242 THEN 243 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 244 END 245 END 246 ELSE 247 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 248 THEN 249 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[3] 250 END 251 END 252 END 253 END 254 END 255 NODE (Line) 256 IF ((FinancialInstitutionIdentification\Name Length) GreaterThan '35') 257 THEN 258 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 259 THEN 260 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 261 THEN 262 IF (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') 263 THEN 264 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 265 ELSE 266 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 267 THEN 268 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 269 END 270 END 271 ELSE 272 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 273 THEN 274 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 275 END 276 END 277 END 278 ELSE 279 IF (FinancialInstitutionIdentification\PostalAddress IsPresent) 280 THEN 281 IF (FinancialInstitutionIdentification\PostalAddress\StreetName IsPresent) 282 THEN 283 IF ((((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) GreaterThan '35') And (((FinancialInstitutionIdentification\PostalAddress\StreetName Concatenate (' ', FinancialInstitutionIdentification\PostalAddress\BuildingNumber)) Length) LessThan '71')) 284 THEN 285 IF ((FinancialInstitutionIdentification\PostalAddress\Country IsPresent) Or (FinancialInstitutionIdentification\PostalAddress\TownName IsPresent)) 286 THEN 287 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 288 END 289 ELSE 290 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 291 END 292 ELSE 293 IF (FinancialInstitutionIdentification\PostalAddress\AddressLine[*] IsPresent) 294 THEN 295 FinancialInstitutionIdentification\PostalAddress TranslateTo Line[4] 296 END 297 END 298 END 299 END 300 END 301 END 302 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Only_ClrSysMmbId_or_ClrSysMmbId_and_PstlAdr(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Only ClrSysMmbId or ClrSysMmbId and PstlAdr
392 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 393 RULE 394 NODE (Line) 395 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 396 THEN 397 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code WithinList 'ClearingSystemList') 398 THEN 399 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) CopyTo Line[1] 400 FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification CopyTo Line[1] 401 ELSE 402 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) CopyTo Line[1] 403 END 404 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary IsPresent) 405 THEN 406 (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) CopyTo Line[1] 407 END 408 ELSE 409 FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification CopyTo Line[1] 410 END 411 END 412 END 413 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Othr_without_Name(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_FIN_4M35x : Othr without Name
414 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_FIN_4M35x) 415 RULE 416 NODE (Line) 417 IF (Not (FinancialInstitutionIdentification\Other\Issuer IsPresent)) 418 THEN 419 IF (FinancialInstitutionIdentification\Other\SchemeName\Code IsPresent) 420 THEN 421 ((FinancialInstitutionIdentification\Other\SchemeName\Code Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 422 ELSE 423 IF (FinancialInstitutionIdentification\Other\SchemeName\Proprietary IsPresent) 424 THEN 425 ((FinancialInstitutionIdentification\Other\SchemeName\Proprietary Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 426 ELSE 427 (FinancialInstitutionIdentification\Other\Identification Substring ('1', '35')) CopyTo Line[1] 428 END 429 END 430 ELSE 431 IF (FinancialInstitutionIdentification\Other\SchemeName\Code IsPresent) 432 THEN 433 ((FinancialInstitutionIdentification\Other\SchemeName\Code Concatenate ('/', FinancialInstitutionIdentification\Other\SchemeName\Proprietary, '/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 434 ELSE 435 IF (FinancialInstitutionIdentification\Other\SchemeName\Proprietary IsPresent) 436 THEN 437 ((FinancialInstitutionIdentification\Other\SchemeName\Proprietary Concatenate ('/', FinancialInstitutionIdentification\Other\Issuer, '/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 438 ELSE 439 ((FinancialInstitutionIdentification\Other\Issuer Concatenate ('/', FinancialInstitutionIdentification\Other\Identification)) Substring ('1', '35')) CopyTo Line[1] 440 END 441 END 442 END 443 END 444 END 445 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifier(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_PartyId : MX_To_MTClearingIdentifier
106 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_PartyId) 107 RULE 108 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) And (Not ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'USABA') And (FinancialInstitutionIdentification\BIC IsPresent)))) 109 THEN 110 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 111 ELSE 112 IF ((FinancialInstitutionIdentification\BIC IsPresent) And ((FinancialInstitutionIdentification\BIC Substring ('5', '2')) IsSameString 'US')) 113 THEN 114 '//FW' CopyTo Text_PartyId 115 END 116 END 117 END 118 END |
protected void |
translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifierAndChannel(String targetElement,
XmlNode node)
Translate method BranchAndFinancialInstitutionIdentification4 -> Text_PartyId : MX_To_MTClearingIdentifierAndChannel
502 TRANSLATE(BranchAndFinancialInstitutionIdentification4, Text_PartyId) 503 RULE 504 IF (FinancialInstitutionIdentification\ClearingSystemMemberIdentification IsPresent) 505 THEN 506 IF (((FinancialInstitutionIdentification\BIC IsPresent) And (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent)) And ((((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'RUCBC') Or (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'CHBCC')) Or (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'CHSIC')) Or (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'USPID'))) 507 THEN 508 '//RT' CopyTo Text_PartyId 509 ELSE 510 IF ((FinancialInstitutionIdentification\BIC IsPresent) And ((FinancialInstitutionIdentification\BIC Substring ('5', '2')) IsSameString 'US')) 511 THEN 512 '//FW' CopyTo Text_PartyId 513 ELSE 514 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent) And (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsSameString 'USABA')) 515 THEN 516 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 517 ELSE 518 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent) And (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code WithinList 'ClearingSystemList')) 519 THEN 520 IF ((((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) Length) LessThan '33') 521 THEN 522 '//RT' CopyTo Text_PartyId 523 END 524 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 525 ELSE 526 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code IsPresent) And (Not (FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code WithinList 'ClearingSystemList'))) 527 THEN 528 IF (((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Code Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) Length) LessThan '29') 529 THEN 530 '//RT' CopyTo Text_PartyId 531 END 532 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 533 ELSE 534 IF ((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary IsPresent) And (((FinancialInstitutionIdentification\ClearingSystemMemberIdentification\ClearingSystemIdentification\Proprietary Concatenate FinancialInstitutionIdentification\ClearingSystemMemberIdentification\MemberIdentification) Length) LessThan '29')) 535 THEN 536 '//RT' CopyTo Text_PartyId 537 END 538 FinancialInstitutionIdentification\ClearingSystemMemberIdentification TranslateTo Text_PartyId 539 END 540 END 541 END 542 END 543 END 544 ELSE 545 IF ((FinancialInstitutionIdentification\BIC IsPresent) And ((FinancialInstitutionIdentification\BIC Substring ('5', '2')) IsSameString 'US')) 546 THEN 547 '//FW' CopyTo Text_PartyId 548 ELSE 549 '//RT' CopyTo Text_PartyId 550 END 551 END 552 END 553 END |
protected void |
translateCashAccount16_Text_PartyId_Default(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_PartyId : Default
78 TRANSLATE(CashAccount16, Text_PartyId) 79 RULE 80 IF (Identification\IBAN IsPresent) 81 THEN 82 ('/' Concatenate Identification\IBAN) CopyTo Text_PartyId 83 ELSE 84 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 85 THEN 86 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 87 ELSE 88 IF (((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) And (Not (Identification\Other\SchemeName\Code IsSameString 'CUID'))) 89 THEN 90 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 91 ELSE 92 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 93 THEN 94 ('/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 95 ELSE 96 IF ((Identification\Other\SchemeName\Code IsSameString 'CUID') And ((Identification\Other\Identification Length) Matches '6')) 97 THEN 98 ('//CH' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 99 END 100 END 101 END 102 END 103 END 104 END 105 END |
protected void |
translateCashAccount16_Text_PartyId_INDA(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_PartyId : INDA
446 TRANSLATE(CashAccount16, Text_PartyId) 447 RULE 448 IF (Identification\IBAN IsPresent) 449 THEN 450 ('/D/' Concatenate Identification\IBAN) CopyTo Text_PartyId 451 ELSE 452 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 453 THEN 454 ('/D/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 455 ELSE 456 IF (((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) And (Not (Identification\Other\SchemeName\Code IsSameString 'CUID'))) 457 THEN 458 ('/D/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 459 ELSE 460 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 461 THEN 462 ('/D/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 463 ELSE 464 IF ((Identification\Other\SchemeName\Code IsSameString 'CUID') And ((Identification\Other\Identification Length) Matches '6')) 465 THEN 466 ('//CH' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 467 END 468 END 469 END 470 END 471 END 472 END 473 END |
protected void |
translateCashAccount16_Text_PartyId_INGA(String targetElement,
XmlNode node)
Translate method CashAccount16 -> Text_PartyId : INGA
474 TRANSLATE(CashAccount16, Text_PartyId) 475 RULE 476 IF (Identification\IBAN IsPresent) 477 THEN 478 ('/C/' Concatenate Identification\IBAN) CopyTo Text_PartyId 479 ELSE 480 IF (((Identification\Other\Identification IsPresent) And (Not (Identification\Other\SchemeName\Code IsPresent))) And (Not (Identification\Other\SchemeName\Proprietary IsPresent))) 481 THEN 482 ('/C/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 483 ELSE 484 IF (((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Code IsPresent)) And (Not (Identification\Other\SchemeName\Code IsSameString 'CUID'))) 485 THEN 486 ('/C/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 487 ELSE 488 IF ((Identification\Other\Identification IsPresent) And (Identification\Other\SchemeName\Proprietary IsPresent)) 489 THEN 490 ('/C/' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 491 ELSE 492 IF ((Identification\Other\SchemeName\Code IsSameString 'CUID') And ((Identification\Other\Identification Length) Matches '6')) 493 THEN 494 ('//CH' Concatenate Identification\Other\Identification) CopyTo Text_PartyId 495 END 496 END 497 END 498 END 499 END 500 END 501 END |
protected void |
translateClearingSystemList_MTClearingSystemList_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemList -> MTClearingSystemList : Default
143 TRANSLATE(ClearingSystemList, MTClearingSystemList) 144 RULE 145 'AUBSB' EquivalentTo 'AU' 146 'ATBLZ' EquivalentTo 'AT' 147 'CACPA' EquivalentTo 'CC' 148 'DEBLZ' EquivalentTo 'BL' 149 'GRBIC' EquivalentTo 'GR' 150 'HKNCC' EquivalentTo 'HK' 151 'INFSC' EquivalentTo 'IN' 152 'IENCC' EquivalentTo 'IE' 153 'ITNCC' EquivalentTo 'IT' 154 'NZNCC' EquivalentTo 'NZ' 155 'PLKNR' EquivalentTo 'PL' 156 'PTNCC' EquivalentTo 'PT' 157 'RUCBC' EquivalentTo 'RU' 158 'ZANCC' EquivalentTo 'ZA' 159 'ESNCC' EquivalentTo 'ES' 160 'CHBCC' EquivalentTo 'SW' 161 'CHSIC' EquivalentTo 'SW' 162 'GBDSC' EquivalentTo 'SC' 163 'USPID' EquivalentTo 'CP' 164 'USABA' EquivalentTo 'FW' 165 END 166 END |
protected void |
translateClearingSystemMemberIdentification2_Complex_Code_Narrative_5_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemMemberIdentification2 -> Complex_Code_Narrative_5 : Default
578 TRANSLATE(ClearingSystemMemberIdentification2, Complex_Code_Narrative_5) 579 RULE 580 NODE (Code) 581 IF (ClearingSystemMemberIdentification2 IsPresent) 582 THEN 583 IF ((ClearingSystemIdentification\Code Substring ('1', '5')) WithinList 'ClearingSystemList') 584 THEN 585 'INS' CopyTo Code 586 ELSE 587 'INS' CopyTo Code 588 END 589 END 590 END 591 NODE (Narrative) 592 IF (ClearingSystemMemberIdentification2 IsPresent) 593 THEN 594 IF ((ClearingSystemIdentification\Code Substring ('1', '5')) WithinList 'ClearingSystemList') 595 THEN 596 ((((ClearingSystemIdentification\Code Substring ('1', '5')) EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) Concatenate MemberIdentification) Substring ('1', '30')) CopyTo Narrative 597 ELSE 598 ((ClearingSystemIdentification\Proprietary Concatenate MemberIdentification) Substring ('1', '30')) CopyTo Narrative 599 END 600 END 601 END 602 END 603 END |
protected void |
translateClearingSystemMemberIdentification2_Text_PartyId_Default(String targetElement,
XmlNode node)
Translate method ClearingSystemMemberIdentification2 -> Text_PartyId : Default
119 TRANSLATE(ClearingSystemMemberIdentification2, Text_PartyId) 120 RULE 121 IF (ClearingSystemIdentification IsPresent) 122 THEN 123 IF (ClearingSystemIdentification\Code IsPresent) 124 THEN 125 IF (ClearingSystemIdentification\Code WithinList 'ClearingSystemList') 126 THEN 127 '//' CopyTo Text_PartyId 128 (ClearingSystemIdentification\Code EquivalentCode ('ClearingSystemList', 'MTClearingSystemList')) CopyTo Text_PartyId 129 MemberIdentification CopyTo Text_PartyId 130 ELSE 131 ('//' Concatenate (ClearingSystemIdentification\Code, MemberIdentification)) CopyTo Text_PartyId 132 END 133 END 134 IF (ClearingSystemIdentification\Proprietary IsPresent) 135 THEN 136 ('//' Concatenate (ClearingSystemIdentification\Proprietary Concatenate MemberIdentification)) CopyTo Text_PartyId 137 END 138 ELSE 139 ('//' Concatenate MemberIdentification) CopyTo Text_PartyId 140 END 141 END 142 END |
protected void |
translateImpl(MxPacs00900102 source)
Translation rules implementation
|
protected void |
translateISODate_DateTime_YYMMDD_Default(String targetElement,
XmlNode node)
Translate method ISODate -> DateTime_YYMMDD : Default
63 TRANSLATE(ISODate, DateTime_YYMMDD) 64 RULE 65 (ISODate FormatDateTime ('MX_Date', 'MT_YYMMDD')) CopyTo DateTime_YYMMDD 66 END 67 END |
protected void |
translateISODateTime_13C_1_default(String targetElement,
XmlNode node,
String code)
Translate method ISODateTime -> 13C_1 : default
11 TRANSLATE(ISODateTime, 13C_1, code:Max16Text) 12 RULE 13 NODE (Code) 14 $code CopyTo Code 15 END 16 NODE (Time indication) 17 (ISODateTime FormatDateTime ('MX_DateTime', 'MT_HHMM')) CopyTo Time indication 18 END 19 NODE (Sign) 20 IF (((ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 21 THEN 22 '-' CopyTo Sign 23 ELSE 24 '+' CopyTo Sign 25 END 26 END 27 NODE (Time offset) 28 IF (((ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 29 THEN 30 ((ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) Substring '2') CopyTo Time offset 31 ELSE 32 (ISODateTime FormatDateTime ('MX_DateTime', 'MT_TimeOffset')) CopyTo Time offset 33 END 34 END 35 END 36 END |
protected void |
translateISOTime_13C_1_CLSTIME(String targetElement,
XmlNode node)
Translate method ISOTime -> 13C_1 : CLSTIME
37 TRANSLATE(ISOTime, 13C_1) 38 RULE 39 NODE (Code) 40 'CLSTIME' CopyTo Code 41 END 42 NODE (Time indication) 43 (ISOTime FormatDateTime ('MX_Time', 'MT_HHMM')) CopyTo Time indication 44 END 45 NODE (Sign) 46 IF (((ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 47 THEN 48 '-' CopyTo Sign 49 ELSE 50 '+' CopyTo Sign 51 END 52 END 53 NODE (Time offset) 54 IF (((ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) Substring ('1', '1')) IsSameString '-') 55 THEN 56 ((ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) Substring '2') CopyTo Time offset 57 ELSE 58 (ISOTime FormatDateTime ('MX_Time', 'MT_TimeOffset')) CopyTo Time offset 59 END 60 END 61 END 62 END |
protected void |
translateMax35Text_20_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> 20 : Default
1 TRANSLATE(Max35Text, 20) 2 RULE 3 (Max35Text Substring ('1', '16')) CopyTo 20 4 END 5 END |
protected void |
translateMax35Text_21_Default(String targetElement,
XmlNode node)
Translate method Max35Text -> 21 : Default
6 TRANSLATE(Max35Text, 21) 7 RULE 8 (Max35Text Substring ('1', '16')) CopyTo 21 9 END 10 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine1_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine1_Unstructured
346 TRANSLATE(PostalAddress6, Text_FIN_35x) 347 RULE 348 (AddressLine[1] Substring ('1', '35')) CopyTo Text_FIN_35x 349 END 350 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine1(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine1
303 TRANSLATE(PostalAddress6, Text_FIN_35x) 304 RULE 305 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('1', '35')) CopyTo Text_FIN_35x 306 END 307 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine2_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine2_Unstructured
359 TRANSLATE(PostalAddress6, Text_FIN_35x) 360 RULE 361 IF ((AddressLine[1] Length) GreaterThan '35') 362 THEN 363 (AddressLine[1] Substring ('36', '35')) CopyTo Text_FIN_35x 364 ELSE 365 (AddressLine[2] Substring ('1', '35')) CopyTo Text_FIN_35x 366 END 367 END 368 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine2(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine2
351 TRANSLATE(PostalAddress6, Text_FIN_35x) 352 RULE 353 IF ((StreetName IsPresent) And (((StreetName Concatenate (' ', BuildingNumber)) Length) GreaterThan '35')) 354 THEN 355 ((StreetName Concatenate (' ', BuildingNumber)) Substring ('36', '35')) CopyTo Text_FIN_35x 356 END 357 END 358 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine3_Unstructured(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine3_Unstructured
374 TRANSLATE(PostalAddress6, Text_FIN_35x) 375 RULE 376 IF ((AddressLine[1] IsPresent) And ((AddressLine[1] Length) GreaterThan '35')) 377 THEN 378 IF (AddressLine[2] IsPresent) 379 THEN 380 (AddressLine[2] Substring ('1', '35')) CopyTo Text_FIN_35x 381 END 382 ELSE 383 IF ((AddressLine[2] IsPresent) And ((AddressLine[2] Length) GreaterThan '35')) 384 THEN 385 (AddressLine[2] Substring ('36', '35')) CopyTo Text_FIN_35x 386 ELSE 387 (AddressLine[3] Substring ('1', '35')) CopyTo Text_FIN_35x 388 END 389 END 390 END 391 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTAddressLine3(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTAddressLine3
369 TRANSLATE(PostalAddress6, Text_FIN_35x) 370 RULE 371 ((StreetName Concatenate (' ', BuildingNumber)) Substring '71') CopyTo Text_FIN_35x 372 END 373 END |
protected void |
translatePostalAddress6_Text_FIN_35x_MTCountryTown(String targetElement,
XmlNode node)
Translate method PostalAddress6 -> Text_FIN_35x : MTCountryTown
308 TRANSLATE(PostalAddress6, Text_FIN_35x) 309 RULE 310 IF (Country IsPresent) 311 THEN 312 IF (TownName IsPresent) 313 THEN 314 IF (((Country Concatenate ('/', TownName, '/', PostCode)) Length) GreaterThan '35') 315 THEN 316 ((Country Concatenate ('/', TownName)) Substring ('1', '32')) CopyTo Text_FIN_35x 317 ELSE 318 IF (PostCode IsPresent) 319 THEN 320 (Country Concatenate ('/', TownName, '/', PostCode)) CopyTo Text_FIN_35x 321 ELSE 322 (Country Concatenate ('/', TownName)) CopyTo Text_FIN_35x 323 END 324 END 325 ELSE 326 Country CopyTo Text_FIN_35x 327 END 328 ELSE 329 IF ((TownName IsPresent) And (((TownName Concatenate PostCode) Length) GreaterThan '35')) 330 THEN 331 TownName CopyTo Text_FIN_35x 332 ELSE 333 IF ((PostCode IsPresent) And (TownName IsPresent)) 334 THEN 335 (TownName Concatenate ('/', PostCode)) CopyTo Text_FIN_35x 336 ELSE 337 IF (TownName IsPresent) 338 THEN 339 TownName CopyTo Text_FIN_35x 340 END 341 END 342 END 343 END 344 END 345 END |
public MxPacs00900102_MT202_Translation()
public final MT202 translate(MxPacs00900102 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxPacs00900102 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected final void translateImpl(MxPacs00900102 source) throws LogicalMessageCriteriaException, TranslationPreconditionException
source
- a well formed MxPacs00900102 objectLogicalMessageCriteriaException
TranslationPreconditionException
protected void translateMax35Text_20_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_21_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_13C_1_default(String targetElement, XmlNode node, String code)
source
- translation source message to read content fromcontent
- content to translate, gathered from a source selectortargetElement
- selector in target class where translated code will be addedprotected void translateISOTime_13C_1_CLSTIME(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_YYMMDD_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 translateActiveCurrencyAndAmount_32A_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 translateCashAccount16_Text_PartyId_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 translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifier(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 translateClearingSystemMemberIdentification2_Text_PartyId_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 translateClearingSystemList_MTClearingSystemList_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 translateBranchAndFinancialInstitutionIdentification4_Identifier_BICFI_BIC(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 translateBranchAndFinancialInstitutionIdentification4_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 translatePostalAddress6_Text_FIN_35x_MTAddressLine1(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 translatePostalAddress6_Text_FIN_35x_MTCountryTown(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 translatePostalAddress6_Text_FIN_35x_MTAddressLine1_Unstructured(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 translatePostalAddress6_Text_FIN_35x_MTAddressLine2(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 translatePostalAddress6_Text_FIN_35x_MTAddressLine2_Unstructured(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 translatePostalAddress6_Text_FIN_35x_MTAddressLine3(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 translatePostalAddress6_Text_FIN_35x_MTAddressLine3_Unstructured(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 translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Only_ClrSysMmbId_or_ClrSysMmbId_and_PstlAdr(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 translateBranchAndFinancialInstitutionIdentification4_Text_FIN_4M35x_Othr_without_Name(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 translateCashAccount16_Text_PartyId_INDA(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 translateCashAccount16_Text_PartyId_INGA(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 translateBranchAndFinancialInstitutionIdentification4_Text_PartyId_MX_To_MTClearingIdentifierAndChannel(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 translateBranchAndFinancialInstitutionIdentification4_Complex_Code_Narrative_5_BIC(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 translateBranchAndFinancialInstitutionIdentification4_Complex_Code_Narrative_5_Clearing(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 translateClearingSystemMemberIdentification2_Complex_Code_Narrative_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 addedpublic final Boolean logicalMessageCriteriaCheck(MxPacs00900102 source)
source
- a well formed MxPacs00900102 objectpublic final void preconditionSR1Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR2Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR3Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR4Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR5Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR6Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR7Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR8Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR9Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR10Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR11Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR12Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR13Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR14Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR15Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR16Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR17Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR18Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR19Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR20Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR21Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR22Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR23Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR24Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR25Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR26Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR27Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR28Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR29Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR30Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR31Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final void preconditionSR32Check(MxPacs00900102 source) throws TranslationPreconditionException
source
- a well formed MxPacs00900102 objectTranslationPreconditionException
public final List<PreconditionError> preconditionsCheck(MxPacs00900102 source)
preconditionSR1Check(MxPacs00900102)
,
preconditionSR2Check(MxPacs00900102)
,
preconditionSR3Check(MxPacs00900102)
,
preconditionSR4Check(MxPacs00900102)
,
preconditionSR5Check(MxPacs00900102)
,
preconditionSR6Check(MxPacs00900102)
,
preconditionSR7Check(MxPacs00900102)
,
preconditionSR8Check(MxPacs00900102)
,
preconditionSR9Check(MxPacs00900102)
,
preconditionSR10Check(MxPacs00900102)
,
preconditionSR11Check(MxPacs00900102)
,
preconditionSR12Check(MxPacs00900102)
,
preconditionSR13Check(MxPacs00900102)
,
preconditionSR14Check(MxPacs00900102)
,
preconditionSR15Check(MxPacs00900102)
,
preconditionSR16Check(MxPacs00900102)
,
preconditionSR17Check(MxPacs00900102)
,
preconditionSR18Check(MxPacs00900102)
,
preconditionSR19Check(MxPacs00900102)
,
preconditionSR20Check(MxPacs00900102)
,
preconditionSR21Check(MxPacs00900102)
,
preconditionSR22Check(MxPacs00900102)
,
preconditionSR23Check(MxPacs00900102)
,
preconditionSR24Check(MxPacs00900102)
,
preconditionSR25Check(MxPacs00900102)
,
preconditionSR26Check(MxPacs00900102)
,
preconditionSR27Check(MxPacs00900102)
,
preconditionSR28Check(MxPacs00900102)
,
preconditionSR29Check(MxPacs00900102)
,
preconditionSR30Check(MxPacs00900102)
,
preconditionSR31Check(MxPacs00900102)
,
return a list with a precondition errors for each failed check, or an empty list if all preconditions are satisfied