org.milyn.edi.unedifact.d09a.GOVCBR.SegmentGroup161 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09a.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09a.common.NADNameAndAddress;
import java.util.List;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup161 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private NADNameAndAddress nADNameAndAddress;
private List segmentGroup162;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(nADNameAndAddress != null) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddress.write(nodeWriter, delimiters);
}
if(segmentGroup162 != null && !segmentGroup162.isEmpty()) {
for(SegmentGroup162 segmentGroup162Inst : segmentGroup162) {
segmentGroup162Inst.write(nodeWriter, delimiters);
}
}
}
public NADNameAndAddress getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup161 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public List getSegmentGroup162() {
return segmentGroup162;
}
public SegmentGroup161 setSegmentGroup162(List segmentGroup162) {
this.segmentGroup162 = segmentGroup162; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy