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

org.milyn.edi.unedifact.d94b.DOCADV.SegmentGroup17 Maven / Gradle / Ivy

/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d94b.DOCADV;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d94b.common.LINLineItem;    
import org.milyn.edi.unedifact.d94b.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d94b.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d94b.common.QTYQuantity;    
import org.milyn.edi.unedifact.d94b.common.PCDPercentageDetails;    
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 LINLineItem lINLineItem;
    private IMDItemDescription iMDItemDescription;
    private MEAMeasurements mEAMeasurements;
    private QTYQuantity qTYQuantity;
    private PCDPercentageDetails pCDPercentageDetails;
    private SegmentGroup18 segmentGroup18;
    private SegmentGroup19 segmentGroup19;
    private SegmentGroup20 segmentGroup20;
    private SegmentGroup21 segmentGroup21;

    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(iMDItemDescription != null) {
            nodeWriter.write("IMD");
            nodeWriter.write(delimiters.getField());
            iMDItemDescription.write(nodeWriter, delimiters);
        }
        if(mEAMeasurements != null) {
            nodeWriter.write("MEA");
            nodeWriter.write(delimiters.getField());
            mEAMeasurements.write(nodeWriter, delimiters);
        }
        if(qTYQuantity != null) {
            nodeWriter.write("QTY");
            nodeWriter.write(delimiters.getField());
            qTYQuantity.write(nodeWriter, delimiters);
        }
        if(pCDPercentageDetails != null) {
            nodeWriter.write("PCD");
            nodeWriter.write(delimiters.getField());
            pCDPercentageDetails.write(nodeWriter, delimiters);
        }
        if(segmentGroup18 != null) {
            segmentGroup18.write(nodeWriter, delimiters);
        }
        if(segmentGroup19 != null) {
            segmentGroup19.write(nodeWriter, delimiters);
        }
        if(segmentGroup20 != null) {
            segmentGroup20.write(nodeWriter, delimiters);
        }
        if(segmentGroup21 != null) {
            segmentGroup21.write(nodeWriter, delimiters);
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

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

    public IMDItemDescription getIMDItemDescription() {
        return iMDItemDescription;
    }

    public SegmentGroup17 setIMDItemDescription(IMDItemDescription iMDItemDescription) {
        this.iMDItemDescription = iMDItemDescription;  return this;
    }

    public MEAMeasurements getMEAMeasurements() {
        return mEAMeasurements;
    }

    public SegmentGroup17 setMEAMeasurements(MEAMeasurements mEAMeasurements) {
        this.mEAMeasurements = mEAMeasurements;  return this;
    }

    public QTYQuantity getQTYQuantity() {
        return qTYQuantity;
    }

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

    public PCDPercentageDetails getPCDPercentageDetails() {
        return pCDPercentageDetails;
    }

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

    public SegmentGroup18 getSegmentGroup18() {
        return segmentGroup18;
    }

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

    public SegmentGroup19 getSegmentGroup19() {
        return segmentGroup19;
    }

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

    public SegmentGroup20 getSegmentGroup20() {
        return segmentGroup20;
    }

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

    public SegmentGroup21 getSegmentGroup21() {
        return segmentGroup21;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy