org.milyn.edi.unedifact.d05a.CONPVA.SegmentGroup25 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d05a.CONPVA;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d05a.common.IMDItemDescription;
import java.util.List;
import org.milyn.edi.unedifact.d05a.common.RFFReference;
import org.milyn.edi.unedifact.d05a.common.GEIProcessingInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup25 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private IMDItemDescription iMDItemDescription;
private List rFFReference;
private List gEIProcessingInformation;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(iMDItemDescription != null) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescription.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
}
public IMDItemDescription getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup25 setIMDItemDescription(IMDItemDescription iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup25 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup25 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
}