org.milyn.edi.unedifact.d15a.DAPLOS.SegmentGroup16 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d15a.DAPLOS;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d15a.common.CODComponentDetails;
import org.milyn.edi.unedifact.d15a.common.MEAMeasurements;
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 CODComponentDetails cODComponentDetails;
private MEAMeasurements mEAMeasurements;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cODComponentDetails != null) {
nodeWriter.write("COD");
nodeWriter.write(delimiters.getField());
cODComponentDetails.write(nodeWriter, delimiters);
}
if(mEAMeasurements != null) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurements.write(nodeWriter, delimiters);
}
}
public CODComponentDetails getCODComponentDetails() {
return cODComponentDetails;
}
public SegmentGroup16 setCODComponentDetails(CODComponentDetails cODComponentDetails) {
this.cODComponentDetails = cODComponentDetails; return this;
}
public MEAMeasurements getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup16 setMEAMeasurements(MEAMeasurements mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy