org.milyn.edi.unedifact.d98a.QALITY.SegmentGroup38 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.QALITY;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.TEMTestMethod;
import java.util.List;
import org.milyn.edi.unedifact.d98a.common.MEAMeasurements;
import org.milyn.edi.unedifact.d98a.common.DTMDateTimePeriod;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup38 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private TEMTestMethod tEMTestMethod;
private List mEAMeasurements;
private List dTMDateTimePeriod;
private List segmentGroup39;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(tEMTestMethod != null) {
nodeWriter.write("TEM");
nodeWriter.write(delimiters.getField());
tEMTestMethod.write(nodeWriter, delimiters);
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
segmentGroup39Inst.write(nodeWriter, delimiters);
}
}
}
public TEMTestMethod getTEMTestMethod() {
return tEMTestMethod;
}
public SegmentGroup38 setTEMTestMethod(TEMTestMethod tEMTestMethod) {
this.tEMTestMethod = tEMTestMethod; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup38 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup38 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getSegmentGroup39() {
return segmentGroup39;
}
public SegmentGroup38 setSegmentGroup39(List segmentGroup39) {
this.segmentGroup39 = segmentGroup39; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy