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

org.milyn.edi.unedifact.d09b.GOVCBR.SegmentGroup93 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.d09b.GOVCBR;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d09b.common.LINLineItem;    
import java.util.List;    
import org.milyn.edi.unedifact.d09b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d09b.common.IFDInformationDetail;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup93 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LINLineItem lINLineItem;
    private List mOAMonetaryAmount;
    private List iFDInformationDetail;
    private List segmentGroup94;
    private List segmentGroup96;
    private List segmentGroup97;
    private List segmentGroup101;
    private SegmentGroup103 segmentGroup103;
    private List segmentGroup106;
    private List segmentGroup107;
    private List segmentGroup108;
    private List segmentGroup109;

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

        if(lINLineItem != null) {
            nodeWriter.write("LIN");
            nodeWriter.write(delimiters.getField());
            lINLineItem.write(nodeWriter, delimiters);
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.write(nodeWriter, delimiters);
            }
        }
        if(iFDInformationDetail != null && !iFDInformationDetail.isEmpty()) {
            for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
                nodeWriter.write("IFD");
                nodeWriter.write(delimiters.getField());
                iFDInformationDetailInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup94 != null && !segmentGroup94.isEmpty()) {
            for(SegmentGroup94 segmentGroup94Inst : segmentGroup94) {
                segmentGroup94Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup96 != null && !segmentGroup96.isEmpty()) {
            for(SegmentGroup96 segmentGroup96Inst : segmentGroup96) {
                segmentGroup96Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup97 != null && !segmentGroup97.isEmpty()) {
            for(SegmentGroup97 segmentGroup97Inst : segmentGroup97) {
                segmentGroup97Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup101 != null && !segmentGroup101.isEmpty()) {
            for(SegmentGroup101 segmentGroup101Inst : segmentGroup101) {
                segmentGroup101Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup103 != null) {
            segmentGroup103.write(nodeWriter, delimiters);
        }
        if(segmentGroup106 != null && !segmentGroup106.isEmpty()) {
            for(SegmentGroup106 segmentGroup106Inst : segmentGroup106) {
                segmentGroup106Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup107 != null && !segmentGroup107.isEmpty()) {
            for(SegmentGroup107 segmentGroup107Inst : segmentGroup107) {
                segmentGroup107Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup108 != null && !segmentGroup108.isEmpty()) {
            for(SegmentGroup108 segmentGroup108Inst : segmentGroup108) {
                segmentGroup108Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup109 != null && !segmentGroup109.isEmpty()) {
            for(SegmentGroup109 segmentGroup109Inst : segmentGroup109) {
                segmentGroup109Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

    public SegmentGroup93 setLINLineItem(LINLineItem lINLineItem) {
        this.lINLineItem = lINLineItem;  return this;
    }

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

    public SegmentGroup93 setMOAMonetaryAmount(List mOAMonetaryAmount) {
        this.mOAMonetaryAmount = mOAMonetaryAmount;  return this;
    }

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public List getSegmentGroup94() {
        return segmentGroup94;
    }

    public SegmentGroup93 setSegmentGroup94(List segmentGroup94) {
        this.segmentGroup94 = segmentGroup94;  return this;
    }

    public List getSegmentGroup96() {
        return segmentGroup96;
    }

    public SegmentGroup93 setSegmentGroup96(List segmentGroup96) {
        this.segmentGroup96 = segmentGroup96;  return this;
    }

    public List getSegmentGroup97() {
        return segmentGroup97;
    }

    public SegmentGroup93 setSegmentGroup97(List segmentGroup97) {
        this.segmentGroup97 = segmentGroup97;  return this;
    }

    public List getSegmentGroup101() {
        return segmentGroup101;
    }

    public SegmentGroup93 setSegmentGroup101(List segmentGroup101) {
        this.segmentGroup101 = segmentGroup101;  return this;
    }

    public SegmentGroup103 getSegmentGroup103() {
        return segmentGroup103;
    }

    public SegmentGroup93 setSegmentGroup103(SegmentGroup103 segmentGroup103) {
        this.segmentGroup103 = segmentGroup103;  return this;
    }

    public List getSegmentGroup106() {
        return segmentGroup106;
    }

    public SegmentGroup93 setSegmentGroup106(List segmentGroup106) {
        this.segmentGroup106 = segmentGroup106;  return this;
    }

    public List getSegmentGroup107() {
        return segmentGroup107;
    }

    public SegmentGroup93 setSegmentGroup107(List segmentGroup107) {
        this.segmentGroup107 = segmentGroup107;  return this;
    }

    public List getSegmentGroup108() {
        return segmentGroup108;
    }

    public SegmentGroup93 setSegmentGroup108(List segmentGroup108) {
        this.segmentGroup108 = segmentGroup108;  return this;
    }

    public List getSegmentGroup109() {
        return segmentGroup109;
    }

    public SegmentGroup93 setSegmentGroup109(List segmentGroup109) {
        this.segmentGroup109 = segmentGroup109;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy