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

org.milyn.edi.unedifact.d11b.GOVCBR.SegmentGroup224 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.edi.unedifact.d11b.common.LINLineItem;    
import java.util.List;    
import org.milyn.edi.unedifact.d11b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d11b.common.IFDInformationDetail;    
import org.milyn.edi.unedifact.d11b.common.STSStatus;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup224 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LINLineItem lINLineItem;
    private List mOAMonetaryAmount;
    private List iFDInformationDetail;
    private List sTSStatus;
    private List segmentGroup225;
    private List segmentGroup227;
    private List segmentGroup228;
    private List segmentGroup232;
    private SegmentGroup234 segmentGroup234;
    private List segmentGroup237;
    private List segmentGroup238;
    private List segmentGroup239;

    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(sTSStatus != null && !sTSStatus.isEmpty()) {
            for(STSStatus sTSStatusInst : sTSStatus) {
                nodeWriter.write("STS");
                nodeWriter.write(delimiters.getField());
                sTSStatusInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup225 != null && !segmentGroup225.isEmpty()) {
            for(SegmentGroup225 segmentGroup225Inst : segmentGroup225) {
                segmentGroup225Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup227 != null && !segmentGroup227.isEmpty()) {
            for(SegmentGroup227 segmentGroup227Inst : segmentGroup227) {
                segmentGroup227Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup228 != null && !segmentGroup228.isEmpty()) {
            for(SegmentGroup228 segmentGroup228Inst : segmentGroup228) {
                segmentGroup228Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup232 != null && !segmentGroup232.isEmpty()) {
            for(SegmentGroup232 segmentGroup232Inst : segmentGroup232) {
                segmentGroup232Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup234 != null) {
            segmentGroup234.write(nodeWriter, delimiters);
        }
        if(segmentGroup237 != null && !segmentGroup237.isEmpty()) {
            for(SegmentGroup237 segmentGroup237Inst : segmentGroup237) {
                segmentGroup237Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup238 != null && !segmentGroup238.isEmpty()) {
            for(SegmentGroup238 segmentGroup238Inst : segmentGroup238) {
                segmentGroup238Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup239 != null && !segmentGroup239.isEmpty()) {
            for(SegmentGroup239 segmentGroup239Inst : segmentGroup239) {
                segmentGroup239Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public List getSTSStatus() {
        return sTSStatus;
    }

    public SegmentGroup224 setSTSStatus(List sTSStatus) {
        this.sTSStatus = sTSStatus;  return this;
    }

    public List getSegmentGroup225() {
        return segmentGroup225;
    }

    public SegmentGroup224 setSegmentGroup225(List segmentGroup225) {
        this.segmentGroup225 = segmentGroup225;  return this;
    }

    public List getSegmentGroup227() {
        return segmentGroup227;
    }

    public SegmentGroup224 setSegmentGroup227(List segmentGroup227) {
        this.segmentGroup227 = segmentGroup227;  return this;
    }

    public List getSegmentGroup228() {
        return segmentGroup228;
    }

    public SegmentGroup224 setSegmentGroup228(List segmentGroup228) {
        this.segmentGroup228 = segmentGroup228;  return this;
    }

    public List getSegmentGroup232() {
        return segmentGroup232;
    }

    public SegmentGroup224 setSegmentGroup232(List segmentGroup232) {
        this.segmentGroup232 = segmentGroup232;  return this;
    }

    public SegmentGroup234 getSegmentGroup234() {
        return segmentGroup234;
    }

    public SegmentGroup224 setSegmentGroup234(SegmentGroup234 segmentGroup234) {
        this.segmentGroup234 = segmentGroup234;  return this;
    }

    public List getSegmentGroup237() {
        return segmentGroup237;
    }

    public SegmentGroup224 setSegmentGroup237(List segmentGroup237) {
        this.segmentGroup237 = segmentGroup237;  return this;
    }

    public List getSegmentGroup238() {
        return segmentGroup238;
    }

    public SegmentGroup224 setSegmentGroup238(List segmentGroup238) {
        this.segmentGroup238 = segmentGroup238;  return this;
    }

    public List getSegmentGroup239() {
        return segmentGroup239;
    }

    public SegmentGroup224 setSegmentGroup239(List segmentGroup239) {
        this.segmentGroup239 = segmentGroup239;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy