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

org.milyn.edi.unedifact.d07a.INVOIC.SegmentGroup26 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.d07a.INVOIC;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d07a.common.LINLineItem;    
import java.util.List;    
import org.milyn.edi.unedifact.d07a.common.PIAAdditionalProductId;    
import org.milyn.edi.unedifact.d07a.common.PGIProductGroupInformation;    
import org.milyn.edi.unedifact.d07a.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d07a.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d07a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d07a.common.PCDPercentageDetails;    
import org.milyn.edi.unedifact.d07a.common.ALIAdditionalInformation;    
import org.milyn.edi.unedifact.d07a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d07a.common.GINGoodsIdentityNumber;    
import org.milyn.edi.unedifact.d07a.common.GIRRelatedIdentificationNumbers;    
import org.milyn.edi.unedifact.d07a.common.QVRQuantityVariances;    
import org.milyn.edi.unedifact.d07a.common.EQDEquipmentDetails;    
import org.milyn.edi.unedifact.d07a.common.FTXFreeText;    
import org.milyn.edi.unedifact.d07a.common.DGSDangerousGoods;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup26 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LINLineItem lINLineItem;
    private List pIAAdditionalProductId;
    private List pGIProductGroupInformation;
    private List iMDItemDescription;
    private List mEAMeasurements;
    private List qTYQuantity;
    private PCDPercentageDetails pCDPercentageDetails;
    private List aLIAdditionalInformation;
    private List dTMDateTimePeriod;
    private List gINGoodsIdentityNumber;
    private List gIRRelatedIdentificationNumbers;
    private QVRQuantityVariances qVRQuantityVariances;
    private EQDEquipmentDetails eQDEquipmentDetails;
    private List fTXFreeText;
    private DGSDangerousGoods dGSDangerousGoods;
    private List segmentGroup27;
    private List segmentGroup28;
    private List segmentGroup29;
    private List segmentGroup30;
    private List segmentGroup31;
    private List segmentGroup33;
    private List segmentGroup34;
    private List segmentGroup35;
    private List segmentGroup39;
    private List segmentGroup45;
    private List segmentGroup47;
    private List segmentGroup48;
    private List segmentGroup49;

    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(pGIProductGroupInformation != null && !pGIProductGroupInformation.isEmpty()) {
            for(PGIProductGroupInformation pGIProductGroupInformationInst : pGIProductGroupInformation) {
                nodeWriter.write("PGI");
                nodeWriter.write(delimiters.getField());
                pGIProductGroupInformationInst.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) {
            nodeWriter.write("PCD");
            nodeWriter.write(delimiters.getField());
            pCDPercentageDetails.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(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(eQDEquipmentDetails != null) {
            nodeWriter.write("EQD");
            nodeWriter.write(delimiters.getField());
            eQDEquipmentDetails.write(nodeWriter, delimiters);
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(dGSDangerousGoods != null) {
            nodeWriter.write("DGS");
            nodeWriter.write(delimiters.getField());
            dGSDangerousGoods.write(nodeWriter, delimiters);
        }
        if(segmentGroup27 != null && !segmentGroup27.isEmpty()) {
            for(SegmentGroup27 segmentGroup27Inst : segmentGroup27) {
                segmentGroup27Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup28 != null && !segmentGroup28.isEmpty()) {
            for(SegmentGroup28 segmentGroup28Inst : segmentGroup28) {
                segmentGroup28Inst.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(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(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
            for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
                segmentGroup39Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
            for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
                segmentGroup45Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup47 != null && !segmentGroup47.isEmpty()) {
            for(SegmentGroup47 segmentGroup47Inst : segmentGroup47) {
                segmentGroup47Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup48 != null && !segmentGroup48.isEmpty()) {
            for(SegmentGroup48 segmentGroup48Inst : segmentGroup48) {
                segmentGroup48Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup49 != null && !segmentGroup49.isEmpty()) {
            for(SegmentGroup49 segmentGroup49Inst : segmentGroup49) {
                segmentGroup49Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

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

    public List getPIAAdditionalProductId() {
        return pIAAdditionalProductId;
    }

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

    public List getPGIProductGroupInformation() {
        return pGIProductGroupInformation;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public PCDPercentageDetails getPCDPercentageDetails() {
        return pCDPercentageDetails;
    }

    public SegmentGroup26 setPCDPercentageDetails(PCDPercentageDetails pCDPercentageDetails) {
        this.pCDPercentageDetails = pCDPercentageDetails;  return this;
    }

    public List getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getGINGoodsIdentityNumber() {
        return gINGoodsIdentityNumber;
    }

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

    public List getGIRRelatedIdentificationNumbers() {
        return gIRRelatedIdentificationNumbers;
    }

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

    public QVRQuantityVariances getQVRQuantityVariances() {
        return qVRQuantityVariances;
    }

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

    public EQDEquipmentDetails getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

    public SegmentGroup26 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
        this.eQDEquipmentDetails = eQDEquipmentDetails;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public DGSDangerousGoods getDGSDangerousGoods() {
        return dGSDangerousGoods;
    }

    public SegmentGroup26 setDGSDangerousGoods(DGSDangerousGoods dGSDangerousGoods) {
        this.dGSDangerousGoods = dGSDangerousGoods;  return this;
    }

    public List getSegmentGroup27() {
        return segmentGroup27;
    }

    public SegmentGroup26 setSegmentGroup27(List segmentGroup27) {
        this.segmentGroup27 = segmentGroup27;  return this;
    }

    public List getSegmentGroup28() {
        return segmentGroup28;
    }

    public SegmentGroup26 setSegmentGroup28(List segmentGroup28) {
        this.segmentGroup28 = segmentGroup28;  return this;
    }

    public List getSegmentGroup29() {
        return segmentGroup29;
    }

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

    public List getSegmentGroup30() {
        return segmentGroup30;
    }

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

    public List getSegmentGroup31() {
        return segmentGroup31;
    }

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

    public List getSegmentGroup33() {
        return segmentGroup33;
    }

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

    public List getSegmentGroup34() {
        return segmentGroup34;
    }

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

    public List getSegmentGroup35() {
        return segmentGroup35;
    }

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

    public List getSegmentGroup39() {
        return segmentGroup39;
    }

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

    public List getSegmentGroup45() {
        return segmentGroup45;
    }

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

    public List getSegmentGroup47() {
        return segmentGroup47;
    }

    public SegmentGroup26 setSegmentGroup47(List segmentGroup47) {
        this.segmentGroup47 = segmentGroup47;  return this;
    }

    public List getSegmentGroup48() {
        return segmentGroup48;
    }

    public SegmentGroup26 setSegmentGroup48(List segmentGroup48) {
        this.segmentGroup48 = segmentGroup48;  return this;
    }

    public List getSegmentGroup49() {
        return segmentGroup49;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy