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

org.milyn.edi.unedifact.d11b.CUSRES.SegmentGroup6 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.CUSRES;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d11b.common.DOCDocumentMessageDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d11b.common.PACPackage;    
import org.milyn.edi.unedifact.d11b.common.RFFReference;    
import org.milyn.edi.unedifact.d11b.common.PCIPackageIdentification;    
import org.milyn.edi.unedifact.d11b.common.FTXFreeText;    
import org.milyn.edi.unedifact.d11b.common.TDTTransportInformation;    
import org.milyn.edi.unedifact.d11b.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d11b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d11b.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d11b.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d11b.common.EQDEquipmentDetails;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup6 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private DOCDocumentMessageDetails dOCDocumentMessageDetails;
    private List pACPackage;
    private List rFFReference;
    private List pCIPackageIdentification;
    private List fTXFreeText;
    private List tDTTransportInformation;
    private List lOCPlaceLocationIdentification;
    private List dTMDateTimePeriod;
    private List gEIProcessingInformation;
    private List mEAMeasurements;
    private List eQDEquipmentDetails;
    private List segmentGroup7;
    private List segmentGroup9;
    private List segmentGroup11;
    private List segmentGroup12;
    private List segmentGroup14;

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

        if(dOCDocumentMessageDetails != null) {
            nodeWriter.write("DOC");
            nodeWriter.write(delimiters.getField());
            dOCDocumentMessageDetails.write(nodeWriter, delimiters);
        }
        if(pACPackage != null && !pACPackage.isEmpty()) {
            for(PACPackage pACPackageInst : pACPackage) {
                nodeWriter.write("PAC");
                nodeWriter.write(delimiters.getField());
                pACPackageInst.write(nodeWriter, delimiters);
            }
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(pCIPackageIdentification != null && !pCIPackageIdentification.isEmpty()) {
            for(PCIPackageIdentification pCIPackageIdentificationInst : pCIPackageIdentification) {
                nodeWriter.write("PCI");
                nodeWriter.write(delimiters.getField());
                pCIPackageIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(tDTTransportInformation != null && !tDTTransportInformation.isEmpty()) {
            for(TDTTransportInformation tDTTransportInformationInst : tDTTransportInformation) {
                nodeWriter.write("TDT");
                nodeWriter.write(delimiters.getField());
                tDTTransportInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
            for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
                nodeWriter.write("LOC");
                nodeWriter.write(delimiters.getField());
                lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
            for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
                nodeWriter.write("MEA");
                nodeWriter.write(delimiters.getField());
                mEAMeasurementsInst.write(nodeWriter, delimiters);
            }
        }
        if(eQDEquipmentDetails != null && !eQDEquipmentDetails.isEmpty()) {
            for(EQDEquipmentDetails eQDEquipmentDetailsInst : eQDEquipmentDetails) {
                nodeWriter.write("EQD");
                nodeWriter.write(delimiters.getField());
                eQDEquipmentDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup7 != null && !segmentGroup7.isEmpty()) {
            for(SegmentGroup7 segmentGroup7Inst : segmentGroup7) {
                segmentGroup7Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup9 != null && !segmentGroup9.isEmpty()) {
            for(SegmentGroup9 segmentGroup9Inst : segmentGroup9) {
                segmentGroup9Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup11 != null && !segmentGroup11.isEmpty()) {
            for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) {
                segmentGroup11Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
            for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
                segmentGroup12Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
            for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
                segmentGroup14Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public DOCDocumentMessageDetails getDOCDocumentMessageDetails() {
        return dOCDocumentMessageDetails;
    }

    public SegmentGroup6 setDOCDocumentMessageDetails(DOCDocumentMessageDetails dOCDocumentMessageDetails) {
        this.dOCDocumentMessageDetails = dOCDocumentMessageDetails;  return this;
    }

    public List getPACPackage() {
        return pACPackage;
    }

    public SegmentGroup6 setPACPackage(List pACPackage) {
        this.pACPackage = pACPackage;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getPCIPackageIdentification() {
        return pCIPackageIdentification;
    }

    public SegmentGroup6 setPCIPackageIdentification(List pCIPackageIdentification) {
        this.pCIPackageIdentification = pCIPackageIdentification;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

    public SegmentGroup6 setFTXFreeText(List fTXFreeText) {
        this.fTXFreeText = fTXFreeText;  return this;
    }

    public List getTDTTransportInformation() {
        return tDTTransportInformation;
    }

    public SegmentGroup6 setTDTTransportInformation(List tDTTransportInformation) {
        this.tDTTransportInformation = tDTTransportInformation;  return this;
    }

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

    public SegmentGroup6 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
        this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

    public SegmentGroup6 setDTMDateTimePeriod(List dTMDateTimePeriod) {
        this.dTMDateTimePeriod = dTMDateTimePeriod;  return this;
    }

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

    public SegmentGroup6 setEQDEquipmentDetails(List eQDEquipmentDetails) {
        this.eQDEquipmentDetails = eQDEquipmentDetails;  return this;
    }

    public List getSegmentGroup7() {
        return segmentGroup7;
    }

    public SegmentGroup6 setSegmentGroup7(List segmentGroup7) {
        this.segmentGroup7 = segmentGroup7;  return this;
    }

    public List getSegmentGroup9() {
        return segmentGroup9;
    }

    public SegmentGroup6 setSegmentGroup9(List segmentGroup9) {
        this.segmentGroup9 = segmentGroup9;  return this;
    }

    public List getSegmentGroup11() {
        return segmentGroup11;
    }

    public SegmentGroup6 setSegmentGroup11(List segmentGroup11) {
        this.segmentGroup11 = segmentGroup11;  return this;
    }

    public List getSegmentGroup12() {
        return segmentGroup12;
    }

    public SegmentGroup6 setSegmentGroup12(List segmentGroup12) {
        this.segmentGroup12 = segmentGroup12;  return this;
    }

    public List getSegmentGroup14() {
        return segmentGroup14;
    }

    public SegmentGroup6 setSegmentGroup14(List segmentGroup14) {
        this.segmentGroup14 = segmentGroup14;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy