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

org.milyn.edi.unedifact.d09b.JOBAPP.SegmentGroup15 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.d09b.JOBAPP;

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

public class SegmentGroup15 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LANLanguage lANLanguage;
    private List gEIProcessingInformation;

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

        if(lANLanguage != null) {
            nodeWriter.write("LAN");
            nodeWriter.write(delimiters.getField());
            lANLanguage.write(nodeWriter, delimiters);
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
    }

    public LANLanguage getLANLanguage() {
        return lANLanguage;
    }

    public SegmentGroup15 setLANLanguage(LANLanguage lANLanguage) {
        this.lANLanguage = lANLanguage;  return this;
    }

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

    public SegmentGroup15 setGEIProcessingInformation(List gEIProcessingInformation) {
        this.gEIProcessingInformation = gEIProcessingInformation;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy