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

org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup78 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.d15a.GOVCBR;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d15a.common.CNIConsignmentInformation;    
import java.util.List;    
import org.milyn.edi.unedifact.d15a.common.RFFReference;    
import org.milyn.edi.unedifact.d15a.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d15a.common.STSStatus;    
import org.milyn.edi.unedifact.d15a.common.CNTControlTotal;    
import org.milyn.edi.unedifact.d15a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d15a.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d15a.common.IFDInformationDetail;    
import org.milyn.edi.unedifact.d15a.common.TODTermsOfDeliveryOrTransport;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup78 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 tODTermsOfDeliveryOrTransport;
    private List segmentGroup79;
    private List segmentGroup81;
    private List segmentGroup83;
    private List segmentGroup87;
    private SegmentGroup89 segmentGroup89;
    private List segmentGroup92;
    private List segmentGroup93;
    private List segmentGroup94;
    private List segmentGroup98;

    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(tODTermsOfDeliveryOrTransport != null && !tODTermsOfDeliveryOrTransport.isEmpty()) {
            for(TODTermsOfDeliveryOrTransport tODTermsOfDeliveryOrTransportInst : tODTermsOfDeliveryOrTransport) {
                nodeWriter.write("TOD");
                nodeWriter.write(delimiters.getField());
                tODTermsOfDeliveryOrTransportInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup79 != null && !segmentGroup79.isEmpty()) {
            for(SegmentGroup79 segmentGroup79Inst : segmentGroup79) {
                segmentGroup79Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup81 != null && !segmentGroup81.isEmpty()) {
            for(SegmentGroup81 segmentGroup81Inst : segmentGroup81) {
                segmentGroup81Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup83 != null && !segmentGroup83.isEmpty()) {
            for(SegmentGroup83 segmentGroup83Inst : segmentGroup83) {
                segmentGroup83Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup87 != null && !segmentGroup87.isEmpty()) {
            for(SegmentGroup87 segmentGroup87Inst : segmentGroup87) {
                segmentGroup87Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup89 != null) {
            segmentGroup89.write(nodeWriter, delimiters);
        }
        if(segmentGroup92 != null && !segmentGroup92.isEmpty()) {
            for(SegmentGroup92 segmentGroup92Inst : segmentGroup92) {
                segmentGroup92Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup93 != null && !segmentGroup93.isEmpty()) {
            for(SegmentGroup93 segmentGroup93Inst : segmentGroup93) {
                segmentGroup93Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup94 != null && !segmentGroup94.isEmpty()) {
            for(SegmentGroup94 segmentGroup94Inst : segmentGroup94) {
                segmentGroup94Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup98 != null && !segmentGroup98.isEmpty()) {
            for(SegmentGroup98 segmentGroup98Inst : segmentGroup98) {
                segmentGroup98Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public CNIConsignmentInformation getCNIConsignmentInformation() {
        return cNIConsignmentInformation;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getSTSStatus() {
        return sTSStatus;
    }

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

    public CNTControlTotal getCNTControlTotal() {
        return cNTControlTotal;
    }

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

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public List getTODTermsOfDeliveryOrTransport() {
        return tODTermsOfDeliveryOrTransport;
    }

    public SegmentGroup78 setTODTermsOfDeliveryOrTransport(List tODTermsOfDeliveryOrTransport) {
        this.tODTermsOfDeliveryOrTransport = tODTermsOfDeliveryOrTransport;  return this;
    }

    public List getSegmentGroup79() {
        return segmentGroup79;
    }

    public SegmentGroup78 setSegmentGroup79(List segmentGroup79) {
        this.segmentGroup79 = segmentGroup79;  return this;
    }

    public List getSegmentGroup81() {
        return segmentGroup81;
    }

    public SegmentGroup78 setSegmentGroup81(List segmentGroup81) {
        this.segmentGroup81 = segmentGroup81;  return this;
    }

    public List getSegmentGroup83() {
        return segmentGroup83;
    }

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

    public List getSegmentGroup87() {
        return segmentGroup87;
    }

    public SegmentGroup78 setSegmentGroup87(List segmentGroup87) {
        this.segmentGroup87 = segmentGroup87;  return this;
    }

    public SegmentGroup89 getSegmentGroup89() {
        return segmentGroup89;
    }

    public SegmentGroup78 setSegmentGroup89(SegmentGroup89 segmentGroup89) {
        this.segmentGroup89 = segmentGroup89;  return this;
    }

    public List getSegmentGroup92() {
        return segmentGroup92;
    }

    public SegmentGroup78 setSegmentGroup92(List segmentGroup92) {
        this.segmentGroup92 = segmentGroup92;  return this;
    }

    public List getSegmentGroup93() {
        return segmentGroup93;
    }

    public SegmentGroup78 setSegmentGroup93(List segmentGroup93) {
        this.segmentGroup93 = segmentGroup93;  return this;
    }

    public List getSegmentGroup94() {
        return segmentGroup94;
    }

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

    public List getSegmentGroup98() {
        return segmentGroup98;
    }

    public SegmentGroup78 setSegmentGroup98(List segmentGroup98) {
        this.segmentGroup98 = segmentGroup98;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy