org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup53 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d15a.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d15a.common.NADNameAndAddress;
import org.milyn.edi.unedifact.d15a.common.IFDInformationDetail;
import java.util.List;
import org.milyn.edi.unedifact.d15a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d15a.common.DMSDocumentMessageSummary;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup53 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private NADNameAndAddress nADNameAndAddress;
private IFDInformationDetail iFDInformationDetail;
private List dTMDateTimePeriod;
private List dMSDocumentMessageSummary;
private List segmentGroup54;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(nADNameAndAddress != null) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddress.write(nodeWriter, delimiters);
}
if(iFDInformationDetail != null) {
nodeWriter.write("IFD");
nodeWriter.write(delimiters.getField());
iFDInformationDetail.write(nodeWriter, delimiters);
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(dMSDocumentMessageSummary != null && !dMSDocumentMessageSummary.isEmpty()) {
for(DMSDocumentMessageSummary dMSDocumentMessageSummaryInst : dMSDocumentMessageSummary) {
nodeWriter.write("DMS");
nodeWriter.write(delimiters.getField());
dMSDocumentMessageSummaryInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup54 != null && !segmentGroup54.isEmpty()) {
for(SegmentGroup54 segmentGroup54Inst : segmentGroup54) {
segmentGroup54Inst.write(nodeWriter, delimiters);
}
}
}
public NADNameAndAddress getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup53 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public IFDInformationDetail getIFDInformationDetail() {
return iFDInformationDetail;
}
public SegmentGroup53 setIFDInformationDetail(IFDInformationDetail iFDInformationDetail) {
this.iFDInformationDetail = iFDInformationDetail; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup53 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getDMSDocumentMessageSummary() {
return dMSDocumentMessageSummary;
}
public SegmentGroup53 setDMSDocumentMessageSummary(List dMSDocumentMessageSummary) {
this.dMSDocumentMessageSummary = dMSDocumentMessageSummary; return this;
}
public List getSegmentGroup54() {
return segmentGroup54;
}
public SegmentGroup53 setSegmentGroup54(List segmentGroup54) {
this.segmentGroup54 = segmentGroup54; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy