org.milyn.edi.unedifact.d11b.CUSPED.SegmentGroup27 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d11b.CUSPED;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d11b.common.QVRQuantityVariances;
import org.milyn.edi.unedifact.d11b.common.QTYQuantity;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup27 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private QVRQuantityVariances qVRQuantityVariances;
private QTYQuantity qTYQuantity;
private SegmentGroup28 segmentGroup28;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(qVRQuantityVariances != null) {
nodeWriter.write("QVR");
nodeWriter.write(delimiters.getField());
qVRQuantityVariances.write(nodeWriter, delimiters);
}
if(qTYQuantity != null) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantity.write(nodeWriter, delimiters);
}
if(segmentGroup28 != null) {
segmentGroup28.write(nodeWriter, delimiters);
}
}
public QVRQuantityVariances getQVRQuantityVariances() {
return qVRQuantityVariances;
}
public SegmentGroup27 setQVRQuantityVariances(QVRQuantityVariances qVRQuantityVariances) {
this.qVRQuantityVariances = qVRQuantityVariances; return this;
}
public QTYQuantity getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup27 setQTYQuantity(QTYQuantity qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public SegmentGroup28 getSegmentGroup28() {
return segmentGroup28;
}
public SegmentGroup27 setSegmentGroup28(SegmentGroup28 segmentGroup28) {
this.segmentGroup28 = segmentGroup28; return this;
}
}