org.milyn.edi.unedifact.d09b.VATDEC.SegmentGroup10 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.VATDEC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.DMSDocumentMessageSummary;
import org.milyn.edi.unedifact.d09b.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d09b.common.MEAMeasurements;
import org.milyn.edi.unedifact.d09b.common.PCDPercentageDetails;
import org.milyn.edi.unedifact.d09b.common.GEIProcessingInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup10 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private DMSDocumentMessageSummary dMSDocumentMessageSummary;
private MOAMonetaryAmount mOAMonetaryAmount;
private MEAMeasurements mEAMeasurements;
private PCDPercentageDetails pCDPercentageDetails;
private GEIProcessingInformation gEIProcessingInformation;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(dMSDocumentMessageSummary != null) {
nodeWriter.write("DMS");
nodeWriter.write(delimiters.getField());
dMSDocumentMessageSummary.write(nodeWriter, delimiters);
}
if(mOAMonetaryAmount != null) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmount.write(nodeWriter, delimiters);
}
if(mEAMeasurements != null) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurements.write(nodeWriter, delimiters);
}
if(pCDPercentageDetails != null) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetails.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformation.write(nodeWriter, delimiters);
}
}
public DMSDocumentMessageSummary getDMSDocumentMessageSummary() {
return dMSDocumentMessageSummary;
}
public SegmentGroup10 setDMSDocumentMessageSummary(DMSDocumentMessageSummary dMSDocumentMessageSummary) {
this.dMSDocumentMessageSummary = dMSDocumentMessageSummary; return this;
}
public MOAMonetaryAmount getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup10 setMOAMonetaryAmount(MOAMonetaryAmount mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public MEAMeasurements getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup10 setMEAMeasurements(MEAMeasurements mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public PCDPercentageDetails getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup10 setPCDPercentageDetails(PCDPercentageDetails pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public GEIProcessingInformation getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup10 setGEIProcessingInformation(GEIProcessingInformation gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
}