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

org.milyn.edi.unedifact.d13a.MEDREQ.SegmentGroup15 Maven / Gradle / Ivy

/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d13a.MEDREQ;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d13a.common.GEIProcessingInformation;    
import java.util.List;    
import org.milyn.edi.unedifact.d13a.common.CCICharacteristicClassId;    
import org.milyn.edi.unedifact.d13a.common.PTYPriority;    
import org.milyn.edi.unedifact.d13a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d13a.common.CINClinicalInformation;    
import org.milyn.edi.unedifact.d13a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d13a.common.FTXFreeText;    
import org.milyn.edi.unedifact.d13a.common.TEMTestMethod;    
import org.milyn.edi.unedifact.d13a.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d13a.common.RFFReference;    
import org.milyn.edi.unedifact.d13a.common.HANHandlingInstructions;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup15 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private GEIProcessingInformation gEIProcessingInformation;
    private List cCICharacteristicClassId;
    private List pTYPriority;
    private QTYQuantity qTYQuantity;
    private List cINClinicalInformation;
    private List dTMDateTimePeriod;
    private List fTXFreeText;
    private List tEMTestMethod;
    private List mOAMonetaryAmount;
    private List rFFReference;
    private HANHandlingInstructions hANHandlingInstructions;
    private List segmentGroup16;

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

        if(gEIProcessingInformation != null) {
            nodeWriter.write("GEI");
            nodeWriter.write(delimiters.getField());
            gEIProcessingInformation.write(nodeWriter, delimiters);
        }
        if(cCICharacteristicClassId != null && !cCICharacteristicClassId.isEmpty()) {
            for(CCICharacteristicClassId cCICharacteristicClassIdInst : cCICharacteristicClassId) {
                nodeWriter.write("CCI");
                nodeWriter.write(delimiters.getField());
                cCICharacteristicClassIdInst.write(nodeWriter, delimiters);
            }
        }
        if(pTYPriority != null && !pTYPriority.isEmpty()) {
            for(PTYPriority pTYPriorityInst : pTYPriority) {
                nodeWriter.write("PTY");
                nodeWriter.write(delimiters.getField());
                pTYPriorityInst.write(nodeWriter, delimiters);
            }
        }
        if(qTYQuantity != null) {
            nodeWriter.write("QTY");
            nodeWriter.write(delimiters.getField());
            qTYQuantity.write(nodeWriter, delimiters);
        }
        if(cINClinicalInformation != null && !cINClinicalInformation.isEmpty()) {
            for(CINClinicalInformation cINClinicalInformationInst : cINClinicalInformation) {
                nodeWriter.write("CIN");
                nodeWriter.write(delimiters.getField());
                cINClinicalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(tEMTestMethod != null && !tEMTestMethod.isEmpty()) {
            for(TEMTestMethod tEMTestMethodInst : tEMTestMethod) {
                nodeWriter.write("TEM");
                nodeWriter.write(delimiters.getField());
                tEMTestMethodInst.write(nodeWriter, delimiters);
            }
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.write(nodeWriter, delimiters);
            }
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(hANHandlingInstructions != null) {
            nodeWriter.write("HAN");
            nodeWriter.write(delimiters.getField());
            hANHandlingInstructions.write(nodeWriter, delimiters);
        }
        if(segmentGroup16 != null && !segmentGroup16.isEmpty()) {
            for(SegmentGroup16 segmentGroup16Inst : segmentGroup16) {
                segmentGroup16Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public GEIProcessingInformation getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

    public SegmentGroup15 setGEIProcessingInformation(GEIProcessingInformation gEIProcessingInformation) {
        this.gEIProcessingInformation = gEIProcessingInformation;  return this;
    }

    public List getCCICharacteristicClassId() {
        return cCICharacteristicClassId;
    }

    public SegmentGroup15 setCCICharacteristicClassId(List cCICharacteristicClassId) {
        this.cCICharacteristicClassId = cCICharacteristicClassId;  return this;
    }

    public List getPTYPriority() {
        return pTYPriority;
    }

    public SegmentGroup15 setPTYPriority(List pTYPriority) {
        this.pTYPriority = pTYPriority;  return this;
    }

    public QTYQuantity getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getCINClinicalInformation() {
        return cINClinicalInformation;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getTEMTestMethod() {
        return tEMTestMethod;
    }

    public SegmentGroup15 setTEMTestMethod(List tEMTestMethod) {
        this.tEMTestMethod = tEMTestMethod;  return this;
    }

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

    public SegmentGroup15 setMOAMonetaryAmount(List mOAMonetaryAmount) {
        this.mOAMonetaryAmount = mOAMonetaryAmount;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public HANHandlingInstructions getHANHandlingInstructions() {
        return hANHandlingInstructions;
    }

    public SegmentGroup15 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
        this.hANHandlingInstructions = hANHandlingInstructions;  return this;
    }

    public List getSegmentGroup16() {
        return segmentGroup16;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy