org.virtuslab.edi.unedifact.d96a.IFTSTQ.SegmentGroup4 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.IFTSTQ;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.CNIConsignmentInformation;
import java.util.List;
import org.virtuslab.edi.unedifact.d96a.common.DTMDateTimePeriod;
import org.virtuslab.edi.unedifact.d96a.common.LOCPlaceLocationIdentification;
import org.virtuslab.edi.unedifact.d96a.common.RFFReference;
import org.virtuslab.edi.unedifact.d96a.common.TDTDetailsOfTransport;
import org.virtuslab.edi.unedifact.d96a.common.EQDEquipmentDetails;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup4 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CNIConsignmentInformation cNIConsignmentInformation;
private List dTMDateTimePeriod;
private List lOCPlaceLocationIdentification;
private List rFFReference;
private List tDTDetailsOfTransport;
private List eQDEquipmentDetails;
private List segmentGroup5;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cNIConsignmentInformation != null) {
nodeWriter.write("CNI");
nodeWriter.write(delimiters.getField());
cNIConsignmentInformation.write(nodeWriter, delimiters);
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(tDTDetailsOfTransport != null && !tDTDetailsOfTransport.isEmpty()) {
for(TDTDetailsOfTransport tDTDetailsOfTransportInst : tDTDetailsOfTransport) {
nodeWriter.write("TDT");
nodeWriter.write(delimiters.getField());
tDTDetailsOfTransportInst.write(nodeWriter, delimiters);
}
}
if(eQDEquipmentDetails != null && !eQDEquipmentDetails.isEmpty()) {
for(EQDEquipmentDetails eQDEquipmentDetailsInst : eQDEquipmentDetails) {
nodeWriter.write("EQD");
nodeWriter.write(delimiters.getField());
eQDEquipmentDetailsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup5 != null && !segmentGroup5.isEmpty()) {
for(SegmentGroup5 segmentGroup5Inst : segmentGroup5) {
segmentGroup5Inst.write(nodeWriter, delimiters);
}
}
}
public CNIConsignmentInformation getCNIConsignmentInformation() {
return cNIConsignmentInformation;
}
public SegmentGroup4 setCNIConsignmentInformation(CNIConsignmentInformation cNIConsignmentInformation) {
this.cNIConsignmentInformation = cNIConsignmentInformation; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup4 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup4 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup4 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getTDTDetailsOfTransport() {
return tDTDetailsOfTransport;
}
public SegmentGroup4 setTDTDetailsOfTransport(List tDTDetailsOfTransport) {
this.tDTDetailsOfTransport = tDTDetailsOfTransport; return this;
}
public List getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup4 setEQDEquipmentDetails(List eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public List getSegmentGroup5() {
return segmentGroup5;
}
public SegmentGroup4 setSegmentGroup5(List segmentGroup5) {
this.segmentGroup5 = segmentGroup5; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy