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

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

public class SegmentGroup43 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private EQDEquipmentDetails eQDEquipmentDetails;
    private SEQSequenceDetails sEQSequenceDetails;
    private QTYQuantity qTYQuantity;
    private List gEIProcessingInformation;
    private List rFFReference;
    private RCSRequirementsAndConditions rCSRequirementsAndConditions;
    private List segmentGroup44;
    private List segmentGroup45;
    private SegmentGroup47 segmentGroup47;
    private List segmentGroup48;

    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(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(rCSRequirementsAndConditions != null) {
            nodeWriter.write("RCS");
            nodeWriter.write(delimiters.getField());
            rCSRequirementsAndConditions.write(nodeWriter, delimiters);
        }
        if(segmentGroup44 != null && !segmentGroup44.isEmpty()) {
            for(SegmentGroup44 segmentGroup44Inst : segmentGroup44) {
                segmentGroup44Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
            for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
                segmentGroup45Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup47 != null) {
            segmentGroup47.write(nodeWriter, delimiters);
        }
        if(segmentGroup48 != null && !segmentGroup48.isEmpty()) {
            for(SegmentGroup48 segmentGroup48Inst : segmentGroup48) {
                segmentGroup48Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public EQDEquipmentDetails getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

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

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

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

    public QTYQuantity getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public RCSRequirementsAndConditions getRCSRequirementsAndConditions() {
        return rCSRequirementsAndConditions;
    }

    public SegmentGroup43 setRCSRequirementsAndConditions(RCSRequirementsAndConditions rCSRequirementsAndConditions) {
        this.rCSRequirementsAndConditions = rCSRequirementsAndConditions;  return this;
    }

    public List getSegmentGroup44() {
        return segmentGroup44;
    }

    public SegmentGroup43 setSegmentGroup44(List segmentGroup44) {
        this.segmentGroup44 = segmentGroup44;  return this;
    }

    public List getSegmentGroup45() {
        return segmentGroup45;
    }

    public SegmentGroup43 setSegmentGroup45(List segmentGroup45) {
        this.segmentGroup45 = segmentGroup45;  return this;
    }

    public SegmentGroup47 getSegmentGroup47() {
        return segmentGroup47;
    }

    public SegmentGroup43 setSegmentGroup47(SegmentGroup47 segmentGroup47) {
        this.segmentGroup47 = segmentGroup47;  return this;
    }

    public List getSegmentGroup48() {
        return segmentGroup48;
    }

    public SegmentGroup43 setSegmentGroup48(List segmentGroup48) {
        this.segmentGroup48 = segmentGroup48;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy