org.virtuslab.edi.unedifact.d99a.IFTIAG.SegmentGroup6 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d99a.IFTIAG;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d99a.common.EQDEquipmentDetails;
import java.util.List;
import org.virtuslab.edi.unedifact.d99a.common.RFFReference;
import org.virtuslab.edi.unedifact.d99a.common.SELSealNumber;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup6 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQDEquipmentDetails eQDEquipmentDetails;
private List rFFReference;
private SELSealNumber sELSealNumber;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(eQDEquipmentDetails != null) {
nodeWriter.write("EQD");
nodeWriter.write(delimiters.getField());
eQDEquipmentDetails.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(sELSealNumber != null) {
nodeWriter.write("SEL");
nodeWriter.write(delimiters.getField());
sELSealNumber.write(nodeWriter, delimiters);
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup6 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup6 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public SELSealNumber getSELSealNumber() {
return sELSealNumber;
}
public SegmentGroup6 setSELSealNumber(SELSealNumber sELSealNumber) {
this.sELSealNumber = sELSealNumber; return this;
}
}