org.milyn.edi.unedifact.d09b.MEDRUC.SegmentGroup15 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.MEDRUC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.CLIClinicalIntervention;
import org.milyn.edi.unedifact.d09b.common.GEIProcessingInformation;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.IMDItemDescription;
import org.milyn.edi.unedifact.d09b.common.CINClinicalInformation;
import org.milyn.edi.unedifact.d09b.common.PNAPartyIdentification;
import org.milyn.edi.unedifact.d09b.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d09b.common.RFFReference;
import org.milyn.edi.unedifact.d09b.common.FTXFreeText;
import org.milyn.edi.unedifact.d09b.common.QTYQuantity;
import org.milyn.edi.unedifact.d09b.common.PCDPercentageDetails;
import org.milyn.edi.unedifact.d09b.common.PACPackage;
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 CLIClinicalIntervention cLIClinicalIntervention;
private GEIProcessingInformation gEIProcessingInformation;
private List iMDItemDescription;
private List cINClinicalInformation;
private List pNAPartyIdentification;
private List dTMDateTimePeriod;
private List rFFReference;
private List fTXFreeText;
private List qTYQuantity;
private List pCDPercentageDetails;
private List pACPackage;
private List segmentGroup16;
private List segmentGroup17;
private List segmentGroup18;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cLIClinicalIntervention != null) {
nodeWriter.write("CLI");
nodeWriter.write(delimiters.getField());
cLIClinicalIntervention.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformation.write(nodeWriter, delimiters);
}
if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescriptionInst.write(nodeWriter, delimiters);
}
}
if(cINClinicalInformation != null && !cINClinicalInformation.isEmpty()) {
for(CINClinicalInformation cINClinicalInformationInst : cINClinicalInformation) {
nodeWriter.write("CIN");
nodeWriter.write(delimiters.getField());
cINClinicalInformationInst.write(nodeWriter, delimiters);
}
}
if(pNAPartyIdentification != null && !pNAPartyIdentification.isEmpty()) {
for(PNAPartyIdentification pNAPartyIdentificationInst : pNAPartyIdentification) {
nodeWriter.write("PNA");
nodeWriter.write(delimiters.getField());
pNAPartyIdentificationInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.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(qTYQuantity != null && !qTYQuantity.isEmpty()) {
for(QTYQuantity qTYQuantityInst : qTYQuantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantityInst.write(nodeWriter, delimiters);
}
}
if(pCDPercentageDetails != null && !pCDPercentageDetails.isEmpty()) {
for(PCDPercentageDetails pCDPercentageDetailsInst : pCDPercentageDetails) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetailsInst.write(nodeWriter, delimiters);
}
}
if(pACPackage != null && !pACPackage.isEmpty()) {
for(PACPackage pACPackageInst : pACPackage) {
nodeWriter.write("PAC");
nodeWriter.write(delimiters.getField());
pACPackageInst.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);
}
}
if(segmentGroup18 != null && !segmentGroup18.isEmpty()) {
for(SegmentGroup18 segmentGroup18Inst : segmentGroup18) {
segmentGroup18Inst.write(nodeWriter, delimiters);
}
}
}
public CLIClinicalIntervention getCLIClinicalIntervention() {
return cLIClinicalIntervention;
}
public SegmentGroup15 setCLIClinicalIntervention(CLIClinicalIntervention cLIClinicalIntervention) {
this.cLIClinicalIntervention = cLIClinicalIntervention; return this;
}
public GEIProcessingInformation getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup15 setGEIProcessingInformation(GEIProcessingInformation gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup15 setIMDItemDescription(List iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getCINClinicalInformation() {
return cINClinicalInformation;
}
public SegmentGroup15 setCINClinicalInformation(List cINClinicalInformation) {
this.cINClinicalInformation = cINClinicalInformation; return this;
}
public List getPNAPartyIdentification() {
return pNAPartyIdentification;
}
public SegmentGroup15 setPNAPartyIdentification(List pNAPartyIdentification) {
this.pNAPartyIdentification = pNAPartyIdentification; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup15 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup15 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup15 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup15 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup15 setPCDPercentageDetails(List pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public List getPACPackage() {
return pACPackage;
}
public SegmentGroup15 setPACPackage(List pACPackage) {
this.pACPackage = pACPackage; return this;
}
public List getSegmentGroup16() {
return segmentGroup16;
}
public SegmentGroup15 setSegmentGroup16(List segmentGroup16) {
this.segmentGroup16 = segmentGroup16; return this;
}
public List getSegmentGroup17() {
return segmentGroup17;
}
public SegmentGroup15 setSegmentGroup17(List segmentGroup17) {
this.segmentGroup17 = segmentGroup17; return this;
}
public List getSegmentGroup18() {
return segmentGroup18;
}
public SegmentGroup15 setSegmentGroup18(List segmentGroup18) {
this.segmentGroup18 = segmentGroup18; return this;
}
}