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

org.milyn.edi.unedifact.d02a.PRICAT.SegmentGroup17 Maven / Gradle / Ivy

The 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.PGIProductGroupInformation;    
import java.util.List;    
import org.milyn.edi.unedifact.d02a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d02a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d02a.common.ALIAdditionalInformation;    
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 SegmentGroup17 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private PGIProductGroupInformation pGIProductGroupInformation;
    private List dTMDateTimePeriod;
    private List qTYQuantity;
    private List aLIAdditionalInformation;
    private List fTXFreeText;
    private List segmentGroup18;
    private List segmentGroup19;
    private List segmentGroup20;
    private List segmentGroup21;
    private List segmentGroup27;
    private List segmentGroup30;
    private List segmentGroup31;
    private List segmentGroup32;
    private List segmentGroup33;
    private List segmentGroup34;
    private List segmentGroup35;
    private List segmentGroup36;

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

        if(pGIProductGroupInformation != null) {
            nodeWriter.write("PGI");
            nodeWriter.write(delimiters.getField());
            pGIProductGroupInformation.write(nodeWriter, delimiters);
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(aLIAdditionalInformation != null && !aLIAdditionalInformation.isEmpty()) {
            for(ALIAdditionalInformation aLIAdditionalInformationInst : aLIAdditionalInformation) {
                nodeWriter.write("ALI");
                nodeWriter.write(delimiters.getField());
                aLIAdditionalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup18 != null && !segmentGroup18.isEmpty()) {
            for(SegmentGroup18 segmentGroup18Inst : segmentGroup18) {
                segmentGroup18Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup19 != null && !segmentGroup19.isEmpty()) {
            for(SegmentGroup19 segmentGroup19Inst : segmentGroup19) {
                segmentGroup19Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
            for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
                segmentGroup20Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup21 != null && !segmentGroup21.isEmpty()) {
            for(SegmentGroup21 segmentGroup21Inst : segmentGroup21) {
                segmentGroup21Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup27 != null && !segmentGroup27.isEmpty()) {
            for(SegmentGroup27 segmentGroup27Inst : segmentGroup27) {
                segmentGroup27Inst.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(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(segmentGroup35 != null && !segmentGroup35.isEmpty()) {
            for(SegmentGroup35 segmentGroup35Inst : segmentGroup35) {
                segmentGroup35Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup36 != null && !segmentGroup36.isEmpty()) {
            for(SegmentGroup36 segmentGroup36Inst : segmentGroup36) {
                segmentGroup36Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public PGIProductGroupInformation getPGIProductGroupInformation() {
        return pGIProductGroupInformation;
    }

    public SegmentGroup17 setPGIProductGroupInformation(PGIProductGroupInformation pGIProductGroupInformation) {
        this.pGIProductGroupInformation = pGIProductGroupInformation;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public List getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

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

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getSegmentGroup18() {
        return segmentGroup18;
    }

    public SegmentGroup17 setSegmentGroup18(List segmentGroup18) {
        this.segmentGroup18 = segmentGroup18;  return this;
    }

    public List getSegmentGroup19() {
        return segmentGroup19;
    }

    public SegmentGroup17 setSegmentGroup19(List segmentGroup19) {
        this.segmentGroup19 = segmentGroup19;  return this;
    }

    public List getSegmentGroup20() {
        return segmentGroup20;
    }

    public SegmentGroup17 setSegmentGroup20(List segmentGroup20) {
        this.segmentGroup20 = segmentGroup20;  return this;
    }

    public List getSegmentGroup21() {
        return segmentGroup21;
    }

    public SegmentGroup17 setSegmentGroup21(List segmentGroup21) {
        this.segmentGroup21 = segmentGroup21;  return this;
    }

    public List getSegmentGroup27() {
        return segmentGroup27;
    }

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

    public List getSegmentGroup30() {
        return segmentGroup30;
    }

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

    public List getSegmentGroup31() {
        return segmentGroup31;
    }

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

    public List getSegmentGroup32() {
        return segmentGroup32;
    }

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

    public List getSegmentGroup33() {
        return segmentGroup33;
    }

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

    public List getSegmentGroup34() {
        return segmentGroup34;
    }

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

    public List getSegmentGroup35() {
        return segmentGroup35;
    }

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

    public List getSegmentGroup36() {
        return segmentGroup36;
    }

    public SegmentGroup17 setSegmentGroup36(List segmentGroup36) {
        this.segmentGroup36 = segmentGroup36;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy