org.milyn.edi.unedifact.d01a.RECORD.SegmentGroup9 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d01a.RECORD;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d01a.common.BASBasis;
import org.milyn.edi.unedifact.d01a.common.APPApplicability;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup9 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private BASBasis bASBasis;
private APPApplicability aPPApplicability;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(bASBasis != null) {
nodeWriter.write("BAS");
nodeWriter.write(delimiters.getField());
bASBasis.write(nodeWriter, delimiters);
}
if(aPPApplicability != null) {
nodeWriter.write("APP");
nodeWriter.write(delimiters.getField());
aPPApplicability.write(nodeWriter, delimiters);
}
}
public BASBasis getBASBasis() {
return bASBasis;
}
public SegmentGroup9 setBASBasis(BASBasis bASBasis) {
this.bASBasis = bASBasis; return this;
}
public APPApplicability getAPPApplicability() {
return aPPApplicability;
}
public SegmentGroup9 setAPPApplicability(APPApplicability aPPApplicability) {
this.aPPApplicability = aPPApplicability; return this;
}
}