package org.whole.lang.xsd.mapping.samples; import org.whole.lang.builders.IBuilderOperation; import org.whole.lang.templates.AbstractTemplateFactory; public class PainInstance extends AbstractTemplateFactory<org.whole.lang.model.IEntity> { public void apply(IBuilderOperation op) { org.whole.lang.commons.builders.ICommonsBuilder b0 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI); org.whole.lang.reflect.EntityDescriptorEnum e1 = org.whole.lang.reflect.ReflectionFactory.getLanguageKit("urn:iso:std:iso:20022:tech:xsd:pain.001.001.02").getEntityDescriptorEnum(); b0.wEntity_(e1.valueOf("Document")); b0.wEntity_(e1.valueOf("DocumentSeq")); b0.wEntity_(e1.valueOf("Pain.001.001.02")); b0.wEntity_(e1.valueOf("Pain.001.001.02Seq")); b0.wEntity_(e1.valueOf("GroupHeader1")); b0.wEntity_(e1.valueOf("GroupHeader1Seq")); b0.wEntity(e1.valueOf("Max35Text"), "MSG001273763060269"); b0.wEntity(e1.valueOf("ISODateTime"), "2008-01-07T00:00:00.000+01:00"); b0.Resolver(); b0.Resolver(); b0.wEntity(e1.valueOf("Max15NumericText"), "0000001"); b0.wEntity(e1.valueOf("DecimalNumber"), "10100.44"); b0.wEntity(e1.valueOf("Grouping1Code"), "GRPD"); b0.wEntity_(e1.valueOf("PartyIdentification8")); b0.wEntity_(e1.valueOf("PartyIdentification8Seq")); b0.wEntity(e1.valueOf("Max70Text"), "MUSTERMANN "); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0._wEntity(e1.valueOf("PartyIdentification8Seq")); b0._wEntity(e1.valueOf("PartyIdentification8")); b0.Resolver(); b0._wEntity(e1.valueOf("GroupHeader1Seq")); b0._wEntity(e1.valueOf("GroupHeader1")); b0.wEntity_(e1.valueOf("Pain.001.001.02List"), 1); b0.wEntity_(e1.valueOf("PaymentInstructionInformation1")); b0.wEntity_(e1.valueOf("PaymentInstructionInformation1Seq")); b0.Resolver(); b0.wEntity(e1.valueOf("PaymentMethod3Code"), "TRF"); b0.Resolver(); b0.wEntity(e1.valueOf("ISODate"), "2008-01-21"); b0.Resolver(); b0.wEntity_(e1.valueOf("PartyIdentification8")); b0.wEntity_(e1.valueOf("PartyIdentification8Seq")); b0.wEntity(e1.valueOf("Max70Text"), "MUSTERMANN "); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0._wEntity(e1.valueOf("PartyIdentification8Seq")); b0._wEntity(e1.valueOf("PartyIdentification8")); b0.wEntity_(e1.valueOf("CashAccount7")); b0.wEntity_(e1.valueOf("CashAccount7Seq")); b0.wEntity_(e1.valueOf("AccountIdentification3Choice")); b0.wEntity_(e1.valueOf("AccountIdentification3ChoiceSeq")); b0.wEntity(e1.valueOf("IBANIdentifier"), "DE13500999001234567890"); b0._wEntity(e1.valueOf("AccountIdentification3ChoiceSeq")); b0._wEntity(e1.valueOf("AccountIdentification3Choice")); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0._wEntity(e1.valueOf("CashAccount7Seq")); b0._wEntity(e1.valueOf("CashAccount7")); b0.wEntity_(e1.valueOf("BranchAndFinancialInstitutionIdentification3")); b0.wEntity_(e1.valueOf("BranchAndFinancialInstitutionIdentification3Seq")); b0.wEntity_(e1.valueOf("FinancialInstitutionIdentification5Choice")); b0.wEntity_(e1.valueOf("FinancialInstitutionIdentification5ChoiceSeq")); b0.wEntity(e1.valueOf("BICIdentifier"), "GENODE51RGG"); b0._wEntity(e1.valueOf("FinancialInstitutionIdentification5ChoiceSeq")); b0._wEntity(e1.valueOf("FinancialInstitutionIdentification5Choice")); b0.Resolver(); b0._wEntity(e1.valueOf("BranchAndFinancialInstitutionIdentification3Seq")); b0._wEntity(e1.valueOf("BranchAndFinancialInstitutionIdentification3")); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.wEntity_(e1.valueOf("PaymentInstructionInformation1List"), 1); b0.wEntity_(e1.valueOf("CreditTransferTransactionInformation1")); b0.wEntity_(e1.valueOf("CreditTransferTransactionInformation1Seq")); b0.wEntity_(e1.valueOf("PaymentIdentification1")); b0.wEntity_(e1.valueOf("PaymentIdentification1Seq")); b0.Resolver(); b0.wEntity(e1.valueOf("Max35Text"), "REF03267205"); b0._wEntity(e1.valueOf("PaymentIdentification1Seq")); b0._wEntity(e1.valueOf("PaymentIdentification1")); b0.Resolver(); b0.wEntity_(e1.valueOf("AmountType2Choice")); b0.wEntity_(e1.valueOf("AmountType2ChoiceSeq")); b0.wEntity_(e1.valueOf("CurrencyAndAmount")); b0.wEntity(e1.valueOf("CurrencyCode"), "EUR"); b0.wEntity(e1.valueOf("CurrencyAndAmount_SimpleType"), "10100.44"); b0._wEntity(e1.valueOf("CurrencyAndAmount")); b0._wEntity(e1.valueOf("AmountType2ChoiceSeq")); b0._wEntity(e1.valueOf("AmountType2Choice")); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.wEntity_(e1.valueOf("BranchAndFinancialInstitutionIdentification3")); b0.wEntity_(e1.valueOf("BranchAndFinancialInstitutionIdentification3Seq")); b0.wEntity_(e1.valueOf("FinancialInstitutionIdentification5Choice")); b0.wEntity_(e1.valueOf("FinancialInstitutionIdentification5ChoiceSeq")); b0.wEntity(e1.valueOf("BICIdentifier"), "GENODEF1DCA"); b0._wEntity(e1.valueOf("FinancialInstitutionIdentification5ChoiceSeq")); b0._wEntity(e1.valueOf("FinancialInstitutionIdentification5Choice")); b0.Resolver(); b0._wEntity(e1.valueOf("BranchAndFinancialInstitutionIdentification3Seq")); b0._wEntity(e1.valueOf("BranchAndFinancialInstitutionIdentification3")); b0.Resolver(); b0.wEntity_(e1.valueOf("PartyIdentification8")); b0.wEntity_(e1.valueOf("PartyIdentification8Seq")); b0.wEntity(e1.valueOf("Max70Text"), "MALEREI PINSEL UND KLECKS GMBH"); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0._wEntity(e1.valueOf("PartyIdentification8Seq")); b0._wEntity(e1.valueOf("PartyIdentification8")); b0.wEntity_(e1.valueOf("CashAccount7")); b0.wEntity_(e1.valueOf("CashAccount7Seq")); b0.wEntity_(e1.valueOf("AccountIdentification3Choice")); b0.wEntity_(e1.valueOf("AccountIdentification3ChoiceSeq")); b0.wEntity(e1.valueOf("IBANIdentifier"), "DE28700999009876543210"); b0._wEntity(e1.valueOf("AccountIdentification3ChoiceSeq")); b0._wEntity(e1.valueOf("AccountIdentification3Choice")); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0._wEntity(e1.valueOf("CashAccount7Seq")); b0._wEntity(e1.valueOf("CashAccount7")); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.Resolver(); b0.wEntity_(e1.valueOf("RemittanceInformation1")); b0.wEntity_(e1.valueOf("RemittanceInformation1Seq")); b0.wEntity_(e1.valueOf("RemittanceInformation1List"), 1); b0.wEntity(e1.valueOf("Max140Text"), "RECHNUNG 1111 VOM 13.1.2008 RECHNUNG 1112 VOM 14.1.2008 RECHNUNG 1113 VOM 15.1.2008"); b0._wEntity(e1.valueOf("RemittanceInformation1List")); b0.Resolver(); b0._wEntity(e1.valueOf("RemittanceInformation1Seq")); b0._wEntity(e1.valueOf("RemittanceInformation1")); b0._wEntity(e1.valueOf("CreditTransferTransactionInformation1Seq")); b0._wEntity(e1.valueOf("CreditTransferTransactionInformation1")); b0._wEntity(e1.valueOf("PaymentInstructionInformation1List")); b0._wEntity(e1.valueOf("PaymentInstructionInformation1Seq")); b0._wEntity(e1.valueOf("PaymentInstructionInformation1")); b0._wEntity(e1.valueOf("Pain.001.001.02List")); b0._wEntity(e1.valueOf("Pain.001.001.02Seq")); b0._wEntity(e1.valueOf("Pain.001.001.02")); b0._wEntity(e1.valueOf("DocumentSeq")); b0._wEntity(e1.valueOf("Document")); } }