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

org.milyn.edi.unedifact.d11b.GOVCBR.SegmentGroup200 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.IFDInformationDetail;    
import org.milyn.edi.unedifact.d11b.common.CNTControlTotal;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup200 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 iFDInformationDetail;
    private List cNTControlTotal;
    private List segmentGroup201;
    private List segmentGroup203;
    private List segmentGroup204;
    private List segmentGroup208;
    private List segmentGroup210;
    private List segmentGroup211;
    private SegmentGroup212 segmentGroup212;
    private List segmentGroup215;
    private List segmentGroup220;
    private List segmentGroup221;
    private List segmentGroup223;

    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(iFDInformationDetail != null && !iFDInformationDetail.isEmpty()) {
            for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
                nodeWriter.write("IFD");
                nodeWriter.write(delimiters.getField());
                iFDInformationDetailInst.write(nodeWriter, delimiters);
            }
        }
        if(cNTControlTotal != null && !cNTControlTotal.isEmpty()) {
            for(CNTControlTotal cNTControlTotalInst : cNTControlTotal) {
                nodeWriter.write("CNT");
                nodeWriter.write(delimiters.getField());
                cNTControlTotalInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup201 != null && !segmentGroup201.isEmpty()) {
            for(SegmentGroup201 segmentGroup201Inst : segmentGroup201) {
                segmentGroup201Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup203 != null && !segmentGroup203.isEmpty()) {
            for(SegmentGroup203 segmentGroup203Inst : segmentGroup203) {
                segmentGroup203Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup204 != null && !segmentGroup204.isEmpty()) {
            for(SegmentGroup204 segmentGroup204Inst : segmentGroup204) {
                segmentGroup204Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup208 != null && !segmentGroup208.isEmpty()) {
            for(SegmentGroup208 segmentGroup208Inst : segmentGroup208) {
                segmentGroup208Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup210 != null && !segmentGroup210.isEmpty()) {
            for(SegmentGroup210 segmentGroup210Inst : segmentGroup210) {
                segmentGroup210Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup211 != null && !segmentGroup211.isEmpty()) {
            for(SegmentGroup211 segmentGroup211Inst : segmentGroup211) {
                segmentGroup211Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup212 != null) {
            segmentGroup212.write(nodeWriter, delimiters);
        }
        if(segmentGroup215 != null && !segmentGroup215.isEmpty()) {
            for(SegmentGroup215 segmentGroup215Inst : segmentGroup215) {
                segmentGroup215Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup220 != null && !segmentGroup220.isEmpty()) {
            for(SegmentGroup220 segmentGroup220Inst : segmentGroup220) {
                segmentGroup220Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup221 != null && !segmentGroup221.isEmpty()) {
            for(SegmentGroup221 segmentGroup221Inst : segmentGroup221) {
                segmentGroup221Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup223 != null && !segmentGroup223.isEmpty()) {
            for(SegmentGroup223 segmentGroup223Inst : segmentGroup223) {
                segmentGroup223Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public GIDGoodsItemDetails getGIDGoodsItemDetails() {
        return gIDGoodsItemDetails;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

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

    public List getAPPApplicability() {
        return aPPApplicability;
    }

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

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getGIRRelatedIdentificationNumbers() {
        return gIRRelatedIdentificationNumbers;
    }

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

    public List getGINGoodsIdentityNumber() {
        return gINGoodsIdentityNumber;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getPRCProcessIdentification() {
        return pRCProcessIdentification;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getCDIPhysicalOrLogicalState() {
        return cDIPhysicalOrLogicalState;
    }

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

    public List getPGIProductGroupInformation() {
        return pGIProductGroupInformation;
    }

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

    public List getTCCChargeRateCalculations() {
        return tCCChargeRateCalculations;
    }

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

    public List getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public List getCNTControlTotal() {
        return cNTControlTotal;
    }

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

    public List getSegmentGroup201() {
        return segmentGroup201;
    }

    public SegmentGroup200 setSegmentGroup201(List segmentGroup201) {
        this.segmentGroup201 = segmentGroup201;  return this;
    }

    public List getSegmentGroup203() {
        return segmentGroup203;
    }

    public SegmentGroup200 setSegmentGroup203(List segmentGroup203) {
        this.segmentGroup203 = segmentGroup203;  return this;
    }

    public List getSegmentGroup204() {
        return segmentGroup204;
    }

    public SegmentGroup200 setSegmentGroup204(List segmentGroup204) {
        this.segmentGroup204 = segmentGroup204;  return this;
    }

    public List getSegmentGroup208() {
        return segmentGroup208;
    }

    public SegmentGroup200 setSegmentGroup208(List segmentGroup208) {
        this.segmentGroup208 = segmentGroup208;  return this;
    }

    public List getSegmentGroup210() {
        return segmentGroup210;
    }

    public SegmentGroup200 setSegmentGroup210(List segmentGroup210) {
        this.segmentGroup210 = segmentGroup210;  return this;
    }

    public List getSegmentGroup211() {
        return segmentGroup211;
    }

    public SegmentGroup200 setSegmentGroup211(List segmentGroup211) {
        this.segmentGroup211 = segmentGroup211;  return this;
    }

    public SegmentGroup212 getSegmentGroup212() {
        return segmentGroup212;
    }

    public SegmentGroup200 setSegmentGroup212(SegmentGroup212 segmentGroup212) {
        this.segmentGroup212 = segmentGroup212;  return this;
    }

    public List getSegmentGroup215() {
        return segmentGroup215;
    }

    public SegmentGroup200 setSegmentGroup215(List segmentGroup215) {
        this.segmentGroup215 = segmentGroup215;  return this;
    }

    public List getSegmentGroup220() {
        return segmentGroup220;
    }

    public SegmentGroup200 setSegmentGroup220(List segmentGroup220) {
        this.segmentGroup220 = segmentGroup220;  return this;
    }

    public List getSegmentGroup221() {
        return segmentGroup221;
    }

    public SegmentGroup200 setSegmentGroup221(List segmentGroup221) {
        this.segmentGroup221 = segmentGroup221;  return this;
    }

    public List getSegmentGroup223() {
        return segmentGroup223;
    }

    public SegmentGroup200 setSegmentGroup223(List segmentGroup223) {
        this.segmentGroup223 = segmentGroup223;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy