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

org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup150 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.MEAMeasurements;    
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.HANHandlingInstructions;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup150 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private CNIConsignmentInformation cNIConsignmentInformation;
    private List rFFReference;
    private List gEIProcessingInformation;
    private List sTSStatus;
    private MEAMeasurements mEAMeasurements;
    private List qTYQuantity;
    private List mOAMonetaryAmount;
    private List iFDInformationDetail;
    private HANHandlingInstructions hANHandlingInstructions;
    private List segmentGroup151;
    private List segmentGroup153;
    private List segmentGroup154;
    private List segmentGroup158;
    private SegmentGroup160 segmentGroup160;
    private List segmentGroup163;
    private List segmentGroup164;
    private List segmentGroup165;
    private List segmentGroup166;
    private SegmentGroup167 segmentGroup167;
    private List segmentGroup168;
    private List segmentGroup173;
    private List segmentGroup190;
    private List segmentGroup246;

    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(mEAMeasurements != null) {
            nodeWriter.write("MEA");
            nodeWriter.write(delimiters.getField());
            mEAMeasurements.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(hANHandlingInstructions != null) {
            nodeWriter.write("HAN");
            nodeWriter.write(delimiters.getField());
            hANHandlingInstructions.write(nodeWriter, delimiters);
        }
        if(segmentGroup151 != null && !segmentGroup151.isEmpty()) {
            for(SegmentGroup151 segmentGroup151Inst : segmentGroup151) {
                segmentGroup151Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup153 != null && !segmentGroup153.isEmpty()) {
            for(SegmentGroup153 segmentGroup153Inst : segmentGroup153) {
                segmentGroup153Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup154 != null && !segmentGroup154.isEmpty()) {
            for(SegmentGroup154 segmentGroup154Inst : segmentGroup154) {
                segmentGroup154Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup158 != null && !segmentGroup158.isEmpty()) {
            for(SegmentGroup158 segmentGroup158Inst : segmentGroup158) {
                segmentGroup158Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup160 != null) {
            segmentGroup160.write(nodeWriter, delimiters);
        }
        if(segmentGroup163 != null && !segmentGroup163.isEmpty()) {
            for(SegmentGroup163 segmentGroup163Inst : segmentGroup163) {
                segmentGroup163Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup164 != null && !segmentGroup164.isEmpty()) {
            for(SegmentGroup164 segmentGroup164Inst : segmentGroup164) {
                segmentGroup164Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup165 != null && !segmentGroup165.isEmpty()) {
            for(SegmentGroup165 segmentGroup165Inst : segmentGroup165) {
                segmentGroup165Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup166 != null && !segmentGroup166.isEmpty()) {
            for(SegmentGroup166 segmentGroup166Inst : segmentGroup166) {
                segmentGroup166Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup167 != null) {
            segmentGroup167.write(nodeWriter, delimiters);
        }
        if(segmentGroup168 != null && !segmentGroup168.isEmpty()) {
            for(SegmentGroup168 segmentGroup168Inst : segmentGroup168) {
                segmentGroup168Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup173 != null && !segmentGroup173.isEmpty()) {
            for(SegmentGroup173 segmentGroup173Inst : segmentGroup173) {
                segmentGroup173Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup190 != null && !segmentGroup190.isEmpty()) {
            for(SegmentGroup190 segmentGroup190Inst : segmentGroup190) {
                segmentGroup190Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup246 != null && !segmentGroup246.isEmpty()) {
            for(SegmentGroup246 segmentGroup246Inst : segmentGroup246) {
                segmentGroup246Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public CNIConsignmentInformation getCNIConsignmentInformation() {
        return cNIConsignmentInformation;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getSTSStatus() {
        return sTSStatus;
    }

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

    public MEAMeasurements getMEAMeasurements() {
        return mEAMeasurements;
    }

    public SegmentGroup150 setMEAMeasurements(MEAMeasurements mEAMeasurements) {
        this.mEAMeasurements = mEAMeasurements;  return this;
    }

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public HANHandlingInstructions getHANHandlingInstructions() {
        return hANHandlingInstructions;
    }

    public SegmentGroup150 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
        this.hANHandlingInstructions = hANHandlingInstructions;  return this;
    }

    public List getSegmentGroup151() {
        return segmentGroup151;
    }

    public SegmentGroup150 setSegmentGroup151(List segmentGroup151) {
        this.segmentGroup151 = segmentGroup151;  return this;
    }

    public List getSegmentGroup153() {
        return segmentGroup153;
    }

    public SegmentGroup150 setSegmentGroup153(List segmentGroup153) {
        this.segmentGroup153 = segmentGroup153;  return this;
    }

    public List getSegmentGroup154() {
        return segmentGroup154;
    }

    public SegmentGroup150 setSegmentGroup154(List segmentGroup154) {
        this.segmentGroup154 = segmentGroup154;  return this;
    }

    public List getSegmentGroup158() {
        return segmentGroup158;
    }

    public SegmentGroup150 setSegmentGroup158(List segmentGroup158) {
        this.segmentGroup158 = segmentGroup158;  return this;
    }

    public SegmentGroup160 getSegmentGroup160() {
        return segmentGroup160;
    }

    public SegmentGroup150 setSegmentGroup160(SegmentGroup160 segmentGroup160) {
        this.segmentGroup160 = segmentGroup160;  return this;
    }

    public List getSegmentGroup163() {
        return segmentGroup163;
    }

    public SegmentGroup150 setSegmentGroup163(List segmentGroup163) {
        this.segmentGroup163 = segmentGroup163;  return this;
    }

    public List getSegmentGroup164() {
        return segmentGroup164;
    }

    public SegmentGroup150 setSegmentGroup164(List segmentGroup164) {
        this.segmentGroup164 = segmentGroup164;  return this;
    }

    public List getSegmentGroup165() {
        return segmentGroup165;
    }

    public SegmentGroup150 setSegmentGroup165(List segmentGroup165) {
        this.segmentGroup165 = segmentGroup165;  return this;
    }

    public List getSegmentGroup166() {
        return segmentGroup166;
    }

    public SegmentGroup150 setSegmentGroup166(List segmentGroup166) {
        this.segmentGroup166 = segmentGroup166;  return this;
    }

    public SegmentGroup167 getSegmentGroup167() {
        return segmentGroup167;
    }

    public SegmentGroup150 setSegmentGroup167(SegmentGroup167 segmentGroup167) {
        this.segmentGroup167 = segmentGroup167;  return this;
    }

    public List getSegmentGroup168() {
        return segmentGroup168;
    }

    public SegmentGroup150 setSegmentGroup168(List segmentGroup168) {
        this.segmentGroup168 = segmentGroup168;  return this;
    }

    public List getSegmentGroup173() {
        return segmentGroup173;
    }

    public SegmentGroup150 setSegmentGroup173(List segmentGroup173) {
        this.segmentGroup173 = segmentGroup173;  return this;
    }

    public List getSegmentGroup190() {
        return segmentGroup190;
    }

    public SegmentGroup150 setSegmentGroup190(List segmentGroup190) {
        this.segmentGroup190 = segmentGroup190;  return this;
    }

    public List getSegmentGroup246() {
        return segmentGroup246;
    }

    public SegmentGroup150 setSegmentGroup246(List segmentGroup246) {
        this.segmentGroup246 = segmentGroup246;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy