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

org.milyn.edi.unedifact.d97a.IFTMCS.SegmentGroup33 Maven / Gradle / Ivy

The newest version!
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d97a.IFTMCS;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d97a.common.SGPSplitGoodsPlacement;    
import java.util.List;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup33 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private SGPSplitGoodsPlacement sGPSplitGoodsPlacement;
    private List segmentGroup34;

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

        if(sGPSplitGoodsPlacement != null) {
            nodeWriter.write("SGP");
            nodeWriter.write(delimiters.getField());
            sGPSplitGoodsPlacement.write(nodeWriter, delimiters);
        }
        if(segmentGroup34 != null && !segmentGroup34.isEmpty()) {
            for(SegmentGroup34 segmentGroup34Inst : segmentGroup34) {
                segmentGroup34Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public SGPSplitGoodsPlacement getSGPSplitGoodsPlacement() {
        return sGPSplitGoodsPlacement;
    }

    public SegmentGroup33 setSGPSplitGoodsPlacement(SGPSplitGoodsPlacement sGPSplitGoodsPlacement) {
        this.sGPSplitGoodsPlacement = sGPSplitGoodsPlacement;  return this;
    }

    public List getSegmentGroup34() {
        return segmentGroup34;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy