org.milyn.edi.unedifact.d02a.MEDREQ.SegmentGroup11 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d02a.MEDREQ;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d02a.common.CLIClinicalIntervention;
import java.util.List;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup11 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CLIClinicalIntervention cLIClinicalIntervention;
private List segmentGroup12;
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(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
segmentGroup12Inst.write(nodeWriter, delimiters);
}
}
}
public CLIClinicalIntervention getCLIClinicalIntervention() {
return cLIClinicalIntervention;
}
public SegmentGroup11 setCLIClinicalIntervention(CLIClinicalIntervention cLIClinicalIntervention) {
this.cLIClinicalIntervention = cLIClinicalIntervention; return this;
}
public List getSegmentGroup12() {
return segmentGroup12;
}
public SegmentGroup11 setSegmentGroup12(List segmentGroup12) {
this.segmentGroup12 = segmentGroup12; return this;
}
}