org.milyn.edi.unedifact.d15a.common.EMPEmploymentDetails Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d15a.common;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d15a.common.field.C948EmploymentCategory;
import org.milyn.edi.unedifact.d15a.common.field.C951Occupation;
import org.milyn.edi.unedifact.d15a.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 e9003EmploymentDetailsCodeQualifier;
private C948EmploymentCategory c948EmploymentCategory;
private C951Occupation c951Occupation;
private C950QualificationClassification c950QualificationClassification;
private String e3480PersonJobTitle;
private String e9035QualificationApplicationAreaCode;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = new StringWriter();
List nodeTokens = new ArrayList();
if(e9003EmploymentDetailsCodeQualifier != null) {
nodeWriter.write(delimiters.escape(e9003EmploymentDetailsCodeQualifier.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(e3480PersonJobTitle != null) {
nodeWriter.write(delimiters.escape(e3480PersonJobTitle.toString()));
nodeTokens.add(nodeWriter.toString());
((StringWriter)nodeWriter).getBuffer().setLength(0);
}
nodeWriter.write(delimiters.getField());
if(e9035QualificationApplicationAreaCode != null) {
nodeWriter.write(delimiters.escape(e9035QualificationApplicationAreaCode.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 getE9003EmploymentDetailsCodeQualifier() {
return e9003EmploymentDetailsCodeQualifier;
}
public EMPEmploymentDetails setE9003EmploymentDetailsCodeQualifier(String e9003EmploymentDetailsCodeQualifier) {
this.e9003EmploymentDetailsCodeQualifier = e9003EmploymentDetailsCodeQualifier; 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 getE3480PersonJobTitle() {
return e3480PersonJobTitle;
}
public EMPEmploymentDetails setE3480PersonJobTitle(String e3480PersonJobTitle) {
this.e3480PersonJobTitle = e3480PersonJobTitle; return this;
}
public String getE9035QualificationApplicationAreaCode() {
return e9035QualificationApplicationAreaCode;
}
public EMPEmploymentDetails setE9035QualificationApplicationAreaCode(String e9035QualificationApplicationAreaCode) {
this.e9035QualificationApplicationAreaCode = e9035QualificationApplicationAreaCode; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy