org.milyn.edi.unedifact.d97a.CONITT.SegmentGroup8 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d97a.CONITT;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d97a.common.PCDPercentageDetails;
import org.milyn.edi.unedifact.d97a.common.RFFReference;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup8 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private PCDPercentageDetails pCDPercentageDetails;
private RFFReference rFFReference;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(pCDPercentageDetails != null) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetails.write(nodeWriter, delimiters);
}
if(rFFReference != null) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReference.write(nodeWriter, delimiters);
}
}
public PCDPercentageDetails getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup8 setPCDPercentageDetails(PCDPercentageDetails pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public RFFReference getRFFReference() {
return rFFReference;
}
public SegmentGroup8 setRFFReference(RFFReference rFFReference) {
this.rFFReference = rFFReference; return this;
}
}