org.virtuslab.edi.unedifact.d99a.VATDEC.SegmentGroup5 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d99a.VATDEC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d99a.common.DMSDocumentMessageSummary;
import org.virtuslab.edi.unedifact.d99a.common.MOAMonetaryAmount;
import org.virtuslab.edi.unedifact.d99a.common.MEAMeasurements;
import org.virtuslab.edi.unedifact.d99a.common.PCDPercentageDetails;
import org.virtuslab.edi.unedifact.d99a.common.GISGeneralIndicator;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup5 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private DMSDocumentMessageSummary dMSDocumentMessageSummary;
private MOAMonetaryAmount mOAMonetaryAmount;
private MEAMeasurements mEAMeasurements;
private PCDPercentageDetails pCDPercentageDetails;
private GISGeneralIndicator gISGeneralIndicator;
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(gISGeneralIndicator != null) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
gISGeneralIndicator.write(nodeWriter, delimiters);
}
}
public DMSDocumentMessageSummary getDMSDocumentMessageSummary() {
return dMSDocumentMessageSummary;
}
public SegmentGroup5 setDMSDocumentMessageSummary(DMSDocumentMessageSummary dMSDocumentMessageSummary) {
this.dMSDocumentMessageSummary = dMSDocumentMessageSummary; return this;
}
public MOAMonetaryAmount getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup5 setMOAMonetaryAmount(MOAMonetaryAmount mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public MEAMeasurements getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup5 setMEAMeasurements(MEAMeasurements mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public PCDPercentageDetails getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup5 setPCDPercentageDetails(PCDPercentageDetails pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public GISGeneralIndicator getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public SegmentGroup5 setGISGeneralIndicator(GISGeneralIndicator gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
}