All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.milyn.edi.unedifact.d11b.GOVCBR.Govcbr Maven / Gradle / Ivy

There is a newer version: 1.7.1.0
Show newest version
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d11b.GOVCBR;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.smooks.edi.EDIMessage;    
import org.milyn.edi.unedifact.d11b.common.BGMBeginningOfMessage;    
import java.util.List;    
import org.milyn.edi.unedifact.d11b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d11b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d11b.common.IFDInformationDetail;    
import org.milyn.edi.unedifact.d11b.common.RFFReference;    
import org.milyn.edi.unedifact.d11b.common.CUXCurrencies;    
import org.milyn.edi.unedifact.d11b.common.FIIFinancialInstitutionInformation;    
import org.milyn.edi.unedifact.d11b.common.Uns;    
import org.milyn.edi.unedifact.d11b.common.HYNHierarchyInformation;    
import org.milyn.edi.unedifact.d11b.common.AUTAuthenticationResult;    
import org.milyn.edi.unedifact.d11b.common.CNTControlTotal;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

@EDIMessage    
public class Govcbr implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private BGMBeginningOfMessage bGMBeginningOfMessage;
    private List dTMDateTimePeriod;
    private MOAMonetaryAmount mOAMonetaryAmount;
    private List iFDInformationDetail;
    private List rFFReference;
    private List cUXCurrencies;
    private FIIFinancialInstitutionInformation fIIFinancialInstitutionInformation;
    private List segmentGroup1;
    private List segmentGroup3;
    private List segmentGroup5;
    private List segmentGroup7;
    private List segmentGroup9;
    private List segmentGroup13;
    private List segmentGroup15;
    private List segmentGroup17;
    private SegmentGroup19 segmentGroup19;
    private List segmentGroup22;
    private List segmentGroup25;
    private List segmentGroup30;
    private List segmentGroup31;
    private List segmentGroup32;
    private Uns uNS1SectionControl;
    private List segmentGroup43;
    private HYNHierarchyInformation hYNHierarchyInformation;
    private List segmentGroup138;
    private Uns uNS2SectionControl;
    private AUTAuthenticationResult aUTAuthenticationResult;
    private List cNTControlTotal;

    public void write(Writer writer, Delimiters delimiters) throws IOException {
        
        Writer nodeWriter = writer;

        if(bGMBeginningOfMessage != null) {
            nodeWriter.write("BGM");
            nodeWriter.write(delimiters.getField());
            bGMBeginningOfMessage.write(nodeWriter, delimiters);
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(mOAMonetaryAmount != null) {
            nodeWriter.write("MOA");
            nodeWriter.write(delimiters.getField());
            mOAMonetaryAmount.write(nodeWriter, delimiters);
        }
        if(iFDInformationDetail != null && !iFDInformationDetail.isEmpty()) {
            for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
                nodeWriter.write("IFD");
                nodeWriter.write(delimiters.getField());
                iFDInformationDetailInst.write(nodeWriter, delimiters);
            }
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(cUXCurrencies != null && !cUXCurrencies.isEmpty()) {
            for(CUXCurrencies cUXCurrenciesInst : cUXCurrencies) {
                nodeWriter.write("CUX");
                nodeWriter.write(delimiters.getField());
                cUXCurrenciesInst.write(nodeWriter, delimiters);
            }
        }
        if(fIIFinancialInstitutionInformation != null) {
            nodeWriter.write("FII");
            nodeWriter.write(delimiters.getField());
            fIIFinancialInstitutionInformation.write(nodeWriter, delimiters);
        }
        if(segmentGroup1 != null && !segmentGroup1.isEmpty()) {
            for(SegmentGroup1 segmentGroup1Inst : segmentGroup1) {
                segmentGroup1Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup3 != null && !segmentGroup3.isEmpty()) {
            for(SegmentGroup3 segmentGroup3Inst : segmentGroup3) {
                segmentGroup3Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup5 != null && !segmentGroup5.isEmpty()) {
            for(SegmentGroup5 segmentGroup5Inst : segmentGroup5) {
                segmentGroup5Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup7 != null && !segmentGroup7.isEmpty()) {
            for(SegmentGroup7 segmentGroup7Inst : segmentGroup7) {
                segmentGroup7Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup9 != null && !segmentGroup9.isEmpty()) {
            for(SegmentGroup9 segmentGroup9Inst : segmentGroup9) {
                segmentGroup9Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup13 != null && !segmentGroup13.isEmpty()) {
            for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) {
                segmentGroup13Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
            for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
                segmentGroup15Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
            for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
                segmentGroup17Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup19 != null) {
            segmentGroup19.write(nodeWriter, delimiters);
        }
        if(segmentGroup22 != null && !segmentGroup22.isEmpty()) {
            for(SegmentGroup22 segmentGroup22Inst : segmentGroup22) {
                segmentGroup22Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup25 != null && !segmentGroup25.isEmpty()) {
            for(SegmentGroup25 segmentGroup25Inst : segmentGroup25) {
                segmentGroup25Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup30 != null && !segmentGroup30.isEmpty()) {
            for(SegmentGroup30 segmentGroup30Inst : segmentGroup30) {
                segmentGroup30Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup31 != null && !segmentGroup31.isEmpty()) {
            for(SegmentGroup31 segmentGroup31Inst : segmentGroup31) {
                segmentGroup31Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup32 != null && !segmentGroup32.isEmpty()) {
            for(SegmentGroup32 segmentGroup32Inst : segmentGroup32) {
                segmentGroup32Inst.write(nodeWriter, delimiters);
            }
        }
        if(uNS1SectionControl != null) {
            nodeWriter.write("UNS");
            nodeWriter.write(delimiters.getField());
            uNS1SectionControl.write(nodeWriter, delimiters);
        }
        if(segmentGroup43 != null && !segmentGroup43.isEmpty()) {
            for(SegmentGroup43 segmentGroup43Inst : segmentGroup43) {
                segmentGroup43Inst.write(nodeWriter, delimiters);
            }
        }
        if(hYNHierarchyInformation != null) {
            nodeWriter.write("HYN");
            nodeWriter.write(delimiters.getField());
            hYNHierarchyInformation.write(nodeWriter, delimiters);
        }
        if(segmentGroup138 != null && !segmentGroup138.isEmpty()) {
            for(SegmentGroup138 segmentGroup138Inst : segmentGroup138) {
                segmentGroup138Inst.write(nodeWriter, delimiters);
            }
        }
        if(uNS2SectionControl != null) {
            nodeWriter.write("UNS");
            nodeWriter.write(delimiters.getField());
            uNS2SectionControl.write(nodeWriter, delimiters);
        }
        if(aUTAuthenticationResult != null) {
            nodeWriter.write("AUT");
            nodeWriter.write(delimiters.getField());
            aUTAuthenticationResult.write(nodeWriter, delimiters);
        }
        if(cNTControlTotal != null && !cNTControlTotal.isEmpty()) {
            for(CNTControlTotal cNTControlTotalInst : cNTControlTotal) {
                nodeWriter.write("CNT");
                nodeWriter.write(delimiters.getField());
                cNTControlTotalInst.write(nodeWriter, delimiters);
            }
        }
    }

    public BGMBeginningOfMessage getBGMBeginningOfMessage() {
        return bGMBeginningOfMessage;
    }

    public Govcbr setBGMBeginningOfMessage(BGMBeginningOfMessage bGMBeginningOfMessage) {
        this.bGMBeginningOfMessage = bGMBeginningOfMessage;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

    public Govcbr setDTMDateTimePeriod(List dTMDateTimePeriod) {
        this.dTMDateTimePeriod = dTMDateTimePeriod;  return this;
    }

    public MOAMonetaryAmount getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

    public Govcbr setMOAMonetaryAmount(MOAMonetaryAmount mOAMonetaryAmount) {
        this.mOAMonetaryAmount = mOAMonetaryAmount;  return this;
    }

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

    public Govcbr setIFDInformationDetail(List iFDInformationDetail) {
        this.iFDInformationDetail = iFDInformationDetail;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

    public Govcbr setRFFReference(List rFFReference) {
        this.rFFReference = rFFReference;  return this;
    }

    public List getCUXCurrencies() {
        return cUXCurrencies;
    }

    public Govcbr setCUXCurrencies(List cUXCurrencies) {
        this.cUXCurrencies = cUXCurrencies;  return this;
    }

    public FIIFinancialInstitutionInformation getFIIFinancialInstitutionInformation() {
        return fIIFinancialInstitutionInformation;
    }

    public Govcbr setFIIFinancialInstitutionInformation(FIIFinancialInstitutionInformation fIIFinancialInstitutionInformation) {
        this.fIIFinancialInstitutionInformation = fIIFinancialInstitutionInformation;  return this;
    }

    public List getSegmentGroup1() {
        return segmentGroup1;
    }

    public Govcbr setSegmentGroup1(List segmentGroup1) {
        this.segmentGroup1 = segmentGroup1;  return this;
    }

    public List getSegmentGroup3() {
        return segmentGroup3;
    }

    public Govcbr setSegmentGroup3(List segmentGroup3) {
        this.segmentGroup3 = segmentGroup3;  return this;
    }

    public List getSegmentGroup5() {
        return segmentGroup5;
    }

    public Govcbr setSegmentGroup5(List segmentGroup5) {
        this.segmentGroup5 = segmentGroup5;  return this;
    }

    public List getSegmentGroup7() {
        return segmentGroup7;
    }

    public Govcbr setSegmentGroup7(List segmentGroup7) {
        this.segmentGroup7 = segmentGroup7;  return this;
    }

    public List getSegmentGroup9() {
        return segmentGroup9;
    }

    public Govcbr setSegmentGroup9(List segmentGroup9) {
        this.segmentGroup9 = segmentGroup9;  return this;
    }

    public List getSegmentGroup13() {
        return segmentGroup13;
    }

    public Govcbr setSegmentGroup13(List segmentGroup13) {
        this.segmentGroup13 = segmentGroup13;  return this;
    }

    public List getSegmentGroup15() {
        return segmentGroup15;
    }

    public Govcbr setSegmentGroup15(List segmentGroup15) {
        this.segmentGroup15 = segmentGroup15;  return this;
    }

    public List getSegmentGroup17() {
        return segmentGroup17;
    }

    public Govcbr setSegmentGroup17(List segmentGroup17) {
        this.segmentGroup17 = segmentGroup17;  return this;
    }

    public SegmentGroup19 getSegmentGroup19() {
        return segmentGroup19;
    }

    public Govcbr setSegmentGroup19(SegmentGroup19 segmentGroup19) {
        this.segmentGroup19 = segmentGroup19;  return this;
    }

    public List getSegmentGroup22() {
        return segmentGroup22;
    }

    public Govcbr setSegmentGroup22(List segmentGroup22) {
        this.segmentGroup22 = segmentGroup22;  return this;
    }

    public List getSegmentGroup25() {
        return segmentGroup25;
    }

    public Govcbr setSegmentGroup25(List segmentGroup25) {
        this.segmentGroup25 = segmentGroup25;  return this;
    }

    public List getSegmentGroup30() {
        return segmentGroup30;
    }

    public Govcbr setSegmentGroup30(List segmentGroup30) {
        this.segmentGroup30 = segmentGroup30;  return this;
    }

    public List getSegmentGroup31() {
        return segmentGroup31;
    }

    public Govcbr setSegmentGroup31(List segmentGroup31) {
        this.segmentGroup31 = segmentGroup31;  return this;
    }

    public List getSegmentGroup32() {
        return segmentGroup32;
    }

    public Govcbr setSegmentGroup32(List segmentGroup32) {
        this.segmentGroup32 = segmentGroup32;  return this;
    }

    public Uns getUNS1SectionControl() {
        return uNS1SectionControl;
    }

    public Govcbr setUNS1SectionControl(Uns uNS1SectionControl) {
        this.uNS1SectionControl = uNS1SectionControl;  return this;
    }

    public List getSegmentGroup43() {
        return segmentGroup43;
    }

    public Govcbr setSegmentGroup43(List segmentGroup43) {
        this.segmentGroup43 = segmentGroup43;  return this;
    }

    public HYNHierarchyInformation getHYNHierarchyInformation() {
        return hYNHierarchyInformation;
    }

    public Govcbr setHYNHierarchyInformation(HYNHierarchyInformation hYNHierarchyInformation) {
        this.hYNHierarchyInformation = hYNHierarchyInformation;  return this;
    }

    public List getSegmentGroup138() {
        return segmentGroup138;
    }

    public Govcbr setSegmentGroup138(List segmentGroup138) {
        this.segmentGroup138 = segmentGroup138;  return this;
    }

    public Uns getUNS2SectionControl() {
        return uNS2SectionControl;
    }

    public Govcbr setUNS2SectionControl(Uns uNS2SectionControl) {
        this.uNS2SectionControl = uNS2SectionControl;  return this;
    }

    public AUTAuthenticationResult getAUTAuthenticationResult() {
        return aUTAuthenticationResult;
    }

    public Govcbr setAUTAuthenticationResult(AUTAuthenticationResult aUTAuthenticationResult) {
        this.aUTAuthenticationResult = aUTAuthenticationResult;  return this;
    }

    public List getCNTControlTotal() {
        return cNTControlTotal;
    }

    public Govcbr setCNTControlTotal(List cNTControlTotal) {
        this.cNTControlTotal = cNTControlTotal;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy