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

org.milyn.edi.unedifact.d99b.MEDRUC.SegmentGroup17 Maven / Gradle / Ivy

The newest version!
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d99b.MEDRUC;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d99b.common.TDTDetailsOfTransport;    
import org.milyn.edi.unedifact.d99b.common.GISGeneralIndicator;    
import java.util.List;    
import org.milyn.edi.unedifact.d99b.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d99b.common.PNAPartyIdentification;    
import org.milyn.edi.unedifact.d99b.common.RFFReference;    
import org.milyn.edi.unedifact.d99b.common.FTXFreeText;    
import org.milyn.edi.unedifact.d99b.common.CINClinicalInformation;    
import org.milyn.edi.unedifact.d99b.common.QTYQuantity;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup17 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private TDTDetailsOfTransport tDTDetailsOfTransport;
    private GISGeneralIndicator gISGeneralIndicator;
    private List iMDItemDescription;
    private List pNAPartyIdentification;
    private List rFFReference;
    private List fTXFreeText;
    private List cINClinicalInformation;
    private List qTYQuantity;
    private List segmentGroup18;
    private List segmentGroup19;
    private List segmentGroup20;

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

        if(tDTDetailsOfTransport != null) {
            nodeWriter.write("TDT");
            nodeWriter.write(delimiters.getField());
            tDTDetailsOfTransport.write(nodeWriter, delimiters);
        }
        if(gISGeneralIndicator != null) {
            nodeWriter.write("GIS");
            nodeWriter.write(delimiters.getField());
            gISGeneralIndicator.write(nodeWriter, delimiters);
        }
        if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
            for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
                nodeWriter.write("IMD");
                nodeWriter.write(delimiters.getField());
                iMDItemDescriptionInst.write(nodeWriter, delimiters);
            }
        }
        if(pNAPartyIdentification != null && !pNAPartyIdentification.isEmpty()) {
            for(PNAPartyIdentification pNAPartyIdentificationInst : pNAPartyIdentification) {
                nodeWriter.write("PNA");
                nodeWriter.write(delimiters.getField());
                pNAPartyIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(cINClinicalInformation != null && !cINClinicalInformation.isEmpty()) {
            for(CINClinicalInformation cINClinicalInformationInst : cINClinicalInformation) {
                nodeWriter.write("CIN");
                nodeWriter.write(delimiters.getField());
                cINClinicalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup18 != null && !segmentGroup18.isEmpty()) {
            for(SegmentGroup18 segmentGroup18Inst : segmentGroup18) {
                segmentGroup18Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup19 != null && !segmentGroup19.isEmpty()) {
            for(SegmentGroup19 segmentGroup19Inst : segmentGroup19) {
                segmentGroup19Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
            for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
                segmentGroup20Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public TDTDetailsOfTransport getTDTDetailsOfTransport() {
        return tDTDetailsOfTransport;
    }

    public SegmentGroup17 setTDTDetailsOfTransport(TDTDetailsOfTransport tDTDetailsOfTransport) {
        this.tDTDetailsOfTransport = tDTDetailsOfTransport;  return this;
    }

    public GISGeneralIndicator getGISGeneralIndicator() {
        return gISGeneralIndicator;
    }

    public SegmentGroup17 setGISGeneralIndicator(GISGeneralIndicator gISGeneralIndicator) {
        this.gISGeneralIndicator = gISGeneralIndicator;  return this;
    }

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

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

    public List getPNAPartyIdentification() {
        return pNAPartyIdentification;
    }

    public SegmentGroup17 setPNAPartyIdentification(List pNAPartyIdentification) {
        this.pNAPartyIdentification = pNAPartyIdentification;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getCINClinicalInformation() {
        return cINClinicalInformation;
    }

    public SegmentGroup17 setCINClinicalInformation(List cINClinicalInformation) {
        this.cINClinicalInformation = cINClinicalInformation;  return this;
    }

    public List getQTYQuantity() {
        return qTYQuantity;
    }

    public SegmentGroup17 setQTYQuantity(List qTYQuantity) {
        this.qTYQuantity = qTYQuantity;  return this;
    }

    public List getSegmentGroup18() {
        return segmentGroup18;
    }

    public SegmentGroup17 setSegmentGroup18(List segmentGroup18) {
        this.segmentGroup18 = segmentGroup18;  return this;
    }

    public List getSegmentGroup19() {
        return segmentGroup19;
    }

    public SegmentGroup17 setSegmentGroup19(List segmentGroup19) {
        this.segmentGroup19 = segmentGroup19;  return this;
    }

    public List getSegmentGroup20() {
        return segmentGroup20;
    }

    public SegmentGroup17 setSegmentGroup20(List segmentGroup20) {
        this.segmentGroup20 = segmentGroup20;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy