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

org.milyn.edi.unedifact.d05a.MEDPRE.SegmentGroup14 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.d05a.MEDPRE;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d05a.common.LINLineItem;    
import java.util.List;    
import org.milyn.edi.unedifact.d05a.common.DSGDosageAdministration;    
import org.milyn.edi.unedifact.d05a.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d05a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d05a.common.PGIProductGroupInformation;    
import org.milyn.edi.unedifact.d05a.common.PNAPartyIdentification;    
import org.milyn.edi.unedifact.d05a.common.PACPackage;    
import org.milyn.edi.unedifact.d05a.common.IDEIdentity;    
import org.milyn.edi.unedifact.d05a.common.DLMDeliveryLimitations;    
import org.milyn.edi.unedifact.d05a.common.EQNNumberOfUnits;    
import org.milyn.edi.unedifact.d05a.common.PRCProcessIdentification;    
import org.milyn.edi.unedifact.d05a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d05a.common.STSStatus;    
import org.milyn.edi.unedifact.d05a.common.CINClinicalInformation;    
import org.milyn.edi.unedifact.d05a.common.FTXFreeText;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup14 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LINLineItem lINLineItem;
    private List dSGDosageAdministration;
    private IMDItemDescription iMDItemDescription;
    private List qTYQuantity;
    private List pGIProductGroupInformation;
    private List pNAPartyIdentification;
    private PACPackage pACPackage;
    private List iDEIdentity;
    private List dLMDeliveryLimitations;
    private EQNNumberOfUnits eQNNumberOfUnits;
    private List pRCProcessIdentification;
    private List dTMDateTimePeriod;
    private STSStatus sTSStatus;
    private List cINClinicalInformation;
    private List fTXFreeText;
    private List segmentGroup15;
    private List segmentGroup16;
    private List segmentGroup17;

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

        if(lINLineItem != null) {
            nodeWriter.write("LIN");
            nodeWriter.write(delimiters.getField());
            lINLineItem.write(nodeWriter, delimiters);
        }
        if(dSGDosageAdministration != null && !dSGDosageAdministration.isEmpty()) {
            for(DSGDosageAdministration dSGDosageAdministrationInst : dSGDosageAdministration) {
                nodeWriter.write("DSG");
                nodeWriter.write(delimiters.getField());
                dSGDosageAdministrationInst.write(nodeWriter, delimiters);
            }
        }
        if(iMDItemDescription != null) {
            nodeWriter.write("IMD");
            nodeWriter.write(delimiters.getField());
            iMDItemDescription.write(nodeWriter, delimiters);
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(pGIProductGroupInformation != null && !pGIProductGroupInformation.isEmpty()) {
            for(PGIProductGroupInformation pGIProductGroupInformationInst : pGIProductGroupInformation) {
                nodeWriter.write("PGI");
                nodeWriter.write(delimiters.getField());
                pGIProductGroupInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(pNAPartyIdentification != null && !pNAPartyIdentification.isEmpty()) {
            for(PNAPartyIdentification pNAPartyIdentificationInst : pNAPartyIdentification) {
                nodeWriter.write("PNA");
                nodeWriter.write(delimiters.getField());
                pNAPartyIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(pACPackage != null) {
            nodeWriter.write("PAC");
            nodeWriter.write(delimiters.getField());
            pACPackage.write(nodeWriter, delimiters);
        }
        if(iDEIdentity != null && !iDEIdentity.isEmpty()) {
            for(IDEIdentity iDEIdentityInst : iDEIdentity) {
                nodeWriter.write("IDE");
                nodeWriter.write(delimiters.getField());
                iDEIdentityInst.write(nodeWriter, delimiters);
            }
        }
        if(dLMDeliveryLimitations != null && !dLMDeliveryLimitations.isEmpty()) {
            for(DLMDeliveryLimitations dLMDeliveryLimitationsInst : dLMDeliveryLimitations) {
                nodeWriter.write("DLM");
                nodeWriter.write(delimiters.getField());
                dLMDeliveryLimitationsInst.write(nodeWriter, delimiters);
            }
        }
        if(eQNNumberOfUnits != null) {
            nodeWriter.write("EQN");
            nodeWriter.write(delimiters.getField());
            eQNNumberOfUnits.write(nodeWriter, delimiters);
        }
        if(pRCProcessIdentification != null && !pRCProcessIdentification.isEmpty()) {
            for(PRCProcessIdentification pRCProcessIdentificationInst : pRCProcessIdentification) {
                nodeWriter.write("PRC");
                nodeWriter.write(delimiters.getField());
                pRCProcessIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(sTSStatus != null) {
            nodeWriter.write("STS");
            nodeWriter.write(delimiters.getField());
            sTSStatus.write(nodeWriter, delimiters);
        }
        if(cINClinicalInformation != null && !cINClinicalInformation.isEmpty()) {
            for(CINClinicalInformation cINClinicalInformationInst : cINClinicalInformation) {
                nodeWriter.write("CIN");
                nodeWriter.write(delimiters.getField());
                cINClinicalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
            for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
                segmentGroup15Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup16 != null && !segmentGroup16.isEmpty()) {
            for(SegmentGroup16 segmentGroup16Inst : segmentGroup16) {
                segmentGroup16Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
            for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
                segmentGroup17Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

    public SegmentGroup14 setLINLineItem(LINLineItem lINLineItem) {
        this.lINLineItem = lINLineItem;  return this;
    }

    public List getDSGDosageAdministration() {
        return dSGDosageAdministration;
    }

    public SegmentGroup14 setDSGDosageAdministration(List dSGDosageAdministration) {
        this.dSGDosageAdministration = dSGDosageAdministration;  return this;
    }

    public IMDItemDescription getIMDItemDescription() {
        return iMDItemDescription;
    }

    public SegmentGroup14 setIMDItemDescription(IMDItemDescription iMDItemDescription) {
        this.iMDItemDescription = iMDItemDescription;  return this;
    }

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getPGIProductGroupInformation() {
        return pGIProductGroupInformation;
    }

    public SegmentGroup14 setPGIProductGroupInformation(List pGIProductGroupInformation) {
        this.pGIProductGroupInformation = pGIProductGroupInformation;  return this;
    }

    public List getPNAPartyIdentification() {
        return pNAPartyIdentification;
    }

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

    public PACPackage getPACPackage() {
        return pACPackage;
    }

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

    public List getIDEIdentity() {
        return iDEIdentity;
    }

    public SegmentGroup14 setIDEIdentity(List iDEIdentity) {
        this.iDEIdentity = iDEIdentity;  return this;
    }

    public List getDLMDeliveryLimitations() {
        return dLMDeliveryLimitations;
    }

    public SegmentGroup14 setDLMDeliveryLimitations(List dLMDeliveryLimitations) {
        this.dLMDeliveryLimitations = dLMDeliveryLimitations;  return this;
    }

    public EQNNumberOfUnits getEQNNumberOfUnits() {
        return eQNNumberOfUnits;
    }

    public SegmentGroup14 setEQNNumberOfUnits(EQNNumberOfUnits eQNNumberOfUnits) {
        this.eQNNumberOfUnits = eQNNumberOfUnits;  return this;
    }

    public List getPRCProcessIdentification() {
        return pRCProcessIdentification;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public STSStatus getSTSStatus() {
        return sTSStatus;
    }

    public SegmentGroup14 setSTSStatus(STSStatus sTSStatus) {
        this.sTSStatus = sTSStatus;  return this;
    }

    public List getCINClinicalInformation() {
        return cINClinicalInformation;
    }

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

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getSegmentGroup15() {
        return segmentGroup15;
    }

    public SegmentGroup14 setSegmentGroup15(List segmentGroup15) {
        this.segmentGroup15 = segmentGroup15;  return this;
    }

    public List getSegmentGroup16() {
        return segmentGroup16;
    }

    public SegmentGroup14 setSegmentGroup16(List segmentGroup16) {
        this.segmentGroup16 = segmentGroup16;  return this;
    }

    public List getSegmentGroup17() {
        return segmentGroup17;
    }

    public SegmentGroup14 setSegmentGroup17(List segmentGroup17) {
        this.segmentGroup17 = segmentGroup17;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy