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

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

public class SegmentGroup184 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private EQDEquipmentDetails eQDEquipmentDetails;
    private SEQSequenceDetails sEQSequenceDetails;
    private QTYQuantity qTYQuantity;
    private List gEIProcessingInformation;
    private List segmentGroup185;
    private List segmentGroup186;
    private List segmentGroup188;

    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(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup185 != null && !segmentGroup185.isEmpty()) {
            for(SegmentGroup185 segmentGroup185Inst : segmentGroup185) {
                segmentGroup185Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup186 != null && !segmentGroup186.isEmpty()) {
            for(SegmentGroup186 segmentGroup186Inst : segmentGroup186) {
                segmentGroup186Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup188 != null && !segmentGroup188.isEmpty()) {
            for(SegmentGroup188 segmentGroup188Inst : segmentGroup188) {
                segmentGroup188Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public EQDEquipmentDetails getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

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

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

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

    public QTYQuantity getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getSegmentGroup185() {
        return segmentGroup185;
    }

    public SegmentGroup184 setSegmentGroup185(List segmentGroup185) {
        this.segmentGroup185 = segmentGroup185;  return this;
    }

    public List getSegmentGroup186() {
        return segmentGroup186;
    }

    public SegmentGroup184 setSegmentGroup186(List segmentGroup186) {
        this.segmentGroup186 = segmentGroup186;  return this;
    }

    public List getSegmentGroup188() {
        return segmentGroup188;
    }

    public SegmentGroup184 setSegmentGroup188(List segmentGroup188) {
        this.segmentGroup188 = segmentGroup188;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy