org.milyn.edi.unedifact.d95b.QUOTES.SegmentGroup53 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d95b.QUOTES;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d95b.common.SCCSchedulingConditions;
import java.util.List;
import org.milyn.edi.unedifact.d95b.common.FTXFreeText;
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 SCCSchedulingConditions sCCSchedulingConditions;
private List fTXFreeText;
private List segmentGroup54;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(sCCSchedulingConditions != null) {
nodeWriter.write("SCC");
nodeWriter.write(delimiters.getField());
sCCSchedulingConditions.write(nodeWriter, delimiters);
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup54 != null && !segmentGroup54.isEmpty()) {
for(SegmentGroup54 segmentGroup54Inst : segmentGroup54) {
segmentGroup54Inst.write(nodeWriter, delimiters);
}
}
}
public SCCSchedulingConditions getSCCSchedulingConditions() {
return sCCSchedulingConditions;
}
public SegmentGroup53 setSCCSchedulingConditions(SCCSchedulingConditions sCCSchedulingConditions) {
this.sCCSchedulingConditions = sCCSchedulingConditions; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup53 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup54() {
return segmentGroup54;
}
public SegmentGroup53 setSegmentGroup54(List segmentGroup54) {
this.segmentGroup54 = segmentGroup54; return this;
}
}