org.milyn.edi.unedifact.d11b.DEBREC.SegmentGroup14 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d11b.DEBREC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d11b.common.RELRelationship;
import org.milyn.edi.unedifact.d11b.common.RFFReference;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup14 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private RELRelationship rELRelationship;
private RFFReference rFFReference;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(rELRelationship != null) {
nodeWriter.write("REL");
nodeWriter.write(delimiters.getField());
rELRelationship.write(nodeWriter, delimiters);
}
if(rFFReference != null) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReference.write(nodeWriter, delimiters);
}
}
public RELRelationship getRELRelationship() {
return rELRelationship;
}
public SegmentGroup14 setRELRelationship(RELRelationship rELRelationship) {
this.rELRelationship = rELRelationship; return this;
}
public RFFReference getRFFReference() {
return rFFReference;
}
public SegmentGroup14 setRFFReference(RFFReference rFFReference) {
this.rFFReference = rFFReference; return this;
}
}