org.milyn.edi.unedifact.d07a.IFCSUM.SegmentGroup39 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d07a.IFCSUM;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d07a.common.TDTTransportInformation;
import java.util.List;
import org.milyn.edi.unedifact.d07a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d07a.common.TSRTransportServiceRequirements;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup39 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private TDTTransportInformation tDTTransportInformation;
private List dTMDateTimePeriod;
private List tSRTransportServiceRequirements;
private List segmentGroup40;
private List segmentGroup41;
private List segmentGroup42;
private List segmentGroup43;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(tDTTransportInformation != null) {
nodeWriter.write("TDT");
nodeWriter.write(delimiters.getField());
tDTTransportInformation.write(nodeWriter, delimiters);
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(tSRTransportServiceRequirements != null && !tSRTransportServiceRequirements.isEmpty()) {
for(TSRTransportServiceRequirements tSRTransportServiceRequirementsInst : tSRTransportServiceRequirements) {
nodeWriter.write("TSR");
nodeWriter.write(delimiters.getField());
tSRTransportServiceRequirementsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup40 != null && !segmentGroup40.isEmpty()) {
for(SegmentGroup40 segmentGroup40Inst : segmentGroup40) {
segmentGroup40Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup41 != null && !segmentGroup41.isEmpty()) {
for(SegmentGroup41 segmentGroup41Inst : segmentGroup41) {
segmentGroup41Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup42 != null && !segmentGroup42.isEmpty()) {
for(SegmentGroup42 segmentGroup42Inst : segmentGroup42) {
segmentGroup42Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup43 != null && !segmentGroup43.isEmpty()) {
for(SegmentGroup43 segmentGroup43Inst : segmentGroup43) {
segmentGroup43Inst.write(nodeWriter, delimiters);
}
}
}
public TDTTransportInformation getTDTTransportInformation() {
return tDTTransportInformation;
}
public SegmentGroup39 setTDTTransportInformation(TDTTransportInformation tDTTransportInformation) {
this.tDTTransportInformation = tDTTransportInformation; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup39 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getTSRTransportServiceRequirements() {
return tSRTransportServiceRequirements;
}
public SegmentGroup39 setTSRTransportServiceRequirements(List tSRTransportServiceRequirements) {
this.tSRTransportServiceRequirements = tSRTransportServiceRequirements; return this;
}
public List getSegmentGroup40() {
return segmentGroup40;
}
public SegmentGroup39 setSegmentGroup40(List segmentGroup40) {
this.segmentGroup40 = segmentGroup40; return this;
}
public List getSegmentGroup41() {
return segmentGroup41;
}
public SegmentGroup39 setSegmentGroup41(List segmentGroup41) {
this.segmentGroup41 = segmentGroup41; return this;
}
public List getSegmentGroup42() {
return segmentGroup42;
}
public SegmentGroup39 setSegmentGroup42(List segmentGroup42) {
this.segmentGroup42 = segmentGroup42; return this;
}
public List getSegmentGroup43() {
return segmentGroup43;
}
public SegmentGroup39 setSegmentGroup43(List segmentGroup43) {
this.segmentGroup43 = segmentGroup43; return this;
}
}