org.milyn.edi.unedifact.d13a.CNTCND.SegmentGroup19 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d13a.CNTCND;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d13a.common.FORFormula;
import java.util.List;
import org.milyn.edi.unedifact.d13a.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d13a.common.ALIAdditionalInformation;
import org.milyn.edi.unedifact.d13a.common.RFFReference;
import org.milyn.edi.unedifact.d13a.common.DTMDateTimePeriod;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup19 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private FORFormula fORFormula;
private List gEIProcessingInformation;
private List aLIAdditionalInformation;
private List rFFReference;
private List dTMDateTimePeriod;
private List segmentGroup20;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(fORFormula != null) {
nodeWriter.write("FOR");
nodeWriter.write(delimiters.getField());
fORFormula.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
if(aLIAdditionalInformation != null && !aLIAdditionalInformation.isEmpty()) {
for(ALIAdditionalInformation aLIAdditionalInformationInst : aLIAdditionalInformation) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
aLIAdditionalInformationInst.write(nodeWriter, delimiters);
}
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
segmentGroup20Inst.write(nodeWriter, delimiters);
}
}
}
public FORFormula getFORFormula() {
return fORFormula;
}
public SegmentGroup19 setFORFormula(FORFormula fORFormula) {
this.fORFormula = fORFormula; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup19 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup19 setALIAdditionalInformation(List aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup19 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup19 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getSegmentGroup20() {
return segmentGroup20;
}
public SegmentGroup19 setSegmentGroup20(List segmentGroup20) {
this.segmentGroup20 = segmentGroup20; return this;
}
}