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

org.milyn.edi.unedifact.d07a.MEDRPT.SegmentGroup16 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.d07a.MEDRPT;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d07a.common.LINLineItem;    
import org.milyn.edi.unedifact.d07a.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d07a.common.RSLResult;    
import java.util.List;    
import org.milyn.edi.unedifact.d07a.common.CCICharacteristicClassId;    
import org.milyn.edi.unedifact.d07a.common.CINClinicalInformation;    
import org.milyn.edi.unedifact.d07a.common.SEQSequenceDetails;    
import org.milyn.edi.unedifact.d07a.common.STSStatus;    
import org.milyn.edi.unedifact.d07a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d07a.common.FTXFreeText;    
import org.milyn.edi.unedifact.d07a.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d07a.common.RFFReference;    
import org.milyn.edi.unedifact.d07a.common.EQDEquipmentDetails;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup16 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LINLineItem lINLineItem;
    private GEIProcessingInformation gEIProcessingInformation;
    private RSLResult rSLResult;
    private List cCICharacteristicClassId;
    private List cINClinicalInformation;
    private SEQSequenceDetails sEQSequenceDetails;
    private STSStatus sTSStatus;
    private List dTMDateTimePeriod;
    private List fTXFreeText;
    private List mOAMonetaryAmount;
    private List rFFReference;
    private List eQDEquipmentDetails;
    private List segmentGroup17;
    private List segmentGroup18;

    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(gEIProcessingInformation != null) {
            nodeWriter.write("GEI");
            nodeWriter.write(delimiters.getField());
            gEIProcessingInformation.write(nodeWriter, delimiters);
        }
        if(rSLResult != null) {
            nodeWriter.write("RSL");
            nodeWriter.write(delimiters.getField());
            rSLResult.write(nodeWriter, delimiters);
        }
        if(cCICharacteristicClassId != null && !cCICharacteristicClassId.isEmpty()) {
            for(CCICharacteristicClassId cCICharacteristicClassIdInst : cCICharacteristicClassId) {
                nodeWriter.write("CCI");
                nodeWriter.write(delimiters.getField());
                cCICharacteristicClassIdInst.write(nodeWriter, delimiters);
            }
        }
        if(cINClinicalInformation != null && !cINClinicalInformation.isEmpty()) {
            for(CINClinicalInformation cINClinicalInformationInst : cINClinicalInformation) {
                nodeWriter.write("CIN");
                nodeWriter.write(delimiters.getField());
                cINClinicalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(sEQSequenceDetails != null) {
            nodeWriter.write("SEQ");
            nodeWriter.write(delimiters.getField());
            sEQSequenceDetails.write(nodeWriter, delimiters);
        }
        if(sTSStatus != null) {
            nodeWriter.write("STS");
            nodeWriter.write(delimiters.getField());
            sTSStatus.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(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(eQDEquipmentDetails != null && !eQDEquipmentDetails.isEmpty()) {
            for(EQDEquipmentDetails eQDEquipmentDetailsInst : eQDEquipmentDetails) {
                nodeWriter.write("EQD");
                nodeWriter.write(delimiters.getField());
                eQDEquipmentDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
            for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
                segmentGroup17Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup18 != null && !segmentGroup18.isEmpty()) {
            for(SegmentGroup18 segmentGroup18Inst : segmentGroup18) {
                segmentGroup18Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

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

    public GEIProcessingInformation getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public RSLResult getRSLResult() {
        return rSLResult;
    }

    public SegmentGroup16 setRSLResult(RSLResult rSLResult) {
        this.rSLResult = rSLResult;  return this;
    }

    public List getCCICharacteristicClassId() {
        return cCICharacteristicClassId;
    }

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

    public List getCINClinicalInformation() {
        return cINClinicalInformation;
    }

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

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

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

    public STSStatus getSTSStatus() {
        return sTSStatus;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

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

    public List getSegmentGroup17() {
        return segmentGroup17;
    }

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

    public List getSegmentGroup18() {
        return segmentGroup18;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy