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

org.milyn.edi.unedifact.d01a.ORDERS.SegmentGroup28 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.d01a.ORDERS;

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

public class SegmentGroup28 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 gISGeneralIndicator;
    private List gINGoodsIdentityNumber;
    private List gIRRelatedIdentificationNumbers;
    private QVRQuantityVariances qVRQuantityVariances;
    private List dOCDocumentMessageDetails;
    private PAIPaymentInstructions pAIPaymentInstructions;
    private List mTDMaintenanceOperationDetails;
    private List fTXFreeText;
    private List segmentGroup29;
    private List segmentGroup30;
    private List segmentGroup32;
    private List segmentGroup33;
    private List segmentGroup34;
    private List segmentGroup37;
    private List segmentGroup38;
    private List segmentGroup39;
    private List segmentGroup43;
    private List segmentGroup49;
    private List segmentGroup51;
    private List segmentGroup52;
    private List segmentGroup53;
    private List segmentGroup55;
    private List segmentGroup56;
    private List segmentGroup58;

    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(gISGeneralIndicator != null && !gISGeneralIndicator.isEmpty()) {
            for(GISGeneralIndicator gISGeneralIndicatorInst : gISGeneralIndicator) {
                nodeWriter.write("GIS");
                nodeWriter.write(delimiters.getField());
                gISGeneralIndicatorInst.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(segmentGroup29 != null && !segmentGroup29.isEmpty()) {
            for(SegmentGroup29 segmentGroup29Inst : segmentGroup29) {
                segmentGroup29Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup30 != null && !segmentGroup30.isEmpty()) {
            for(SegmentGroup30 segmentGroup30Inst : segmentGroup30) {
                segmentGroup30Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup32 != null && !segmentGroup32.isEmpty()) {
            for(SegmentGroup32 segmentGroup32Inst : segmentGroup32) {
                segmentGroup32Inst.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(segmentGroup37 != null && !segmentGroup37.isEmpty()) {
            for(SegmentGroup37 segmentGroup37Inst : segmentGroup37) {
                segmentGroup37Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup38 != null && !segmentGroup38.isEmpty()) {
            for(SegmentGroup38 segmentGroup38Inst : segmentGroup38) {
                segmentGroup38Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
            for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
                segmentGroup39Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup43 != null && !segmentGroup43.isEmpty()) {
            for(SegmentGroup43 segmentGroup43Inst : segmentGroup43) {
                segmentGroup43Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup49 != null && !segmentGroup49.isEmpty()) {
            for(SegmentGroup49 segmentGroup49Inst : segmentGroup49) {
                segmentGroup49Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup51 != null && !segmentGroup51.isEmpty()) {
            for(SegmentGroup51 segmentGroup51Inst : segmentGroup51) {
                segmentGroup51Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup52 != null && !segmentGroup52.isEmpty()) {
            for(SegmentGroup52 segmentGroup52Inst : segmentGroup52) {
                segmentGroup52Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup53 != null && !segmentGroup53.isEmpty()) {
            for(SegmentGroup53 segmentGroup53Inst : segmentGroup53) {
                segmentGroup53Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup55 != null && !segmentGroup55.isEmpty()) {
            for(SegmentGroup55 segmentGroup55Inst : segmentGroup55) {
                segmentGroup55Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup56 != null && !segmentGroup56.isEmpty()) {
            for(SegmentGroup56 segmentGroup56Inst : segmentGroup56) {
                segmentGroup56Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup58 != null && !segmentGroup58.isEmpty()) {
            for(SegmentGroup58 segmentGroup58Inst : segmentGroup58) {
                segmentGroup58Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

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

    public List getPIAAdditionalProductId() {
        return pIAAdditionalProductId;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getPCDPercentageDetails() {
        return pCDPercentageDetails;
    }

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

    public List getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getGISGeneralIndicator() {
        return gISGeneralIndicator;
    }

    public SegmentGroup28 setGISGeneralIndicator(List gISGeneralIndicator) {
        this.gISGeneralIndicator = gISGeneralIndicator;  return this;
    }

    public List getGINGoodsIdentityNumber() {
        return gINGoodsIdentityNumber;
    }

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

    public List getGIRRelatedIdentificationNumbers() {
        return gIRRelatedIdentificationNumbers;
    }

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

    public QVRQuantityVariances getQVRQuantityVariances() {
        return qVRQuantityVariances;
    }

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

    public List getDOCDocumentMessageDetails() {
        return dOCDocumentMessageDetails;
    }

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

    public PAIPaymentInstructions getPAIPaymentInstructions() {
        return pAIPaymentInstructions;
    }

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

    public List getMTDMaintenanceOperationDetails() {
        return mTDMaintenanceOperationDetails;
    }

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

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getSegmentGroup29() {
        return segmentGroup29;
    }

    public SegmentGroup28 setSegmentGroup29(List segmentGroup29) {
        this.segmentGroup29 = segmentGroup29;  return this;
    }

    public List getSegmentGroup30() {
        return segmentGroup30;
    }

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

    public List getSegmentGroup32() {
        return segmentGroup32;
    }

    public SegmentGroup28 setSegmentGroup32(List segmentGroup32) {
        this.segmentGroup32 = segmentGroup32;  return this;
    }

    public List getSegmentGroup33() {
        return segmentGroup33;
    }

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

    public List getSegmentGroup34() {
        return segmentGroup34;
    }

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

    public List getSegmentGroup37() {
        return segmentGroup37;
    }

    public SegmentGroup28 setSegmentGroup37(List segmentGroup37) {
        this.segmentGroup37 = segmentGroup37;  return this;
    }

    public List getSegmentGroup38() {
        return segmentGroup38;
    }

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

    public List getSegmentGroup39() {
        return segmentGroup39;
    }

    public SegmentGroup28 setSegmentGroup39(List segmentGroup39) {
        this.segmentGroup39 = segmentGroup39;  return this;
    }

    public List getSegmentGroup43() {
        return segmentGroup43;
    }

    public SegmentGroup28 setSegmentGroup43(List segmentGroup43) {
        this.segmentGroup43 = segmentGroup43;  return this;
    }

    public List getSegmentGroup49() {
        return segmentGroup49;
    }

    public SegmentGroup28 setSegmentGroup49(List segmentGroup49) {
        this.segmentGroup49 = segmentGroup49;  return this;
    }

    public List getSegmentGroup51() {
        return segmentGroup51;
    }

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

    public List getSegmentGroup52() {
        return segmentGroup52;
    }

    public SegmentGroup28 setSegmentGroup52(List segmentGroup52) {
        this.segmentGroup52 = segmentGroup52;  return this;
    }

    public List getSegmentGroup53() {
        return segmentGroup53;
    }

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

    public List getSegmentGroup55() {
        return segmentGroup55;
    }

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

    public List getSegmentGroup56() {
        return segmentGroup56;
    }

    public SegmentGroup28 setSegmentGroup56(List segmentGroup56) {
        this.segmentGroup56 = segmentGroup56;  return this;
    }

    public List getSegmentGroup58() {
        return segmentGroup58;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy