org.milyn.edi.unedifact.d15a.IFCSUM.SegmentGroup70 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d15a.IFCSUM;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d15a.common.DGSDangerousGoods;
import java.util.List;
import org.milyn.edi.unedifact.d15a.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup70 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private DGSDangerousGoods dGSDangerousGoods;
private List fTXFreeText;
private List segmentGroup71;
private List segmentGroup72;
private List segmentGroup73;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(dGSDangerousGoods != null) {
nodeWriter.write("DGS");
nodeWriter.write(delimiters.getField());
dGSDangerousGoods.write(nodeWriter, delimiters);
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup71 != null && !segmentGroup71.isEmpty()) {
for(SegmentGroup71 segmentGroup71Inst : segmentGroup71) {
segmentGroup71Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup72 != null && !segmentGroup72.isEmpty()) {
for(SegmentGroup72 segmentGroup72Inst : segmentGroup72) {
segmentGroup72Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup73 != null && !segmentGroup73.isEmpty()) {
for(SegmentGroup73 segmentGroup73Inst : segmentGroup73) {
segmentGroup73Inst.write(nodeWriter, delimiters);
}
}
}
public DGSDangerousGoods getDGSDangerousGoods() {
return dGSDangerousGoods;
}
public SegmentGroup70 setDGSDangerousGoods(DGSDangerousGoods dGSDangerousGoods) {
this.dGSDangerousGoods = dGSDangerousGoods; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup70 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup71() {
return segmentGroup71;
}
public SegmentGroup70 setSegmentGroup71(List segmentGroup71) {
this.segmentGroup71 = segmentGroup71; return this;
}
public List getSegmentGroup72() {
return segmentGroup72;
}
public SegmentGroup70 setSegmentGroup72(List segmentGroup72) {
this.segmentGroup72 = segmentGroup72; return this;
}
public List getSegmentGroup73() {
return segmentGroup73;
}
public SegmentGroup70 setSegmentGroup73(List segmentGroup73) {
this.segmentGroup73 = segmentGroup73; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy