org.milyn.edi.unedifact.d05a.IFTICL.SegmentGroup12 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d05a.IFTICL;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d05a.common.STSStatus;
import java.util.List;
import org.milyn.edi.unedifact.d05a.common.RFFReference;
import org.milyn.edi.unedifact.d05a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d05a.common.ICDInsuranceCoverDescription;
import org.milyn.edi.unedifact.d05a.common.LOCPlaceLocationIdentification;
import org.milyn.edi.unedifact.d05a.common.MEAMeasurements;
import org.milyn.edi.unedifact.d05a.common.QRSQueryAndResponse;
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 SegmentGroup12 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private STSStatus sTSStatus;
private List rFFReference;
private List dTMDateTimePeriod;
private List iCDInsuranceCoverDescription;
private List lOCPlaceLocationIdentification;
private List mEAMeasurements;
private List qRSQueryAndResponse;
private List fTXFreeText;
private List segmentGroup13;
private List segmentGroup14;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(sTSStatus != null) {
nodeWriter.write("STS");
nodeWriter.write(delimiters.getField());
sTSStatus.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(iCDInsuranceCoverDescription != null && !iCDInsuranceCoverDescription.isEmpty()) {
for(ICDInsuranceCoverDescription iCDInsuranceCoverDescriptionInst : iCDInsuranceCoverDescription) {
nodeWriter.write("ICD");
nodeWriter.write(delimiters.getField());
iCDInsuranceCoverDescriptionInst.write(nodeWriter, delimiters);
}
}
if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(qRSQueryAndResponse != null && !qRSQueryAndResponse.isEmpty()) {
for(QRSQueryAndResponse qRSQueryAndResponseInst : qRSQueryAndResponse) {
nodeWriter.write("QRS");
nodeWriter.write(delimiters.getField());
qRSQueryAndResponseInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup13 != null && !segmentGroup13.isEmpty()) {
for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) {
segmentGroup13Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
segmentGroup14Inst.write(nodeWriter, delimiters);
}
}
}
public STSStatus getSTSStatus() {
return sTSStatus;
}
public SegmentGroup12 setSTSStatus(STSStatus sTSStatus) {
this.sTSStatus = sTSStatus; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup12 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup12 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getICDInsuranceCoverDescription() {
return iCDInsuranceCoverDescription;
}
public SegmentGroup12 setICDInsuranceCoverDescription(List iCDInsuranceCoverDescription) {
this.iCDInsuranceCoverDescription = iCDInsuranceCoverDescription; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup12 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup12 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getQRSQueryAndResponse() {
return qRSQueryAndResponse;
}
public SegmentGroup12 setQRSQueryAndResponse(List qRSQueryAndResponse) {
this.qRSQueryAndResponse = qRSQueryAndResponse; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup12 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup13() {
return segmentGroup13;
}
public SegmentGroup12 setSegmentGroup13(List segmentGroup13) {
this.segmentGroup13 = segmentGroup13; return this;
}
public List getSegmentGroup14() {
return segmentGroup14;
}
public SegmentGroup12 setSegmentGroup14(List segmentGroup14) {
this.segmentGroup14 = segmentGroup14; return this;
}
}