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