org.milyn.edi.unedifact.d98a.JAPRES.SegmentGroup12 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.JAPRES;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.Language;
import org.milyn.edi.unedifact.d98a.common.GeneralIndicator;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup12 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private Language language;
private GeneralIndicator generalIndicator;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(language != null) {
nodeWriter.write("LAN");
nodeWriter.write(delimiters.getField());
language.write(nodeWriter, delimiters);
}
if(generalIndicator != null) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
generalIndicator.write(nodeWriter, delimiters);
}
}
public Language getLanguage() {
return language;
}
public SegmentGroup12 setLanguage(Language language) {
this.language = language; return this;
}
public GeneralIndicator getGeneralIndicator() {
return generalIndicator;
}
public SegmentGroup12 setGeneralIndicator(GeneralIndicator generalIndicator) {
this.generalIndicator = generalIndicator; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy