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

org.milyn.edi.unedifact.d11b.GOVCBR.SegmentGroup69 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.CNIConsignmentInformation;    
import java.util.List;    
import org.milyn.edi.unedifact.d11b.common.RFFReference;    
import org.milyn.edi.unedifact.d11b.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d11b.common.STSStatus;    
import org.milyn.edi.unedifact.d11b.common.CNTControlTotal;    
import org.milyn.edi.unedifact.d11b.common.QTYQuantity;    
import org.milyn.edi.unedifact.d11b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d11b.common.IFDInformationDetail;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup69 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private CNIConsignmentInformation cNIConsignmentInformation;
    private List rFFReference;
    private List gEIProcessingInformation;
    private List sTSStatus;
    private CNTControlTotal cNTControlTotal;
    private List qTYQuantity;
    private List mOAMonetaryAmount;
    private List iFDInformationDetail;
    private List segmentGroup70;
    private List segmentGroup72;
    private List segmentGroup74;
    private List segmentGroup78;
    private SegmentGroup80 segmentGroup80;
    private List segmentGroup83;
    private List segmentGroup84;
    private List segmentGroup85;
    private List segmentGroup89;

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

        if(cNIConsignmentInformation != null) {
            nodeWriter.write("CNI");
            nodeWriter.write(delimiters.getField());
            cNIConsignmentInformation.write(nodeWriter, delimiters);
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(sTSStatus != null && !sTSStatus.isEmpty()) {
            for(STSStatus sTSStatusInst : sTSStatus) {
                nodeWriter.write("STS");
                nodeWriter.write(delimiters.getField());
                sTSStatusInst.write(nodeWriter, delimiters);
            }
        }
        if(cNTControlTotal != null) {
            nodeWriter.write("CNT");
            nodeWriter.write(delimiters.getField());
            cNTControlTotal.write(nodeWriter, delimiters);
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.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(segmentGroup70 != null && !segmentGroup70.isEmpty()) {
            for(SegmentGroup70 segmentGroup70Inst : segmentGroup70) {
                segmentGroup70Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup72 != null && !segmentGroup72.isEmpty()) {
            for(SegmentGroup72 segmentGroup72Inst : segmentGroup72) {
                segmentGroup72Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup74 != null && !segmentGroup74.isEmpty()) {
            for(SegmentGroup74 segmentGroup74Inst : segmentGroup74) {
                segmentGroup74Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup78 != null && !segmentGroup78.isEmpty()) {
            for(SegmentGroup78 segmentGroup78Inst : segmentGroup78) {
                segmentGroup78Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup80 != null) {
            segmentGroup80.write(nodeWriter, delimiters);
        }
        if(segmentGroup83 != null && !segmentGroup83.isEmpty()) {
            for(SegmentGroup83 segmentGroup83Inst : segmentGroup83) {
                segmentGroup83Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup84 != null && !segmentGroup84.isEmpty()) {
            for(SegmentGroup84 segmentGroup84Inst : segmentGroup84) {
                segmentGroup84Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup85 != null && !segmentGroup85.isEmpty()) {
            for(SegmentGroup85 segmentGroup85Inst : segmentGroup85) {
                segmentGroup85Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup89 != null && !segmentGroup89.isEmpty()) {
            for(SegmentGroup89 segmentGroup89Inst : segmentGroup89) {
                segmentGroup89Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public CNIConsignmentInformation getCNIConsignmentInformation() {
        return cNIConsignmentInformation;
    }

    public SegmentGroup69 setCNIConsignmentInformation(CNIConsignmentInformation cNIConsignmentInformation) {
        this.cNIConsignmentInformation = cNIConsignmentInformation;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

    public SegmentGroup69 setGEIProcessingInformation(List gEIProcessingInformation) {
        this.gEIProcessingInformation = gEIProcessingInformation;  return this;
    }

    public List getSTSStatus() {
        return sTSStatus;
    }

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

    public CNTControlTotal getCNTControlTotal() {
        return cNTControlTotal;
    }

    public SegmentGroup69 setCNTControlTotal(CNTControlTotal cNTControlTotal) {
        this.cNTControlTotal = cNTControlTotal;  return this;
    }

    public List getQTYQuantity() {
        return qTYQuantity;
    }

    public SegmentGroup69 setQTYQuantity(List qTYQuantity) {
        this.qTYQuantity = qTYQuantity;  return this;
    }

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public List getSegmentGroup70() {
        return segmentGroup70;
    }

    public SegmentGroup69 setSegmentGroup70(List segmentGroup70) {
        this.segmentGroup70 = segmentGroup70;  return this;
    }

    public List getSegmentGroup72() {
        return segmentGroup72;
    }

    public SegmentGroup69 setSegmentGroup72(List segmentGroup72) {
        this.segmentGroup72 = segmentGroup72;  return this;
    }

    public List getSegmentGroup74() {
        return segmentGroup74;
    }

    public SegmentGroup69 setSegmentGroup74(List segmentGroup74) {
        this.segmentGroup74 = segmentGroup74;  return this;
    }

    public List getSegmentGroup78() {
        return segmentGroup78;
    }

    public SegmentGroup69 setSegmentGroup78(List segmentGroup78) {
        this.segmentGroup78 = segmentGroup78;  return this;
    }

    public SegmentGroup80 getSegmentGroup80() {
        return segmentGroup80;
    }

    public SegmentGroup69 setSegmentGroup80(SegmentGroup80 segmentGroup80) {
        this.segmentGroup80 = segmentGroup80;  return this;
    }

    public List getSegmentGroup83() {
        return segmentGroup83;
    }

    public SegmentGroup69 setSegmentGroup83(List segmentGroup83) {
        this.segmentGroup83 = segmentGroup83;  return this;
    }

    public List getSegmentGroup84() {
        return segmentGroup84;
    }

    public SegmentGroup69 setSegmentGroup84(List segmentGroup84) {
        this.segmentGroup84 = segmentGroup84;  return this;
    }

    public List getSegmentGroup85() {
        return segmentGroup85;
    }

    public SegmentGroup69 setSegmentGroup85(List segmentGroup85) {
        this.segmentGroup85 = segmentGroup85;  return this;
    }

    public List getSegmentGroup89() {
        return segmentGroup89;
    }

    public SegmentGroup69 setSegmentGroup89(List segmentGroup89) {
        this.segmentGroup89 = segmentGroup89;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy