org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup220 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 java.util.List;
import org.milyn.edi.unedifact.d15a.common.IFDInformationDetail;
import org.milyn.edi.unedifact.d15a.common.DTMDateTimePeriod;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup220 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private NADNameAndAddress nADNameAndAddress;
private List iFDInformationDetail;
private List dTMDateTimePeriod;
private List segmentGroup221;
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 && !iFDInformationDetail.isEmpty()) {
for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
nodeWriter.write("IFD");
nodeWriter.write(delimiters.getField());
iFDInformationDetailInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup221 != null && !segmentGroup221.isEmpty()) {
for(SegmentGroup221 segmentGroup221Inst : segmentGroup221) {
segmentGroup221Inst.write(nodeWriter, delimiters);
}
}
}
public NADNameAndAddress getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup220 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public List getIFDInformationDetail() {
return iFDInformationDetail;
}
public SegmentGroup220 setIFDInformationDetail(List iFDInformationDetail) {
this.iFDInformationDetail = iFDInformationDetail; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup220 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getSegmentGroup221() {
return segmentGroup221;
}
public SegmentGroup220 setSegmentGroup221(List segmentGroup221) {
this.segmentGroup221 = segmentGroup221; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy