org.milyn.edi.unedifact.d09b.IFCSUM.SegmentGroup71 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.IFCSUM;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.EQDEquipmentDetails;
import org.milyn.edi.unedifact.d09b.common.EQNNumberOfUnits;
import org.milyn.edi.unedifact.d09b.common.TMDTransportMovementDetails;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.MEAMeasurements;
import org.milyn.edi.unedifact.d09b.common.DIMDimensions;
import org.milyn.edi.unedifact.d09b.common.SELSealNumber;
import org.milyn.edi.unedifact.d09b.common.TPLTransportPlacement;
import org.milyn.edi.unedifact.d09b.common.HANHandlingInstructions;
import org.milyn.edi.unedifact.d09b.common.TMPTemperature;
import org.milyn.edi.unedifact.d09b.common.FTXFreeText;
import org.milyn.edi.unedifact.d09b.common.PCDPercentageDetails;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup71 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 pCDPercentageDetails;
private List segmentGroup72;
private List segmentGroup73;
private List segmentGroup74;
private List segmentGroup75;
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(pCDPercentageDetails != null && !pCDPercentageDetails.isEmpty()) {
for(PCDPercentageDetails pCDPercentageDetailsInst : pCDPercentageDetails) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetailsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup72 != null && !segmentGroup72.isEmpty()) {
for(SegmentGroup72 segmentGroup72Inst : segmentGroup72) {
segmentGroup72Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup73 != null && !segmentGroup73.isEmpty()) {
for(SegmentGroup73 segmentGroup73Inst : segmentGroup73) {
segmentGroup73Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup74 != null && !segmentGroup74.isEmpty()) {
for(SegmentGroup74 segmentGroup74Inst : segmentGroup74) {
segmentGroup74Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup75 != null && !segmentGroup75.isEmpty()) {
for(SegmentGroup75 segmentGroup75Inst : segmentGroup75) {
segmentGroup75Inst.write(nodeWriter, delimiters);
}
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup71 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public EQNNumberOfUnits getEQNNumberOfUnits() {
return eQNNumberOfUnits;
}
public SegmentGroup71 setEQNNumberOfUnits(EQNNumberOfUnits eQNNumberOfUnits) {
this.eQNNumberOfUnits = eQNNumberOfUnits; return this;
}
public TMDTransportMovementDetails getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup71 setTMDTransportMovementDetails(TMDTransportMovementDetails tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup71 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getDIMDimensions() {
return dIMDimensions;
}
public SegmentGroup71 setDIMDimensions(List dIMDimensions) {
this.dIMDimensions = dIMDimensions; return this;
}
public List getSELSealNumber() {
return sELSealNumber;
}
public SegmentGroup71 setSELSealNumber(List sELSealNumber) {
this.sELSealNumber = sELSealNumber; return this;
}
public List getTPLTransportPlacement() {
return tPLTransportPlacement;
}
public SegmentGroup71 setTPLTransportPlacement(List tPLTransportPlacement) {
this.tPLTransportPlacement = tPLTransportPlacement; return this;
}
public HANHandlingInstructions getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup71 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public TMPTemperature getTMPTemperature() {
return tMPTemperature;
}
public SegmentGroup71 setTMPTemperature(TMPTemperature tMPTemperature) {
this.tMPTemperature = tMPTemperature; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup71 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup71 setPCDPercentageDetails(List pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public List getSegmentGroup72() {
return segmentGroup72;
}
public SegmentGroup71 setSegmentGroup72(List segmentGroup72) {
this.segmentGroup72 = segmentGroup72; return this;
}
public List getSegmentGroup73() {
return segmentGroup73;
}
public SegmentGroup71 setSegmentGroup73(List segmentGroup73) {
this.segmentGroup73 = segmentGroup73; return this;
}
public List getSegmentGroup74() {
return segmentGroup74;
}
public SegmentGroup71 setSegmentGroup74(List segmentGroup74) {
this.segmentGroup74 = segmentGroup74; return this;
}
public List getSegmentGroup75() {
return segmentGroup75;
}
public SegmentGroup71 setSegmentGroup75(List segmentGroup75) {
this.segmentGroup75 = segmentGroup75; return this;
}
}