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

org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup168 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.EQDEquipmentDetails;    
import org.milyn.edi.unedifact.d15a.common.SEQSequenceDetails;    
import org.milyn.edi.unedifact.d15a.common.QTYQuantity;    
import java.util.List;    
import org.milyn.edi.unedifact.d15a.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d15a.common.GEIProcessingInformation;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup168 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private EQDEquipmentDetails eQDEquipmentDetails;
    private SEQSequenceDetails sEQSequenceDetails;
    private QTYQuantity qTYQuantity;
    private List mEAMeasurements;
    private List gEIProcessingInformation;
    private List segmentGroup169;
    private List segmentGroup170;
    private List segmentGroup172;

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

        if(eQDEquipmentDetails != null) {
            nodeWriter.write("EQD");
            nodeWriter.write(delimiters.getField());
            eQDEquipmentDetails.write(nodeWriter, delimiters);
        }
        if(sEQSequenceDetails != null) {
            nodeWriter.write("SEQ");
            nodeWriter.write(delimiters.getField());
            sEQSequenceDetails.write(nodeWriter, delimiters);
        }
        if(qTYQuantity != null) {
            nodeWriter.write("QTY");
            nodeWriter.write(delimiters.getField());
            qTYQuantity.write(nodeWriter, delimiters);
        }
        if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
            for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
                nodeWriter.write("MEA");
                nodeWriter.write(delimiters.getField());
                mEAMeasurementsInst.write(nodeWriter, delimiters);
            }
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup169 != null && !segmentGroup169.isEmpty()) {
            for(SegmentGroup169 segmentGroup169Inst : segmentGroup169) {
                segmentGroup169Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup170 != null && !segmentGroup170.isEmpty()) {
            for(SegmentGroup170 segmentGroup170Inst : segmentGroup170) {
                segmentGroup170Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup172 != null && !segmentGroup172.isEmpty()) {
            for(SegmentGroup172 segmentGroup172Inst : segmentGroup172) {
                segmentGroup172Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public EQDEquipmentDetails getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

    public SegmentGroup168 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
        this.eQDEquipmentDetails = eQDEquipmentDetails;  return this;
    }

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

    public SegmentGroup168 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
        this.sEQSequenceDetails = sEQSequenceDetails;  return this;
    }

    public QTYQuantity getQTYQuantity() {
        return qTYQuantity;
    }

    public SegmentGroup168 setQTYQuantity(QTYQuantity qTYQuantity) {
        this.qTYQuantity = qTYQuantity;  return this;
    }

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

    public SegmentGroup168 setMEAMeasurements(List mEAMeasurements) {
        this.mEAMeasurements = mEAMeasurements;  return this;
    }

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getSegmentGroup169() {
        return segmentGroup169;
    }

    public SegmentGroup168 setSegmentGroup169(List segmentGroup169) {
        this.segmentGroup169 = segmentGroup169;  return this;
    }

    public List getSegmentGroup170() {
        return segmentGroup170;
    }

    public SegmentGroup168 setSegmentGroup170(List segmentGroup170) {
        this.segmentGroup170 = segmentGroup170;  return this;
    }

    public List getSegmentGroup172() {
        return segmentGroup172;
    }

    public SegmentGroup168 setSegmentGroup172(List segmentGroup172) {
        this.segmentGroup172 = segmentGroup172;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy