org.milyn.edi.unedifact.d07a.ORDERS.SegmentGroup55 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d07a.ORDERS;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d07a.common.SCCSchedulingConditions;
import java.util.List;
import org.milyn.edi.unedifact.d07a.common.FTXFreeText;
import org.milyn.edi.unedifact.d07a.common.RFFReference;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup55 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private SCCSchedulingConditions sCCSchedulingConditions;
private List fTXFreeText;
private List rFFReference;
private List segmentGroup56;
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(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup56 != null && !segmentGroup56.isEmpty()) {
for(SegmentGroup56 segmentGroup56Inst : segmentGroup56) {
segmentGroup56Inst.write(nodeWriter, delimiters);
}
}
}
public SCCSchedulingConditions getSCCSchedulingConditions() {
return sCCSchedulingConditions;
}
public SegmentGroup55 setSCCSchedulingConditions(SCCSchedulingConditions sCCSchedulingConditions) {
this.sCCSchedulingConditions = sCCSchedulingConditions; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup55 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup55 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getSegmentGroup56() {
return segmentGroup56;
}
public SegmentGroup55 setSegmentGroup56(List segmentGroup56) {
this.segmentGroup56 = segmentGroup56; return this;
}
}