All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.milyn.edi.unedifact.d98a.HANMOV.SegmentGroup13 Maven / Gradle / Ivy

There is a newer version: 1.7.1.0
Show newest version
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d98a.HANMOV;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d98a.common.GIDGoodsItemDetails;    
import org.milyn.edi.unedifact.d98a.common.HANHandlingInstructions;    
import org.milyn.edi.unedifact.d98a.common.CSTCustomsStatusOfGoods;    
import org.milyn.edi.unedifact.d98a.common.TMPTemperature;    
import org.milyn.edi.unedifact.d98a.common.RNGRangeDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d98a.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d98a.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d98a.common.PIAAdditionalProductId;    
import org.milyn.edi.unedifact.d98a.common.FTXFreeText;    
import org.milyn.edi.unedifact.d98a.common.NADNameAndAddress;    
import org.milyn.edi.unedifact.d98a.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d98a.common.DIMDimensions;    
import org.milyn.edi.unedifact.d98a.common.RFFReference;    
import org.milyn.edi.unedifact.d98a.common.PCIPackageIdentification;    
import org.milyn.edi.unedifact.d98a.common.SGPSplitGoodsPlacement;    
import org.milyn.edi.unedifact.d98a.common.TCCTransportChargeRateCalculations;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup13 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private GIDGoodsItemDetails gIDGoodsItemDetails;
    private HANHandlingInstructions hANHandlingInstructions;
    private CSTCustomsStatusOfGoods cSTCustomsStatusOfGoods;
    private TMPTemperature tMPTemperature;
    private RNGRangeDetails rNGRangeDetails;
    private List lOCPlaceLocationIdentification;
    private List mOAMonetaryAmount;
    private List pIAAdditionalProductId;
    private List fTXFreeText;
    private List nADNameAndAddress;
    private List mEAMeasurements;
    private List dIMDimensions;
    private List rFFReference;
    private List pCIPackageIdentification;
    private List segmentGroup14;
    private List sGPSplitGoodsPlacement;
    private List tCCTransportChargeRateCalculations;
    private List segmentGroup15;

    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(hANHandlingInstructions != null) {
            nodeWriter.write("HAN");
            nodeWriter.write(delimiters.getField());
            hANHandlingInstructions.write(nodeWriter, delimiters);
        }
        if(cSTCustomsStatusOfGoods != null) {
            nodeWriter.write("CST");
            nodeWriter.write(delimiters.getField());
            cSTCustomsStatusOfGoods.write(nodeWriter, delimiters);
        }
        if(tMPTemperature != null) {
            nodeWriter.write("TMP");
            nodeWriter.write(delimiters.getField());
            tMPTemperature.write(nodeWriter, delimiters);
        }
        if(rNGRangeDetails != null) {
            nodeWriter.write("RNG");
            nodeWriter.write(delimiters.getField());
            rNGRangeDetails.write(nodeWriter, delimiters);
        }
        if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
            for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
                nodeWriter.write("LOC");
                nodeWriter.write(delimiters.getField());
                lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.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(nADNameAndAddress != null && !nADNameAndAddress.isEmpty()) {
            for(NADNameAndAddress nADNameAndAddressInst : nADNameAndAddress) {
                nodeWriter.write("NAD");
                nodeWriter.write(delimiters.getField());
                nADNameAndAddressInst.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(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(pCIPackageIdentification != null && !pCIPackageIdentification.isEmpty()) {
            for(PCIPackageIdentification pCIPackageIdentificationInst : pCIPackageIdentification) {
                nodeWriter.write("PCI");
                nodeWriter.write(delimiters.getField());
                pCIPackageIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
            for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
                segmentGroup14Inst.write(nodeWriter, delimiters);
            }
        }
        if(sGPSplitGoodsPlacement != null && !sGPSplitGoodsPlacement.isEmpty()) {
            for(SGPSplitGoodsPlacement sGPSplitGoodsPlacementInst : sGPSplitGoodsPlacement) {
                nodeWriter.write("SGP");
                nodeWriter.write(delimiters.getField());
                sGPSplitGoodsPlacementInst.write(nodeWriter, delimiters);
            }
        }
        if(tCCTransportChargeRateCalculations != null && !tCCTransportChargeRateCalculations.isEmpty()) {
            for(TCCTransportChargeRateCalculations tCCTransportChargeRateCalculationsInst : tCCTransportChargeRateCalculations) {
                nodeWriter.write("TCC");
                nodeWriter.write(delimiters.getField());
                tCCTransportChargeRateCalculationsInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
            for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
                segmentGroup15Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public GIDGoodsItemDetails getGIDGoodsItemDetails() {
        return gIDGoodsItemDetails;
    }

    public SegmentGroup13 setGIDGoodsItemDetails(GIDGoodsItemDetails gIDGoodsItemDetails) {
        this.gIDGoodsItemDetails = gIDGoodsItemDetails;  return this;
    }

    public HANHandlingInstructions getHANHandlingInstructions() {
        return hANHandlingInstructions;
    }

    public SegmentGroup13 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
        this.hANHandlingInstructions = hANHandlingInstructions;  return this;
    }

    public CSTCustomsStatusOfGoods getCSTCustomsStatusOfGoods() {
        return cSTCustomsStatusOfGoods;
    }

    public SegmentGroup13 setCSTCustomsStatusOfGoods(CSTCustomsStatusOfGoods cSTCustomsStatusOfGoods) {
        this.cSTCustomsStatusOfGoods = cSTCustomsStatusOfGoods;  return this;
    }

    public TMPTemperature getTMPTemperature() {
        return tMPTemperature;
    }

    public SegmentGroup13 setTMPTemperature(TMPTemperature tMPTemperature) {
        this.tMPTemperature = tMPTemperature;  return this;
    }

    public RNGRangeDetails getRNGRangeDetails() {
        return rNGRangeDetails;
    }

    public SegmentGroup13 setRNGRangeDetails(RNGRangeDetails rNGRangeDetails) {
        this.rNGRangeDetails = rNGRangeDetails;  return this;
    }

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

    public SegmentGroup13 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
        this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification;  return this;
    }

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

    public SegmentGroup13 setMOAMonetaryAmount(List mOAMonetaryAmount) {
        this.mOAMonetaryAmount = mOAMonetaryAmount;  return this;
    }

    public List getPIAAdditionalProductId() {
        return pIAAdditionalProductId;
    }

    public SegmentGroup13 setPIAAdditionalProductId(List pIAAdditionalProductId) {
        this.pIAAdditionalProductId = pIAAdditionalProductId;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

    public SegmentGroup13 setFTXFreeText(List fTXFreeText) {
        this.fTXFreeText = fTXFreeText;  return this;
    }

    public List getNADNameAndAddress() {
        return nADNameAndAddress;
    }

    public SegmentGroup13 setNADNameAndAddress(List nADNameAndAddress) {
        this.nADNameAndAddress = nADNameAndAddress;  return this;
    }

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

    public SegmentGroup13 setMEAMeasurements(List mEAMeasurements) {
        this.mEAMeasurements = mEAMeasurements;  return this;
    }

    public List getDIMDimensions() {
        return dIMDimensions;
    }

    public SegmentGroup13 setDIMDimensions(List dIMDimensions) {
        this.dIMDimensions = dIMDimensions;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

    public SegmentGroup13 setRFFReference(List rFFReference) {
        this.rFFReference = rFFReference;  return this;
    }

    public List getPCIPackageIdentification() {
        return pCIPackageIdentification;
    }

    public SegmentGroup13 setPCIPackageIdentification(List pCIPackageIdentification) {
        this.pCIPackageIdentification = pCIPackageIdentification;  return this;
    }

    public List getSegmentGroup14() {
        return segmentGroup14;
    }

    public SegmentGroup13 setSegmentGroup14(List segmentGroup14) {
        this.segmentGroup14 = segmentGroup14;  return this;
    }

    public List getSGPSplitGoodsPlacement() {
        return sGPSplitGoodsPlacement;
    }

    public SegmentGroup13 setSGPSplitGoodsPlacement(List sGPSplitGoodsPlacement) {
        this.sGPSplitGoodsPlacement = sGPSplitGoodsPlacement;  return this;
    }

    public List getTCCTransportChargeRateCalculations() {
        return tCCTransportChargeRateCalculations;
    }

    public SegmentGroup13 setTCCTransportChargeRateCalculations(List tCCTransportChargeRateCalculations) {
        this.tCCTransportChargeRateCalculations = tCCTransportChargeRateCalculations;  return this;
    }

    public List getSegmentGroup15() {
        return segmentGroup15;
    }

    public SegmentGroup13 setSegmentGroup15(List segmentGroup15) {
        this.segmentGroup15 = segmentGroup15;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy