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

org.milyn.edi.unedifact.d99b.CREMUL.SegmentGroup10 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.d99b.CREMUL;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d99b.common.SequenceDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d99b.common.DateTimePeriod;    
import org.milyn.edi.unedifact.d99b.common.BusinessFunction;    
import org.milyn.edi.unedifact.d99b.common.FinancialInstitutionInformation;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup10 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private SequenceDetails sequenceDetails;
    private List dateTimePeriod;
    private BusinessFunction businessFunction;
    private List financialInstitutionInformation;
    private List segmentGroup11;
    private SegmentGroup12 segmentGroup12;
    private List segmentGroup13;
    private List segmentGroup14;
    private List segmentGroup15;
    private List segmentGroup16;
    private List segmentGroup17;
    private SegmentGroup20 segmentGroup20;

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

        if(sequenceDetails != null) {
            nodeWriter.write("SEQ");
            nodeWriter.write(delimiters.getField());
            sequenceDetails.write(nodeWriter, delimiters);
        }
        if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) {
            for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(businessFunction != null) {
            nodeWriter.write("BUS");
            nodeWriter.write(delimiters.getField());
            businessFunction.write(nodeWriter, delimiters);
        }
        if(financialInstitutionInformation != null && !financialInstitutionInformation.isEmpty()) {
            for(FinancialInstitutionInformation financialInstitutionInformationInst : financialInstitutionInformation) {
                nodeWriter.write("FII");
                nodeWriter.write(delimiters.getField());
                financialInstitutionInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup11 != null && !segmentGroup11.isEmpty()) {
            for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) {
                segmentGroup11Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup12 != null) {
            segmentGroup12.write(nodeWriter, delimiters);
        }
        if(segmentGroup13 != null && !segmentGroup13.isEmpty()) {
            for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) {
                segmentGroup13Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
            for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
                segmentGroup14Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
            for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
                segmentGroup15Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup16 != null && !segmentGroup16.isEmpty()) {
            for(SegmentGroup16 segmentGroup16Inst : segmentGroup16) {
                segmentGroup16Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
            for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
                segmentGroup17Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup20 != null) {
            segmentGroup20.write(nodeWriter, delimiters);
        }
    }

    public SequenceDetails getSequenceDetails() {
        return sequenceDetails;
    }

    public SegmentGroup10 setSequenceDetails(SequenceDetails sequenceDetails) {
        this.sequenceDetails = sequenceDetails;  return this;
    }

    public List getDateTimePeriod() {
        return dateTimePeriod;
    }

    public SegmentGroup10 setDateTimePeriod(List dateTimePeriod) {
        this.dateTimePeriod = dateTimePeriod;  return this;
    }

    public BusinessFunction getBusinessFunction() {
        return businessFunction;
    }

    public SegmentGroup10 setBusinessFunction(BusinessFunction businessFunction) {
        this.businessFunction = businessFunction;  return this;
    }

    public List getFinancialInstitutionInformation() {
        return financialInstitutionInformation;
    }

    public SegmentGroup10 setFinancialInstitutionInformation(List financialInstitutionInformation) {
        this.financialInstitutionInformation = financialInstitutionInformation;  return this;
    }

    public List getSegmentGroup11() {
        return segmentGroup11;
    }

    public SegmentGroup10 setSegmentGroup11(List segmentGroup11) {
        this.segmentGroup11 = segmentGroup11;  return this;
    }

    public SegmentGroup12 getSegmentGroup12() {
        return segmentGroup12;
    }

    public SegmentGroup10 setSegmentGroup12(SegmentGroup12 segmentGroup12) {
        this.segmentGroup12 = segmentGroup12;  return this;
    }

    public List getSegmentGroup13() {
        return segmentGroup13;
    }

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

    public List getSegmentGroup14() {
        return segmentGroup14;
    }

    public SegmentGroup10 setSegmentGroup14(List segmentGroup14) {
        this.segmentGroup14 = segmentGroup14;  return this;
    }

    public List getSegmentGroup15() {
        return segmentGroup15;
    }

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

    public List getSegmentGroup16() {
        return segmentGroup16;
    }

    public SegmentGroup10 setSegmentGroup16(List segmentGroup16) {
        this.segmentGroup16 = segmentGroup16;  return this;
    }

    public List getSegmentGroup17() {
        return segmentGroup17;
    }

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

    public SegmentGroup20 getSegmentGroup20() {
        return segmentGroup20;
    }

    public SegmentGroup10 setSegmentGroup20(SegmentGroup20 segmentGroup20) {
        this.segmentGroup20 = segmentGroup20;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy