org.milyn.edi.unedifact.d98a.common.EMPEmploymentDetails Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.common;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.field.C948EmploymentCategory;
import org.milyn.edi.unedifact.d98a.common.field.C951Occupation;
import org.milyn.edi.unedifact.d98a.common.field.C950QualificationClassification;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
import java.io.StringWriter;
import java.util.List;
import java.util.ArrayList;
import org.milyn.edisax.util.EDIUtils;
import org.milyn.edisax.model.internal.DelimiterType;
public class EMPEmploymentDetails implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private String e9003EmploymentQualifier;
private C948EmploymentCategory c948EmploymentCategory;
private C951Occupation c951Occupation;
private C950QualificationClassification c950QualificationClassification;
private String e3494JobTitle;
private String e9035QualificationAreaCoded;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = new StringWriter();
List nodeTokens = new ArrayList();
if(e9003EmploymentQualifier != null) {
nodeWriter.write(delimiters.escape(e9003EmploymentQualifier.toString()));
nodeTokens.add(nodeWriter.toString());
((StringWriter)nodeWriter).getBuffer().setLength(0);
}
nodeWriter.write(delimiters.getField());
if(c948EmploymentCategory != null) {
c948EmploymentCategory.write(nodeWriter, delimiters);
nodeTokens.add(nodeWriter.toString());
((StringWriter)nodeWriter).getBuffer().setLength(0);
}
nodeWriter.write(delimiters.getField());
if(c951Occupation != null) {
c951Occupation.write(nodeWriter, delimiters);
nodeTokens.add(nodeWriter.toString());
((StringWriter)nodeWriter).getBuffer().setLength(0);
}
nodeWriter.write(delimiters.getField());
if(c950QualificationClassification != null) {
c950QualificationClassification.write(nodeWriter, delimiters);
nodeTokens.add(nodeWriter.toString());
((StringWriter)nodeWriter).getBuffer().setLength(0);
}
nodeWriter.write(delimiters.getField());
if(e3494JobTitle != null) {
nodeWriter.write(delimiters.escape(e3494JobTitle.toString()));
nodeTokens.add(nodeWriter.toString());
((StringWriter)nodeWriter).getBuffer().setLength(0);
}
nodeWriter.write(delimiters.getField());
if(e9035QualificationAreaCoded != null) {
nodeWriter.write(delimiters.escape(e9035QualificationAreaCoded.toString()));
nodeTokens.add(nodeWriter.toString());
((StringWriter)nodeWriter).getBuffer().setLength(0);
}
nodeTokens.add(nodeWriter.toString());
writer.write(EDIUtils.concatAndTruncate(nodeTokens, DelimiterType.FIELD, delimiters));
writer.write(delimiters.getSegmentDelimiter());
writer.flush();
}
public String getE9003EmploymentQualifier() {
return e9003EmploymentQualifier;
}
public EMPEmploymentDetails setE9003EmploymentQualifier(String e9003EmploymentQualifier) {
this.e9003EmploymentQualifier = e9003EmploymentQualifier; return this;
}
public C948EmploymentCategory getC948EmploymentCategory() {
return c948EmploymentCategory;
}
public EMPEmploymentDetails setC948EmploymentCategory(C948EmploymentCategory c948EmploymentCategory) {
this.c948EmploymentCategory = c948EmploymentCategory; return this;
}
public C951Occupation getC951Occupation() {
return c951Occupation;
}
public EMPEmploymentDetails setC951Occupation(C951Occupation c951Occupation) {
this.c951Occupation = c951Occupation; return this;
}
public C950QualificationClassification getC950QualificationClassification() {
return c950QualificationClassification;
}
public EMPEmploymentDetails setC950QualificationClassification(C950QualificationClassification c950QualificationClassification) {
this.c950QualificationClassification = c950QualificationClassification; return this;
}
public String getE3494JobTitle() {
return e3494JobTitle;
}
public EMPEmploymentDetails setE3494JobTitle(String e3494JobTitle) {
this.e3494JobTitle = e3494JobTitle; return this;
}
public String getE9035QualificationAreaCoded() {
return e9035QualificationAreaCoded;
}
public EMPEmploymentDetails setE9035QualificationAreaCoded(String e9035QualificationAreaCoded) {
this.e9035QualificationAreaCoded = e9035QualificationAreaCoded; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy