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

org.milyn.edi.unedifact.d09b.GOVCBR.SegmentGroup109 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.d09b.GOVCBR;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d09b.common.GIDGoodsItemDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d09b.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d09b.common.FTXFreeText;    
import org.milyn.edi.unedifact.d09b.common.RFFReference;    
import org.milyn.edi.unedifact.d09b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d09b.common.GIRRelatedIdentificationNumbers;    
import org.milyn.edi.unedifact.d09b.common.GINGoodsIdentityNumber;    
import org.milyn.edi.unedifact.d09b.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d09b.common.PRCProcessIdentification;    
import org.milyn.edi.unedifact.d09b.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d09b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d09b.common.CDIPhysicalOrLogicalState;    
import org.milyn.edi.unedifact.d09b.common.PGIProductGroupInformation;    
import org.milyn.edi.unedifact.d09b.common.TCCChargeRateCalculations;    
import org.milyn.edi.unedifact.d09b.common.CNTControlTotal;    
import org.milyn.edi.unedifact.d09b.common.IFDInformationDetail;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup109 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private GIDGoodsItemDetails gIDGoodsItemDetails;
    private List iMDItemDescription;
    private List fTXFreeText;
    private List rFFReference;
    private List dTMDateTimePeriod;
    private List gIRRelatedIdentificationNumbers;
    private List gINGoodsIdentityNumber;
    private List gEIProcessingInformation;
    private List pRCProcessIdentification;
    private List mEAMeasurements;
    private List mOAMonetaryAmount;
    private List cDIPhysicalOrLogicalState;
    private List pGIProductGroupInformation;
    private List tCCChargeRateCalculations;
    private List cNTControlTotal;
    private List iFDInformationDetail;
    private List segmentGroup110;
    private List segmentGroup111;
    private List segmentGroup113;
    private List segmentGroup117;
    private List segmentGroup119;
    private List segmentGroup120;
    private SegmentGroup121 segmentGroup121;
    private List segmentGroup124;
    private List segmentGroup129;
    private List segmentGroup130;
    private List segmentGroup132;

    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(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
            for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
                nodeWriter.write("IMD");
                nodeWriter.write(delimiters.getField());
                iMDItemDescriptionInst.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(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(gIRRelatedIdentificationNumbers != null && !gIRRelatedIdentificationNumbers.isEmpty()) {
            for(GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbersInst : gIRRelatedIdentificationNumbers) {
                nodeWriter.write("GIR");
                nodeWriter.write(delimiters.getField());
                gIRRelatedIdentificationNumbersInst.write(nodeWriter, delimiters);
            }
        }
        if(gINGoodsIdentityNumber != null && !gINGoodsIdentityNumber.isEmpty()) {
            for(GINGoodsIdentityNumber gINGoodsIdentityNumberInst : gINGoodsIdentityNumber) {
                nodeWriter.write("GIN");
                nodeWriter.write(delimiters.getField());
                gINGoodsIdentityNumberInst.write(nodeWriter, delimiters);
            }
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(pRCProcessIdentification != null && !pRCProcessIdentification.isEmpty()) {
            for(PRCProcessIdentification pRCProcessIdentificationInst : pRCProcessIdentification) {
                nodeWriter.write("PRC");
                nodeWriter.write(delimiters.getField());
                pRCProcessIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
            for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
                nodeWriter.write("MEA");
                nodeWriter.write(delimiters.getField());
                mEAMeasurementsInst.write(nodeWriter, delimiters);
            }
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.write(nodeWriter, delimiters);
            }
        }
        if(cDIPhysicalOrLogicalState != null && !cDIPhysicalOrLogicalState.isEmpty()) {
            for(CDIPhysicalOrLogicalState cDIPhysicalOrLogicalStateInst : cDIPhysicalOrLogicalState) {
                nodeWriter.write("CDI");
                nodeWriter.write(delimiters.getField());
                cDIPhysicalOrLogicalStateInst.write(nodeWriter, delimiters);
            }
        }
        if(pGIProductGroupInformation != null && !pGIProductGroupInformation.isEmpty()) {
            for(PGIProductGroupInformation pGIProductGroupInformationInst : pGIProductGroupInformation) {
                nodeWriter.write("PGI");
                nodeWriter.write(delimiters.getField());
                pGIProductGroupInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(tCCChargeRateCalculations != null && !tCCChargeRateCalculations.isEmpty()) {
            for(TCCChargeRateCalculations tCCChargeRateCalculationsInst : tCCChargeRateCalculations) {
                nodeWriter.write("TCC");
                nodeWriter.write(delimiters.getField());
                tCCChargeRateCalculationsInst.write(nodeWriter, delimiters);
            }
        }
        if(cNTControlTotal != null && !cNTControlTotal.isEmpty()) {
            for(CNTControlTotal cNTControlTotalInst : cNTControlTotal) {
                nodeWriter.write("CNT");
                nodeWriter.write(delimiters.getField());
                cNTControlTotalInst.write(nodeWriter, delimiters);
            }
        }
        if(iFDInformationDetail != null && !iFDInformationDetail.isEmpty()) {
            for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
                nodeWriter.write("IFD");
                nodeWriter.write(delimiters.getField());
                iFDInformationDetailInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup110 != null && !segmentGroup110.isEmpty()) {
            for(SegmentGroup110 segmentGroup110Inst : segmentGroup110) {
                segmentGroup110Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup111 != null && !segmentGroup111.isEmpty()) {
            for(SegmentGroup111 segmentGroup111Inst : segmentGroup111) {
                segmentGroup111Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup113 != null && !segmentGroup113.isEmpty()) {
            for(SegmentGroup113 segmentGroup113Inst : segmentGroup113) {
                segmentGroup113Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup117 != null && !segmentGroup117.isEmpty()) {
            for(SegmentGroup117 segmentGroup117Inst : segmentGroup117) {
                segmentGroup117Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup119 != null && !segmentGroup119.isEmpty()) {
            for(SegmentGroup119 segmentGroup119Inst : segmentGroup119) {
                segmentGroup119Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup120 != null && !segmentGroup120.isEmpty()) {
            for(SegmentGroup120 segmentGroup120Inst : segmentGroup120) {
                segmentGroup120Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup121 != null) {
            segmentGroup121.write(nodeWriter, delimiters);
        }
        if(segmentGroup124 != null && !segmentGroup124.isEmpty()) {
            for(SegmentGroup124 segmentGroup124Inst : segmentGroup124) {
                segmentGroup124Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup129 != null && !segmentGroup129.isEmpty()) {
            for(SegmentGroup129 segmentGroup129Inst : segmentGroup129) {
                segmentGroup129Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup130 != null && !segmentGroup130.isEmpty()) {
            for(SegmentGroup130 segmentGroup130Inst : segmentGroup130) {
                segmentGroup130Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup132 != null && !segmentGroup132.isEmpty()) {
            for(SegmentGroup132 segmentGroup132Inst : segmentGroup132) {
                segmentGroup132Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public GIDGoodsItemDetails getGIDGoodsItemDetails() {
        return gIDGoodsItemDetails;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

    public SegmentGroup109 setIMDItemDescription(List iMDItemDescription) {
        this.iMDItemDescription = iMDItemDescription;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

    public SegmentGroup109 setDTMDateTimePeriod(List dTMDateTimePeriod) {
        this.dTMDateTimePeriod = dTMDateTimePeriod;  return this;
    }

    public List getGIRRelatedIdentificationNumbers() {
        return gIRRelatedIdentificationNumbers;
    }

    public SegmentGroup109 setGIRRelatedIdentificationNumbers(List gIRRelatedIdentificationNumbers) {
        this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers;  return this;
    }

    public List getGINGoodsIdentityNumber() {
        return gINGoodsIdentityNumber;
    }

    public SegmentGroup109 setGINGoodsIdentityNumber(List gINGoodsIdentityNumber) {
        this.gINGoodsIdentityNumber = gINGoodsIdentityNumber;  return this;
    }

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

    public SegmentGroup109 setGEIProcessingInformation(List gEIProcessingInformation) {
        this.gEIProcessingInformation = gEIProcessingInformation;  return this;
    }

    public List getPRCProcessIdentification() {
        return pRCProcessIdentification;
    }

    public SegmentGroup109 setPRCProcessIdentification(List pRCProcessIdentification) {
        this.pRCProcessIdentification = pRCProcessIdentification;  return this;
    }

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getCDIPhysicalOrLogicalState() {
        return cDIPhysicalOrLogicalState;
    }

    public SegmentGroup109 setCDIPhysicalOrLogicalState(List cDIPhysicalOrLogicalState) {
        this.cDIPhysicalOrLogicalState = cDIPhysicalOrLogicalState;  return this;
    }

    public List getPGIProductGroupInformation() {
        return pGIProductGroupInformation;
    }

    public SegmentGroup109 setPGIProductGroupInformation(List pGIProductGroupInformation) {
        this.pGIProductGroupInformation = pGIProductGroupInformation;  return this;
    }

    public List getTCCChargeRateCalculations() {
        return tCCChargeRateCalculations;
    }

    public SegmentGroup109 setTCCChargeRateCalculations(List tCCChargeRateCalculations) {
        this.tCCChargeRateCalculations = tCCChargeRateCalculations;  return this;
    }

    public List getCNTControlTotal() {
        return cNTControlTotal;
    }

    public SegmentGroup109 setCNTControlTotal(List cNTControlTotal) {
        this.cNTControlTotal = cNTControlTotal;  return this;
    }

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

    public SegmentGroup109 setIFDInformationDetail(List iFDInformationDetail) {
        this.iFDInformationDetail = iFDInformationDetail;  return this;
    }

    public List getSegmentGroup110() {
        return segmentGroup110;
    }

    public SegmentGroup109 setSegmentGroup110(List segmentGroup110) {
        this.segmentGroup110 = segmentGroup110;  return this;
    }

    public List getSegmentGroup111() {
        return segmentGroup111;
    }

    public SegmentGroup109 setSegmentGroup111(List segmentGroup111) {
        this.segmentGroup111 = segmentGroup111;  return this;
    }

    public List getSegmentGroup113() {
        return segmentGroup113;
    }

    public SegmentGroup109 setSegmentGroup113(List segmentGroup113) {
        this.segmentGroup113 = segmentGroup113;  return this;
    }

    public List getSegmentGroup117() {
        return segmentGroup117;
    }

    public SegmentGroup109 setSegmentGroup117(List segmentGroup117) {
        this.segmentGroup117 = segmentGroup117;  return this;
    }

    public List getSegmentGroup119() {
        return segmentGroup119;
    }

    public SegmentGroup109 setSegmentGroup119(List segmentGroup119) {
        this.segmentGroup119 = segmentGroup119;  return this;
    }

    public List getSegmentGroup120() {
        return segmentGroup120;
    }

    public SegmentGroup109 setSegmentGroup120(List segmentGroup120) {
        this.segmentGroup120 = segmentGroup120;  return this;
    }

    public SegmentGroup121 getSegmentGroup121() {
        return segmentGroup121;
    }

    public SegmentGroup109 setSegmentGroup121(SegmentGroup121 segmentGroup121) {
        this.segmentGroup121 = segmentGroup121;  return this;
    }

    public List getSegmentGroup124() {
        return segmentGroup124;
    }

    public SegmentGroup109 setSegmentGroup124(List segmentGroup124) {
        this.segmentGroup124 = segmentGroup124;  return this;
    }

    public List getSegmentGroup129() {
        return segmentGroup129;
    }

    public SegmentGroup109 setSegmentGroup129(List segmentGroup129) {
        this.segmentGroup129 = segmentGroup129;  return this;
    }

    public List getSegmentGroup130() {
        return segmentGroup130;
    }

    public SegmentGroup109 setSegmentGroup130(List segmentGroup130) {
        this.segmentGroup130 = segmentGroup130;  return this;
    }

    public List getSegmentGroup132() {
        return segmentGroup132;
    }

    public SegmentGroup109 setSegmentGroup132(List segmentGroup132) {
        this.segmentGroup132 = segmentGroup132;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy