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

org.milyn.edi.unedifact.d11b.ORDERS.SegmentGroup29 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.ORDERS;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d11b.common.LINLineItem;    
import java.util.List;    
import org.milyn.edi.unedifact.d11b.common.PIAAdditionalProductId;    
import org.milyn.edi.unedifact.d11b.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d11b.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d11b.common.QTYQuantity;    
import org.milyn.edi.unedifact.d11b.common.PCDPercentageDetails;    
import org.milyn.edi.unedifact.d11b.common.ALIAdditionalInformation;    
import org.milyn.edi.unedifact.d11b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d11b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d11b.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d11b.common.GINGoodsIdentityNumber;    
import org.milyn.edi.unedifact.d11b.common.GIRRelatedIdentificationNumbers;    
import org.milyn.edi.unedifact.d11b.common.QVRQuantityVariances;    
import org.milyn.edi.unedifact.d11b.common.DOCDocumentMessageDetails;    
import org.milyn.edi.unedifact.d11b.common.PAIPaymentInstructions;    
import org.milyn.edi.unedifact.d11b.common.MTDMaintenanceOperationDetails;    
import org.milyn.edi.unedifact.d11b.common.FTXFreeText;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup29 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LINLineItem lINLineItem;
    private List pIAAdditionalProductId;
    private List iMDItemDescription;
    private List mEAMeasurements;
    private List qTYQuantity;
    private List pCDPercentageDetails;
    private List aLIAdditionalInformation;
    private List dTMDateTimePeriod;
    private List mOAMonetaryAmount;
    private List gEIProcessingInformation;
    private List gINGoodsIdentityNumber;
    private List gIRRelatedIdentificationNumbers;
    private QVRQuantityVariances qVRQuantityVariances;
    private List dOCDocumentMessageDetails;
    private PAIPaymentInstructions pAIPaymentInstructions;
    private List mTDMaintenanceOperationDetails;
    private List fTXFreeText;
    private List segmentGroup30;
    private List segmentGroup31;
    private List segmentGroup33;
    private List segmentGroup34;
    private List segmentGroup35;
    private List segmentGroup38;
    private List segmentGroup40;
    private List segmentGroup41;
    private List segmentGroup45;
    private List segmentGroup51;
    private List segmentGroup53;
    private List segmentGroup54;
    private List segmentGroup55;
    private List segmentGroup57;
    private List segmentGroup58;
    private List segmentGroup60;
    private List segmentGroup62;

    public void write(Writer writer, Delimiters delimiters) throws IOException {
        
        Writer nodeWriter = writer;

        if(lINLineItem != null) {
            nodeWriter.write("LIN");
            nodeWriter.write(delimiters.getField());
            lINLineItem.write(nodeWriter, delimiters);
        }
        if(pIAAdditionalProductId != null && !pIAAdditionalProductId.isEmpty()) {
            for(PIAAdditionalProductId pIAAdditionalProductIdInst : pIAAdditionalProductId) {
                nodeWriter.write("PIA");
                nodeWriter.write(delimiters.getField());
                pIAAdditionalProductIdInst.write(nodeWriter, delimiters);
            }
        }
        if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
            for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
                nodeWriter.write("IMD");
                nodeWriter.write(delimiters.getField());
                iMDItemDescriptionInst.write(nodeWriter, delimiters);
            }
        }
        if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
            for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
                nodeWriter.write("MEA");
                nodeWriter.write(delimiters.getField());
                mEAMeasurementsInst.write(nodeWriter, delimiters);
            }
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(pCDPercentageDetails != null && !pCDPercentageDetails.isEmpty()) {
            for(PCDPercentageDetails pCDPercentageDetailsInst : pCDPercentageDetails) {
                nodeWriter.write("PCD");
                nodeWriter.write(delimiters.getField());
                pCDPercentageDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(aLIAdditionalInformation != null && !aLIAdditionalInformation.isEmpty()) {
            for(ALIAdditionalInformation aLIAdditionalInformationInst : aLIAdditionalInformation) {
                nodeWriter.write("ALI");
                nodeWriter.write(delimiters.getField());
                aLIAdditionalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.write(nodeWriter, delimiters);
            }
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(gINGoodsIdentityNumber != null && !gINGoodsIdentityNumber.isEmpty()) {
            for(GINGoodsIdentityNumber gINGoodsIdentityNumberInst : gINGoodsIdentityNumber) {
                nodeWriter.write("GIN");
                nodeWriter.write(delimiters.getField());
                gINGoodsIdentityNumberInst.write(nodeWriter, delimiters);
            }
        }
        if(gIRRelatedIdentificationNumbers != null && !gIRRelatedIdentificationNumbers.isEmpty()) {
            for(GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbersInst : gIRRelatedIdentificationNumbers) {
                nodeWriter.write("GIR");
                nodeWriter.write(delimiters.getField());
                gIRRelatedIdentificationNumbersInst.write(nodeWriter, delimiters);
            }
        }
        if(qVRQuantityVariances != null) {
            nodeWriter.write("QVR");
            nodeWriter.write(delimiters.getField());
            qVRQuantityVariances.write(nodeWriter, delimiters);
        }
        if(dOCDocumentMessageDetails != null && !dOCDocumentMessageDetails.isEmpty()) {
            for(DOCDocumentMessageDetails dOCDocumentMessageDetailsInst : dOCDocumentMessageDetails) {
                nodeWriter.write("DOC");
                nodeWriter.write(delimiters.getField());
                dOCDocumentMessageDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(pAIPaymentInstructions != null) {
            nodeWriter.write("PAI");
            nodeWriter.write(delimiters.getField());
            pAIPaymentInstructions.write(nodeWriter, delimiters);
        }
        if(mTDMaintenanceOperationDetails != null && !mTDMaintenanceOperationDetails.isEmpty()) {
            for(MTDMaintenanceOperationDetails mTDMaintenanceOperationDetailsInst : mTDMaintenanceOperationDetails) {
                nodeWriter.write("MTD");
                nodeWriter.write(delimiters.getField());
                mTDMaintenanceOperationDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup30 != null && !segmentGroup30.isEmpty()) {
            for(SegmentGroup30 segmentGroup30Inst : segmentGroup30) {
                segmentGroup30Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup31 != null && !segmentGroup31.isEmpty()) {
            for(SegmentGroup31 segmentGroup31Inst : segmentGroup31) {
                segmentGroup31Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup33 != null && !segmentGroup33.isEmpty()) {
            for(SegmentGroup33 segmentGroup33Inst : segmentGroup33) {
                segmentGroup33Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup34 != null && !segmentGroup34.isEmpty()) {
            for(SegmentGroup34 segmentGroup34Inst : segmentGroup34) {
                segmentGroup34Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup35 != null && !segmentGroup35.isEmpty()) {
            for(SegmentGroup35 segmentGroup35Inst : segmentGroup35) {
                segmentGroup35Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup38 != null && !segmentGroup38.isEmpty()) {
            for(SegmentGroup38 segmentGroup38Inst : segmentGroup38) {
                segmentGroup38Inst.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);
            }
        }
        if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
            for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
                segmentGroup45Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup51 != null && !segmentGroup51.isEmpty()) {
            for(SegmentGroup51 segmentGroup51Inst : segmentGroup51) {
                segmentGroup51Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup53 != null && !segmentGroup53.isEmpty()) {
            for(SegmentGroup53 segmentGroup53Inst : segmentGroup53) {
                segmentGroup53Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup54 != null && !segmentGroup54.isEmpty()) {
            for(SegmentGroup54 segmentGroup54Inst : segmentGroup54) {
                segmentGroup54Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup55 != null && !segmentGroup55.isEmpty()) {
            for(SegmentGroup55 segmentGroup55Inst : segmentGroup55) {
                segmentGroup55Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup57 != null && !segmentGroup57.isEmpty()) {
            for(SegmentGroup57 segmentGroup57Inst : segmentGroup57) {
                segmentGroup57Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup58 != null && !segmentGroup58.isEmpty()) {
            for(SegmentGroup58 segmentGroup58Inst : segmentGroup58) {
                segmentGroup58Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup60 != null && !segmentGroup60.isEmpty()) {
            for(SegmentGroup60 segmentGroup60Inst : segmentGroup60) {
                segmentGroup60Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup62 != null && !segmentGroup62.isEmpty()) {
            for(SegmentGroup62 segmentGroup62Inst : segmentGroup62) {
                segmentGroup62Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

    public SegmentGroup29 setLINLineItem(LINLineItem lINLineItem) {
        this.lINLineItem = lINLineItem;  return this;
    }

    public List getPIAAdditionalProductId() {
        return pIAAdditionalProductId;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getQTYQuantity() {
        return qTYQuantity;
    }

    public SegmentGroup29 setQTYQuantity(List qTYQuantity) {
        this.qTYQuantity = qTYQuantity;  return this;
    }

    public List getPCDPercentageDetails() {
        return pCDPercentageDetails;
    }

    public SegmentGroup29 setPCDPercentageDetails(List pCDPercentageDetails) {
        this.pCDPercentageDetails = pCDPercentageDetails;  return this;
    }

    public List getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

    public SegmentGroup29 setALIAdditionalInformation(List aLIAdditionalInformation) {
        this.aLIAdditionalInformation = aLIAdditionalInformation;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getGINGoodsIdentityNumber() {
        return gINGoodsIdentityNumber;
    }

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

    public List getGIRRelatedIdentificationNumbers() {
        return gIRRelatedIdentificationNumbers;
    }

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

    public QVRQuantityVariances getQVRQuantityVariances() {
        return qVRQuantityVariances;
    }

    public SegmentGroup29 setQVRQuantityVariances(QVRQuantityVariances qVRQuantityVariances) {
        this.qVRQuantityVariances = qVRQuantityVariances;  return this;
    }

    public List getDOCDocumentMessageDetails() {
        return dOCDocumentMessageDetails;
    }

    public SegmentGroup29 setDOCDocumentMessageDetails(List dOCDocumentMessageDetails) {
        this.dOCDocumentMessageDetails = dOCDocumentMessageDetails;  return this;
    }

    public PAIPaymentInstructions getPAIPaymentInstructions() {
        return pAIPaymentInstructions;
    }

    public SegmentGroup29 setPAIPaymentInstructions(PAIPaymentInstructions pAIPaymentInstructions) {
        this.pAIPaymentInstructions = pAIPaymentInstructions;  return this;
    }

    public List getMTDMaintenanceOperationDetails() {
        return mTDMaintenanceOperationDetails;
    }

    public SegmentGroup29 setMTDMaintenanceOperationDetails(List mTDMaintenanceOperationDetails) {
        this.mTDMaintenanceOperationDetails = mTDMaintenanceOperationDetails;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getSegmentGroup30() {
        return segmentGroup30;
    }

    public SegmentGroup29 setSegmentGroup30(List segmentGroup30) {
        this.segmentGroup30 = segmentGroup30;  return this;
    }

    public List getSegmentGroup31() {
        return segmentGroup31;
    }

    public SegmentGroup29 setSegmentGroup31(List segmentGroup31) {
        this.segmentGroup31 = segmentGroup31;  return this;
    }

    public List getSegmentGroup33() {
        return segmentGroup33;
    }

    public SegmentGroup29 setSegmentGroup33(List segmentGroup33) {
        this.segmentGroup33 = segmentGroup33;  return this;
    }

    public List getSegmentGroup34() {
        return segmentGroup34;
    }

    public SegmentGroup29 setSegmentGroup34(List segmentGroup34) {
        this.segmentGroup34 = segmentGroup34;  return this;
    }

    public List getSegmentGroup35() {
        return segmentGroup35;
    }

    public SegmentGroup29 setSegmentGroup35(List segmentGroup35) {
        this.segmentGroup35 = segmentGroup35;  return this;
    }

    public List getSegmentGroup38() {
        return segmentGroup38;
    }

    public SegmentGroup29 setSegmentGroup38(List segmentGroup38) {
        this.segmentGroup38 = segmentGroup38;  return this;
    }

    public List getSegmentGroup40() {
        return segmentGroup40;
    }

    public SegmentGroup29 setSegmentGroup40(List segmentGroup40) {
        this.segmentGroup40 = segmentGroup40;  return this;
    }

    public List getSegmentGroup41() {
        return segmentGroup41;
    }

    public SegmentGroup29 setSegmentGroup41(List segmentGroup41) {
        this.segmentGroup41 = segmentGroup41;  return this;
    }

    public List getSegmentGroup45() {
        return segmentGroup45;
    }

    public SegmentGroup29 setSegmentGroup45(List segmentGroup45) {
        this.segmentGroup45 = segmentGroup45;  return this;
    }

    public List getSegmentGroup51() {
        return segmentGroup51;
    }

    public SegmentGroup29 setSegmentGroup51(List segmentGroup51) {
        this.segmentGroup51 = segmentGroup51;  return this;
    }

    public List getSegmentGroup53() {
        return segmentGroup53;
    }

    public SegmentGroup29 setSegmentGroup53(List segmentGroup53) {
        this.segmentGroup53 = segmentGroup53;  return this;
    }

    public List getSegmentGroup54() {
        return segmentGroup54;
    }

    public SegmentGroup29 setSegmentGroup54(List segmentGroup54) {
        this.segmentGroup54 = segmentGroup54;  return this;
    }

    public List getSegmentGroup55() {
        return segmentGroup55;
    }

    public SegmentGroup29 setSegmentGroup55(List segmentGroup55) {
        this.segmentGroup55 = segmentGroup55;  return this;
    }

    public List getSegmentGroup57() {
        return segmentGroup57;
    }

    public SegmentGroup29 setSegmentGroup57(List segmentGroup57) {
        this.segmentGroup57 = segmentGroup57;  return this;
    }

    public List getSegmentGroup58() {
        return segmentGroup58;
    }

    public SegmentGroup29 setSegmentGroup58(List segmentGroup58) {
        this.segmentGroup58 = segmentGroup58;  return this;
    }

    public List getSegmentGroup60() {
        return segmentGroup60;
    }

    public SegmentGroup29 setSegmentGroup60(List segmentGroup60) {
        this.segmentGroup60 = segmentGroup60;  return this;
    }

    public List getSegmentGroup62() {
        return segmentGroup62;
    }

    public SegmentGroup29 setSegmentGroup62(List segmentGroup62) {
        this.segmentGroup62 = segmentGroup62;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy