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

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

public class SegmentGroup38 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private EQDEquipmentDetails eQDEquipmentDetails;
    private SEQSequenceDetails sEQSequenceDetails;
    private QTYQuantity qTYQuantity;
    private List gEIProcessingInformation;
    private List segmentGroup39;
    private List segmentGroup40;
    private SegmentGroup42 segmentGroup42;

    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(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
            for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
                segmentGroup39Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup40 != null && !segmentGroup40.isEmpty()) {
            for(SegmentGroup40 segmentGroup40Inst : segmentGroup40) {
                segmentGroup40Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup42 != null) {
            segmentGroup42.write(nodeWriter, delimiters);
        }
    }

    public EQDEquipmentDetails getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

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

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

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

    public QTYQuantity getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getSegmentGroup39() {
        return segmentGroup39;
    }

    public SegmentGroup38 setSegmentGroup39(List segmentGroup39) {
        this.segmentGroup39 = segmentGroup39;  return this;
    }

    public List getSegmentGroup40() {
        return segmentGroup40;
    }

    public SegmentGroup38 setSegmentGroup40(List segmentGroup40) {
        this.segmentGroup40 = segmentGroup40;  return this;
    }

    public SegmentGroup42 getSegmentGroup42() {
        return segmentGroup42;
    }

    public SegmentGroup38 setSegmentGroup42(SegmentGroup42 segmentGroup42) {
        this.segmentGroup42 = segmentGroup42;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy