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

org.milyn.edi.unedifact.d02a.PRICAT.SegmentGroup36 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.d02a.PRICAT;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d02a.common.LINLineItem;    
import java.util.List;    
import org.milyn.edi.unedifact.d02a.common.PIAAdditionalProductId;    
import org.milyn.edi.unedifact.d02a.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d02a.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d02a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d02a.common.HANHandlingInstructions;    
import org.milyn.edi.unedifact.d02a.common.ALIAdditionalInformation;    
import org.milyn.edi.unedifact.d02a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d02a.common.RFFReference;    
import org.milyn.edi.unedifact.d02a.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d02a.common.DOCDocumentMessageDetails;    
import org.milyn.edi.unedifact.d02a.common.PTYPriority;    
import org.milyn.edi.unedifact.d02a.common.FTXFreeText;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup36 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 hANHandlingInstructions;
    private List aLIAdditionalInformation;
    private List dTMDateTimePeriod;
    private List rFFReference;
    private LOCPlaceLocationIdentification lOCPlaceLocationIdentification;
    private DOCDocumentMessageDetails dOCDocumentMessageDetails;
    private List pTYPriority;
    private List fTXFreeText;
    private List segmentGroup37;
    private List segmentGroup38;
    private List segmentGroup39;
    private List segmentGroup40;
    private List segmentGroup41;
    private List segmentGroup47;
    private List segmentGroup48;
    private List segmentGroup49;
    private List segmentGroup50;
    private List segmentGroup51;
    private List segmentGroup52;
    private List segmentGroup54;
    private List segmentGroup55;
    private List segmentGroup56;

    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(hANHandlingInstructions != null && !hANHandlingInstructions.isEmpty()) {
            for(HANHandlingInstructions hANHandlingInstructionsInst : hANHandlingInstructions) {
                nodeWriter.write("HAN");
                nodeWriter.write(delimiters.getField());
                hANHandlingInstructionsInst.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(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(lOCPlaceLocationIdentification != null) {
            nodeWriter.write("LOC");
            nodeWriter.write(delimiters.getField());
            lOCPlaceLocationIdentification.write(nodeWriter, delimiters);
        }
        if(dOCDocumentMessageDetails != null) {
            nodeWriter.write("DOC");
            nodeWriter.write(delimiters.getField());
            dOCDocumentMessageDetails.write(nodeWriter, delimiters);
        }
        if(pTYPriority != null && !pTYPriority.isEmpty()) {
            for(PTYPriority pTYPriorityInst : pTYPriority) {
                nodeWriter.write("PTY");
                nodeWriter.write(delimiters.getField());
                pTYPriorityInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.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(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(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);
            }
        }
        if(segmentGroup50 != null && !segmentGroup50.isEmpty()) {
            for(SegmentGroup50 segmentGroup50Inst : segmentGroup50) {
                segmentGroup50Inst.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(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(segmentGroup56 != null && !segmentGroup56.isEmpty()) {
            for(SegmentGroup56 segmentGroup56Inst : segmentGroup56) {
                segmentGroup56Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

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

    public List getPIAAdditionalProductId() {
        return pIAAdditionalProductId;
    }

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

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getHANHandlingInstructions() {
        return hANHandlingInstructions;
    }

    public SegmentGroup36 setHANHandlingInstructions(List hANHandlingInstructions) {
        this.hANHandlingInstructions = hANHandlingInstructions;  return this;
    }

    public List getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public LOCPlaceLocationIdentification getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

    public SegmentGroup36 setLOCPlaceLocationIdentification(LOCPlaceLocationIdentification lOCPlaceLocationIdentification) {
        this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification;  return this;
    }

    public DOCDocumentMessageDetails getDOCDocumentMessageDetails() {
        return dOCDocumentMessageDetails;
    }

    public SegmentGroup36 setDOCDocumentMessageDetails(DOCDocumentMessageDetails dOCDocumentMessageDetails) {
        this.dOCDocumentMessageDetails = dOCDocumentMessageDetails;  return this;
    }

    public List getPTYPriority() {
        return pTYPriority;
    }

    public SegmentGroup36 setPTYPriority(List pTYPriority) {
        this.pTYPriority = pTYPriority;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getSegmentGroup37() {
        return segmentGroup37;
    }

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

    public List getSegmentGroup38() {
        return segmentGroup38;
    }

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

    public List getSegmentGroup39() {
        return segmentGroup39;
    }

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

    public List getSegmentGroup40() {
        return segmentGroup40;
    }

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

    public List getSegmentGroup41() {
        return segmentGroup41;
    }

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

    public List getSegmentGroup47() {
        return segmentGroup47;
    }

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

    public List getSegmentGroup48() {
        return segmentGroup48;
    }

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

    public List getSegmentGroup49() {
        return segmentGroup49;
    }

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

    public List getSegmentGroup50() {
        return segmentGroup50;
    }

    public SegmentGroup36 setSegmentGroup50(List segmentGroup50) {
        this.segmentGroup50 = segmentGroup50;  return this;
    }

    public List getSegmentGroup51() {
        return segmentGroup51;
    }

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

    public List getSegmentGroup52() {
        return segmentGroup52;
    }

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

    public List getSegmentGroup54() {
        return segmentGroup54;
    }

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

    public List getSegmentGroup55() {
        return segmentGroup55;
    }

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

    public List getSegmentGroup56() {
        return segmentGroup56;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy