org.milyn.edi.unedifact.d98a.CUSDEC.SegmentGroup42 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.CUSDEC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.QVRQuantityVariances;
import org.milyn.edi.unedifact.d98a.common.QTYQuantity;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup42 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private QVRQuantityVariances qVRQuantityVariances;
private QTYQuantity qTYQuantity;
private SegmentGroup43 segmentGroup43;
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(segmentGroup43 != null) {
segmentGroup43.write(nodeWriter, delimiters);
}
}
public QVRQuantityVariances getQVRQuantityVariances() {
return qVRQuantityVariances;
}
public SegmentGroup42 setQVRQuantityVariances(QVRQuantityVariances qVRQuantityVariances) {
this.qVRQuantityVariances = qVRQuantityVariances; return this;
}
public QTYQuantity getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup42 setQTYQuantity(QTYQuantity qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public SegmentGroup43 getSegmentGroup43() {
return segmentGroup43;
}
public SegmentGroup42 setSegmentGroup43(SegmentGroup43 segmentGroup43) {
this.segmentGroup43 = segmentGroup43; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy