org.milyn.edi.unedifact.d06b.IFTMCS.SegmentGroup35 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d06b.IFTMCS;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d06b.common.EQDEquipmentDetails;
import org.milyn.edi.unedifact.d06b.common.EQNNumberOfUnits;
import org.milyn.edi.unedifact.d06b.common.TMDTransportMovementDetails;
import java.util.List;
import org.milyn.edi.unedifact.d06b.common.MEAMeasurements;
import org.milyn.edi.unedifact.d06b.common.DIMDimensions;
import org.milyn.edi.unedifact.d06b.common.SELSealNumber;
import org.milyn.edi.unedifact.d06b.common.TPLTransportPlacement;
import org.milyn.edi.unedifact.d06b.common.HANHandlingInstructions;
import org.milyn.edi.unedifact.d06b.common.TMPTemperature;
import org.milyn.edi.unedifact.d06b.common.FTXFreeText;
import org.milyn.edi.unedifact.d06b.common.RFFReference;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup35 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQDEquipmentDetails eQDEquipmentDetails;
private EQNNumberOfUnits eQNNumberOfUnits;
private TMDTransportMovementDetails tMDTransportMovementDetails;
private List mEAMeasurements;
private List dIMDimensions;
private List sELSealNumber;
private List tPLTransportPlacement;
private HANHandlingInstructions hANHandlingInstructions;
private TMPTemperature tMPTemperature;
private List fTXFreeText;
private List rFFReference;
private List segmentGroup36;
private List segmentGroup37;
private List segmentGroup38;
private List segmentGroup39;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(eQDEquipmentDetails != null) {
nodeWriter.write("EQD");
nodeWriter.write(delimiters.getField());
eQDEquipmentDetails.write(nodeWriter, delimiters);
}
if(eQNNumberOfUnits != null) {
nodeWriter.write("EQN");
nodeWriter.write(delimiters.getField());
eQNNumberOfUnits.write(nodeWriter, delimiters);
}
if(tMDTransportMovementDetails != null) {
nodeWriter.write("TMD");
nodeWriter.write(delimiters.getField());
tMDTransportMovementDetails.write(nodeWriter, delimiters);
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(dIMDimensions != null && !dIMDimensions.isEmpty()) {
for(DIMDimensions dIMDimensionsInst : dIMDimensions) {
nodeWriter.write("DIM");
nodeWriter.write(delimiters.getField());
dIMDimensionsInst.write(nodeWriter, delimiters);
}
}
if(sELSealNumber != null && !sELSealNumber.isEmpty()) {
for(SELSealNumber sELSealNumberInst : sELSealNumber) {
nodeWriter.write("SEL");
nodeWriter.write(delimiters.getField());
sELSealNumberInst.write(nodeWriter, delimiters);
}
}
if(tPLTransportPlacement != null && !tPLTransportPlacement.isEmpty()) {
for(TPLTransportPlacement tPLTransportPlacementInst : tPLTransportPlacement) {
nodeWriter.write("TPL");
nodeWriter.write(delimiters.getField());
tPLTransportPlacementInst.write(nodeWriter, delimiters);
}
}
if(hANHandlingInstructions != null) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
hANHandlingInstructions.write(nodeWriter, delimiters);
}
if(tMPTemperature != null) {
nodeWriter.write("TMP");
nodeWriter.write(delimiters.getField());
tMPTemperature.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(segmentGroup36 != null && !segmentGroup36.isEmpty()) {
for(SegmentGroup36 segmentGroup36Inst : segmentGroup36) {
segmentGroup36Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup37 != null && !segmentGroup37.isEmpty()) {
for(SegmentGroup37 segmentGroup37Inst : segmentGroup37) {
segmentGroup37Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup38 != null && !segmentGroup38.isEmpty()) {
for(SegmentGroup38 segmentGroup38Inst : segmentGroup38) {
segmentGroup38Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
segmentGroup39Inst.write(nodeWriter, delimiters);
}
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup35 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public EQNNumberOfUnits getEQNNumberOfUnits() {
return eQNNumberOfUnits;
}
public SegmentGroup35 setEQNNumberOfUnits(EQNNumberOfUnits eQNNumberOfUnits) {
this.eQNNumberOfUnits = eQNNumberOfUnits; return this;
}
public TMDTransportMovementDetails getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup35 setTMDTransportMovementDetails(TMDTransportMovementDetails tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup35 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getDIMDimensions() {
return dIMDimensions;
}
public SegmentGroup35 setDIMDimensions(List dIMDimensions) {
this.dIMDimensions = dIMDimensions; return this;
}
public List getSELSealNumber() {
return sELSealNumber;
}
public SegmentGroup35 setSELSealNumber(List sELSealNumber) {
this.sELSealNumber = sELSealNumber; return this;
}
public List getTPLTransportPlacement() {
return tPLTransportPlacement;
}
public SegmentGroup35 setTPLTransportPlacement(List tPLTransportPlacement) {
this.tPLTransportPlacement = tPLTransportPlacement; return this;
}
public HANHandlingInstructions getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup35 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public TMPTemperature getTMPTemperature() {
return tMPTemperature;
}
public SegmentGroup35 setTMPTemperature(TMPTemperature tMPTemperature) {
this.tMPTemperature = tMPTemperature; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup35 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup35 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getSegmentGroup36() {
return segmentGroup36;
}
public SegmentGroup35 setSegmentGroup36(List segmentGroup36) {
this.segmentGroup36 = segmentGroup36; return this;
}
public List getSegmentGroup37() {
return segmentGroup37;
}
public SegmentGroup35 setSegmentGroup37(List segmentGroup37) {
this.segmentGroup37 = segmentGroup37; return this;
}
public List getSegmentGroup38() {
return segmentGroup38;
}
public SegmentGroup35 setSegmentGroup38(List segmentGroup38) {
this.segmentGroup38 = segmentGroup38; return this;
}
public List getSegmentGroup39() {
return segmentGroup39;
}
public SegmentGroup35 setSegmentGroup39(List segmentGroup39) {
this.segmentGroup39 = segmentGroup39; return this;
}
}