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

org.milyn.edi.unedifact.d02a.PAYMUL.SegmentGroup11 Maven / Gradle / Ivy

The newest version!
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d02a.PAYMUL;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d02a.common.SEQSequenceDetails;    
import org.milyn.edi.unedifact.d02a.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d02a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d02a.common.BUSBusinessFunction;    
import java.util.List;    
import org.milyn.edi.unedifact.d02a.common.RFFReference;    
import org.milyn.edi.unedifact.d02a.common.PAIPaymentInstructions;    
import org.milyn.edi.unedifact.d02a.common.FCAFinancialChargesAllocation;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup11 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private SEQSequenceDetails sEQSequenceDetails;
    private MOAMonetaryAmount mOAMonetaryAmount;
    private DTMDateTimePeriod dTMDateTimePeriod;
    private BUSBusinessFunction bUSBusinessFunction;
    private List rFFReference;
    private PAIPaymentInstructions pAIPaymentInstructions;
    private FCAFinancialChargesAllocation fCAFinancialChargesAllocation;
    private List segmentGroup12;
    private List segmentGroup13;
    private List segmentGroup14;
    private List segmentGroup15;
    private SegmentGroup16 segmentGroup16;

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

        if(sEQSequenceDetails != null) {
            nodeWriter.write("SEQ");
            nodeWriter.write(delimiters.getField());
            sEQSequenceDetails.write(nodeWriter, delimiters);
        }
        if(mOAMonetaryAmount != null) {
            nodeWriter.write("MOA");
            nodeWriter.write(delimiters.getField());
            mOAMonetaryAmount.write(nodeWriter, delimiters);
        }
        if(dTMDateTimePeriod != null) {
            nodeWriter.write("DTM");
            nodeWriter.write(delimiters.getField());
            dTMDateTimePeriod.write(nodeWriter, delimiters);
        }
        if(bUSBusinessFunction != null) {
            nodeWriter.write("BUS");
            nodeWriter.write(delimiters.getField());
            bUSBusinessFunction.write(nodeWriter, delimiters);
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(pAIPaymentInstructions != null) {
            nodeWriter.write("PAI");
            nodeWriter.write(delimiters.getField());
            pAIPaymentInstructions.write(nodeWriter, delimiters);
        }
        if(fCAFinancialChargesAllocation != null) {
            nodeWriter.write("FCA");
            nodeWriter.write(delimiters.getField());
            fCAFinancialChargesAllocation.write(nodeWriter, delimiters);
        }
        if(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
            for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
                segmentGroup12Inst.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.write(nodeWriter, delimiters);
        }
    }

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

    public SegmentGroup11 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
        this.sEQSequenceDetails = sEQSequenceDetails;  return this;
    }

    public MOAMonetaryAmount getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public DTMDateTimePeriod getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

    public SegmentGroup11 setDTMDateTimePeriod(DTMDateTimePeriod dTMDateTimePeriod) {
        this.dTMDateTimePeriod = dTMDateTimePeriod;  return this;
    }

    public BUSBusinessFunction getBUSBusinessFunction() {
        return bUSBusinessFunction;
    }

    public SegmentGroup11 setBUSBusinessFunction(BUSBusinessFunction bUSBusinessFunction) {
        this.bUSBusinessFunction = bUSBusinessFunction;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public PAIPaymentInstructions getPAIPaymentInstructions() {
        return pAIPaymentInstructions;
    }

    public SegmentGroup11 setPAIPaymentInstructions(PAIPaymentInstructions pAIPaymentInstructions) {
        this.pAIPaymentInstructions = pAIPaymentInstructions;  return this;
    }

    public FCAFinancialChargesAllocation getFCAFinancialChargesAllocation() {
        return fCAFinancialChargesAllocation;
    }

    public SegmentGroup11 setFCAFinancialChargesAllocation(FCAFinancialChargesAllocation fCAFinancialChargesAllocation) {
        this.fCAFinancialChargesAllocation = fCAFinancialChargesAllocation;  return this;
    }

    public List getSegmentGroup12() {
        return segmentGroup12;
    }

    public SegmentGroup11 setSegmentGroup12(List segmentGroup12) {
        this.segmentGroup12 = segmentGroup12;  return this;
    }

    public List getSegmentGroup13() {
        return segmentGroup13;
    }

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

    public List getSegmentGroup14() {
        return segmentGroup14;
    }

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

    public List getSegmentGroup15() {
        return segmentGroup15;
    }

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

    public SegmentGroup16 getSegmentGroup16() {
        return segmentGroup16;
    }

    public SegmentGroup11 setSegmentGroup16(SegmentGroup16 segmentGroup16) {
        this.segmentGroup16 = segmentGroup16;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy