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

org.milyn.edi.unedifact.d98a.MEDREQ.SegmentGroup13 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.d98a.MEDREQ;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d98a.common.SEQSequenceDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d98a.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d98a.common.PRCProcessIdentification;    
import org.milyn.edi.unedifact.d98a.common.RFFReference;    
import org.milyn.edi.unedifact.d98a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d98a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d98a.common.PACPackage;    
import org.milyn.edi.unedifact.d98a.common.PTYPriority;    
import org.milyn.edi.unedifact.d98a.common.FTXFreeText;    
import org.milyn.edi.unedifact.d98a.common.TDTDetailsOfTransport;    
import org.milyn.edi.unedifact.d98a.common.HANHandlingInstructions;    
import org.milyn.edi.unedifact.d98a.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d98a.common.ADRAddress;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup13 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private SEQSequenceDetails sEQSequenceDetails;
    private List iMDItemDescription;
    private List pRCProcessIdentification;
    private List rFFReference;
    private QTYQuantity qTYQuantity;
    private List dTMDateTimePeriod;
    private PACPackage pACPackage;
    private PTYPriority pTYPriority;
    private List fTXFreeText;
    private List tDTDetailsOfTransport;
    private List hANHandlingInstructions;
    private List lOCPlaceLocationIdentification;
    private List aDRAddress;
    private List segmentGroup14;

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

        if(sEQSequenceDetails != null) {
            nodeWriter.write("SEQ");
            nodeWriter.write(delimiters.getField());
            sEQSequenceDetails.write(nodeWriter, delimiters);
        }
        if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
            for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
                nodeWriter.write("IMD");
                nodeWriter.write(delimiters.getField());
                iMDItemDescriptionInst.write(nodeWriter, delimiters);
            }
        }
        if(pRCProcessIdentification != null && !pRCProcessIdentification.isEmpty()) {
            for(PRCProcessIdentification pRCProcessIdentificationInst : pRCProcessIdentification) {
                nodeWriter.write("PRC");
                nodeWriter.write(delimiters.getField());
                pRCProcessIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(qTYQuantity != null) {
            nodeWriter.write("QTY");
            nodeWriter.write(delimiters.getField());
            qTYQuantity.write(nodeWriter, delimiters);
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(pACPackage != null) {
            nodeWriter.write("PAC");
            nodeWriter.write(delimiters.getField());
            pACPackage.write(nodeWriter, delimiters);
        }
        if(pTYPriority != null) {
            nodeWriter.write("PTY");
            nodeWriter.write(delimiters.getField());
            pTYPriority.write(nodeWriter, delimiters);
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(tDTDetailsOfTransport != null && !tDTDetailsOfTransport.isEmpty()) {
            for(TDTDetailsOfTransport tDTDetailsOfTransportInst : tDTDetailsOfTransport) {
                nodeWriter.write("TDT");
                nodeWriter.write(delimiters.getField());
                tDTDetailsOfTransportInst.write(nodeWriter, delimiters);
            }
        }
        if(hANHandlingInstructions != null && !hANHandlingInstructions.isEmpty()) {
            for(HANHandlingInstructions hANHandlingInstructionsInst : hANHandlingInstructions) {
                nodeWriter.write("HAN");
                nodeWriter.write(delimiters.getField());
                hANHandlingInstructionsInst.write(nodeWriter, delimiters);
            }
        }
        if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
            for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
                nodeWriter.write("LOC");
                nodeWriter.write(delimiters.getField());
                lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(aDRAddress != null && !aDRAddress.isEmpty()) {
            for(ADRAddress aDRAddressInst : aDRAddress) {
                nodeWriter.write("ADR");
                nodeWriter.write(delimiters.getField());
                aDRAddressInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
            for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
                segmentGroup14Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

    public SegmentGroup13 setIMDItemDescription(List iMDItemDescription) {
        this.iMDItemDescription = iMDItemDescription;  return this;
    }

    public List getPRCProcessIdentification() {
        return pRCProcessIdentification;
    }

    public SegmentGroup13 setPRCProcessIdentification(List pRCProcessIdentification) {
        this.pRCProcessIdentification = pRCProcessIdentification;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public QTYQuantity getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public PACPackage getPACPackage() {
        return pACPackage;
    }

    public SegmentGroup13 setPACPackage(PACPackage pACPackage) {
        this.pACPackage = pACPackage;  return this;
    }

    public PTYPriority getPTYPriority() {
        return pTYPriority;
    }

    public SegmentGroup13 setPTYPriority(PTYPriority pTYPriority) {
        this.pTYPriority = pTYPriority;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getTDTDetailsOfTransport() {
        return tDTDetailsOfTransport;
    }

    public SegmentGroup13 setTDTDetailsOfTransport(List tDTDetailsOfTransport) {
        this.tDTDetailsOfTransport = tDTDetailsOfTransport;  return this;
    }

    public List getHANHandlingInstructions() {
        return hANHandlingInstructions;
    }

    public SegmentGroup13 setHANHandlingInstructions(List hANHandlingInstructions) {
        this.hANHandlingInstructions = hANHandlingInstructions;  return this;
    }

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

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

    public List getADRAddress() {
        return aDRAddress;
    }

    public SegmentGroup13 setADRAddress(List aDRAddress) {
        this.aDRAddress = aDRAddress;  return this;
    }

    public List getSegmentGroup14() {
        return segmentGroup14;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy