org.milyn.edi.unedifact.d98a.IFTSTA.SegmentGroup8 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.IFTSTA;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.EQAAttachedEquipment;
import java.util.List;
import org.milyn.edi.unedifact.d98a.common.SELSealNumber;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup8 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQAAttachedEquipment eQAAttachedEquipment;
private List sELSealNumber;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(eQAAttachedEquipment != null) {
nodeWriter.write("EQA");
nodeWriter.write(delimiters.getField());
eQAAttachedEquipment.write(nodeWriter, delimiters);
}
if(sELSealNumber != null && !sELSealNumber.isEmpty()) {
for(SELSealNumber sELSealNumberInst : sELSealNumber) {
nodeWriter.write("SEL");
nodeWriter.write(delimiters.getField());
sELSealNumberInst.write(nodeWriter, delimiters);
}
}
}
public EQAAttachedEquipment getEQAAttachedEquipment() {
return eQAAttachedEquipment;
}
public SegmentGroup8 setEQAAttachedEquipment(EQAAttachedEquipment eQAAttachedEquipment) {
this.eQAAttachedEquipment = eQAAttachedEquipment; return this;
}
public List getSELSealNumber() {
return sELSealNumber;
}
public SegmentGroup8 setSELSealNumber(List sELSealNumber) {
this.sELSealNumber = sELSealNumber; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy