org.milyn.edi.unedifact.d99b.JOBOFF.SegmentGroup12 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99b.JOBOFF;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99b.common.LANLanguage;
import org.milyn.edi.unedifact.d99b.common.GISGeneralIndicator;
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 LANLanguage lANLanguage;
private GISGeneralIndicator gISGeneralIndicator;
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(gISGeneralIndicator != null) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
gISGeneralIndicator.write(nodeWriter, delimiters);
}
}
public LANLanguage getLANLanguage() {
return lANLanguage;
}
public SegmentGroup12 setLANLanguage(LANLanguage lANLanguage) {
this.lANLanguage = lANLanguage; return this;
}
public GISGeneralIndicator getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public SegmentGroup12 setGISGeneralIndicator(GISGeneralIndicator gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
}