org.milyn.edi.unedifact.d06b.IFTMIN.SegmentGroup35 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d06b.IFTMIN;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d06b.common.SplitGoodsPlacement;
import java.util.List;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup35 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private SplitGoodsPlacement splitGoodsPlacement;
private List segmentGroup36;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(splitGoodsPlacement != null) {
nodeWriter.write("SGP");
nodeWriter.write(delimiters.getField());
splitGoodsPlacement.write(nodeWriter, delimiters);
}
if(segmentGroup36 != null && !segmentGroup36.isEmpty()) {
for(SegmentGroup36 segmentGroup36Inst : segmentGroup36) {
segmentGroup36Inst.write(nodeWriter, delimiters);
}
}
}
public SplitGoodsPlacement getSplitGoodsPlacement() {
return splitGoodsPlacement;
}
public SegmentGroup35 setSplitGoodsPlacement(SplitGoodsPlacement splitGoodsPlacement) {
this.splitGoodsPlacement = splitGoodsPlacement; return this;
}
public List getSegmentGroup36() {
return segmentGroup36;
}
public SegmentGroup35 setSegmentGroup36(List segmentGroup36) {
this.segmentGroup36 = segmentGroup36; return this;
}
}