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

org.milyn.edi.unedifact.d11b.GOVCBR.SegmentGroup113 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.d11b.GOVCBR;

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

public class SegmentGroup113 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private GIDGoodsItemDetails gIDGoodsItemDetails;
    private List iMDItemDescription;
    private List aPPApplicability;
    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 segmentGroup114;
    private List segmentGroup115;
    private List segmentGroup117;
    private List segmentGroup121;
    private List segmentGroup123;
    private List segmentGroup124;
    private SegmentGroup125 segmentGroup125;
    private List segmentGroup128;
    private List segmentGroup133;
    private List segmentGroup134;
    private List segmentGroup136;
    private List segmentGroup137;

    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(aPPApplicability != null && !aPPApplicability.isEmpty()) {
            for(APPApplicability aPPApplicabilityInst : aPPApplicability) {
                nodeWriter.write("APP");
                nodeWriter.write(delimiters.getField());
                aPPApplicabilityInst.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(segmentGroup114 != null && !segmentGroup114.isEmpty()) {
            for(SegmentGroup114 segmentGroup114Inst : segmentGroup114) {
                segmentGroup114Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup115 != null && !segmentGroup115.isEmpty()) {
            for(SegmentGroup115 segmentGroup115Inst : segmentGroup115) {
                segmentGroup115Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup117 != null && !segmentGroup117.isEmpty()) {
            for(SegmentGroup117 segmentGroup117Inst : segmentGroup117) {
                segmentGroup117Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup121 != null && !segmentGroup121.isEmpty()) {
            for(SegmentGroup121 segmentGroup121Inst : segmentGroup121) {
                segmentGroup121Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup123 != null && !segmentGroup123.isEmpty()) {
            for(SegmentGroup123 segmentGroup123Inst : segmentGroup123) {
                segmentGroup123Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup124 != null && !segmentGroup124.isEmpty()) {
            for(SegmentGroup124 segmentGroup124Inst : segmentGroup124) {
                segmentGroup124Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup125 != null) {
            segmentGroup125.write(nodeWriter, delimiters);
        }
        if(segmentGroup128 != null && !segmentGroup128.isEmpty()) {
            for(SegmentGroup128 segmentGroup128Inst : segmentGroup128) {
                segmentGroup128Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup133 != null && !segmentGroup133.isEmpty()) {
            for(SegmentGroup133 segmentGroup133Inst : segmentGroup133) {
                segmentGroup133Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup134 != null && !segmentGroup134.isEmpty()) {
            for(SegmentGroup134 segmentGroup134Inst : segmentGroup134) {
                segmentGroup134Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup136 != null && !segmentGroup136.isEmpty()) {
            for(SegmentGroup136 segmentGroup136Inst : segmentGroup136) {
                segmentGroup136Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup137 != null && !segmentGroup137.isEmpty()) {
            for(SegmentGroup137 segmentGroup137Inst : segmentGroup137) {
                segmentGroup137Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public GIDGoodsItemDetails getGIDGoodsItemDetails() {
        return gIDGoodsItemDetails;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

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

    public List getAPPApplicability() {
        return aPPApplicability;
    }

    public SegmentGroup113 setAPPApplicability(List aPPApplicability) {
        this.aPPApplicability = aPPApplicability;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getGIRRelatedIdentificationNumbers() {
        return gIRRelatedIdentificationNumbers;
    }

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

    public List getGINGoodsIdentityNumber() {
        return gINGoodsIdentityNumber;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getPRCProcessIdentification() {
        return pRCProcessIdentification;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getCDIPhysicalOrLogicalState() {
        return cDIPhysicalOrLogicalState;
    }

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

    public List getPGIProductGroupInformation() {
        return pGIProductGroupInformation;
    }

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

    public List getTCCChargeRateCalculations() {
        return tCCChargeRateCalculations;
    }

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

    public List getCNTControlTotal() {
        return cNTControlTotal;
    }

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

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public List getSegmentGroup114() {
        return segmentGroup114;
    }

    public SegmentGroup113 setSegmentGroup114(List segmentGroup114) {
        this.segmentGroup114 = segmentGroup114;  return this;
    }

    public List getSegmentGroup115() {
        return segmentGroup115;
    }

    public SegmentGroup113 setSegmentGroup115(List segmentGroup115) {
        this.segmentGroup115 = segmentGroup115;  return this;
    }

    public List getSegmentGroup117() {
        return segmentGroup117;
    }

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

    public List getSegmentGroup121() {
        return segmentGroup121;
    }

    public SegmentGroup113 setSegmentGroup121(List segmentGroup121) {
        this.segmentGroup121 = segmentGroup121;  return this;
    }

    public List getSegmentGroup123() {
        return segmentGroup123;
    }

    public SegmentGroup113 setSegmentGroup123(List segmentGroup123) {
        this.segmentGroup123 = segmentGroup123;  return this;
    }

    public List getSegmentGroup124() {
        return segmentGroup124;
    }

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

    public SegmentGroup125 getSegmentGroup125() {
        return segmentGroup125;
    }

    public SegmentGroup113 setSegmentGroup125(SegmentGroup125 segmentGroup125) {
        this.segmentGroup125 = segmentGroup125;  return this;
    }

    public List getSegmentGroup128() {
        return segmentGroup128;
    }

    public SegmentGroup113 setSegmentGroup128(List segmentGroup128) {
        this.segmentGroup128 = segmentGroup128;  return this;
    }

    public List getSegmentGroup133() {
        return segmentGroup133;
    }

    public SegmentGroup113 setSegmentGroup133(List segmentGroup133) {
        this.segmentGroup133 = segmentGroup133;  return this;
    }

    public List getSegmentGroup134() {
        return segmentGroup134;
    }

    public SegmentGroup113 setSegmentGroup134(List segmentGroup134) {
        this.segmentGroup134 = segmentGroup134;  return this;
    }

    public List getSegmentGroup136() {
        return segmentGroup136;
    }

    public SegmentGroup113 setSegmentGroup136(List segmentGroup136) {
        this.segmentGroup136 = segmentGroup136;  return this;
    }

    public List getSegmentGroup137() {
        return segmentGroup137;
    }

    public SegmentGroup113 setSegmentGroup137(List segmentGroup137) {
        this.segmentGroup137 = segmentGroup137;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy