org.virtuslab.edi.unedifact.d96a.IFTFCC.SegmentGroup37 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.IFTFCC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.GIDGoodsItemDetails;
import java.util.List;
import org.virtuslab.edi.unedifact.d96a.common.TCCTransportChargeRateCalculations;
import org.virtuslab.edi.unedifact.d96a.common.HANHandlingInstructions;
import org.virtuslab.edi.unedifact.d96a.common.TMPTemperature;
import org.virtuslab.edi.unedifact.d96a.common.TMDTransportMovementDetails;
import org.virtuslab.edi.unedifact.d96a.common.LOCPlaceLocationIdentification;
import org.virtuslab.edi.unedifact.d96a.common.PCIPackageIdentification;
import org.virtuslab.edi.unedifact.d96a.common.PIAAdditionalProductId;
import org.virtuslab.edi.unedifact.d96a.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup37 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private GIDGoodsItemDetails gIDGoodsItemDetails;
private List tCCTransportChargeRateCalculations;
private HANHandlingInstructions hANHandlingInstructions;
private TMPTemperature tMPTemperature;
private TMDTransportMovementDetails tMDTransportMovementDetails;
private List lOCPlaceLocationIdentification;
private List pCIPackageIdentification;
private List pIAAdditionalProductId;
private List fTXFreeText;
private List segmentGroup38;
private List segmentGroup39;
private List segmentGroup40;
private List segmentGroup41;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(gIDGoodsItemDetails != null) {
nodeWriter.write("GID");
nodeWriter.write(delimiters.getField());
gIDGoodsItemDetails.write(nodeWriter, delimiters);
}
if(tCCTransportChargeRateCalculations != null && !tCCTransportChargeRateCalculations.isEmpty()) {
for(TCCTransportChargeRateCalculations tCCTransportChargeRateCalculationsInst : tCCTransportChargeRateCalculations) {
nodeWriter.write("TCC");
nodeWriter.write(delimiters.getField());
tCCTransportChargeRateCalculationsInst.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(tMDTransportMovementDetails != null) {
nodeWriter.write("TMD");
nodeWriter.write(delimiters.getField());
tMDTransportMovementDetails.write(nodeWriter, delimiters);
}
if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(pCIPackageIdentification != null && !pCIPackageIdentification.isEmpty()) {
for(PCIPackageIdentification pCIPackageIdentificationInst : pCIPackageIdentification) {
nodeWriter.write("PCI");
nodeWriter.write(delimiters.getField());
pCIPackageIdentificationInst.write(nodeWriter, delimiters);
}
}
if(pIAAdditionalProductId != null && !pIAAdditionalProductId.isEmpty()) {
for(PIAAdditionalProductId pIAAdditionalProductIdInst : pIAAdditionalProductId) {
nodeWriter.write("PIA");
nodeWriter.write(delimiters.getField());
pIAAdditionalProductIdInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.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);
}
}
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);
}
}
}
public GIDGoodsItemDetails getGIDGoodsItemDetails() {
return gIDGoodsItemDetails;
}
public SegmentGroup37 setGIDGoodsItemDetails(GIDGoodsItemDetails gIDGoodsItemDetails) {
this.gIDGoodsItemDetails = gIDGoodsItemDetails; return this;
}
public List getTCCTransportChargeRateCalculations() {
return tCCTransportChargeRateCalculations;
}
public SegmentGroup37 setTCCTransportChargeRateCalculations(List tCCTransportChargeRateCalculations) {
this.tCCTransportChargeRateCalculations = tCCTransportChargeRateCalculations; return this;
}
public HANHandlingInstructions getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup37 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public TMPTemperature getTMPTemperature() {
return tMPTemperature;
}
public SegmentGroup37 setTMPTemperature(TMPTemperature tMPTemperature) {
this.tMPTemperature = tMPTemperature; return this;
}
public TMDTransportMovementDetails getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup37 setTMDTransportMovementDetails(TMDTransportMovementDetails tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup37 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getPCIPackageIdentification() {
return pCIPackageIdentification;
}
public SegmentGroup37 setPCIPackageIdentification(List pCIPackageIdentification) {
this.pCIPackageIdentification = pCIPackageIdentification; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup37 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup37 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup38() {
return segmentGroup38;
}
public SegmentGroup37 setSegmentGroup38(List segmentGroup38) {
this.segmentGroup38 = segmentGroup38; return this;
}
public List getSegmentGroup39() {
return segmentGroup39;
}
public SegmentGroup37 setSegmentGroup39(List segmentGroup39) {
this.segmentGroup39 = segmentGroup39; return this;
}
public List getSegmentGroup40() {
return segmentGroup40;
}
public SegmentGroup37 setSegmentGroup40(List segmentGroup40) {
this.segmentGroup40 = segmentGroup40; return this;
}
public List getSegmentGroup41() {
return segmentGroup41;
}
public SegmentGroup37 setSegmentGroup41(List segmentGroup41) {
this.segmentGroup41 = segmentGroup41; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy