org.milyn.edi.unedifact.d09b.GOVCBR.SegmentGroup188 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.EQDEquipmentDetails;
import org.milyn.edi.unedifact.d09b.common.SEQSequenceDetails;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d09b.common.SELSealNumber;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup188 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQDEquipmentDetails eQDEquipmentDetails;
private SEQSequenceDetails sEQSequenceDetails;
private List gEIProcessingInformation;
private List sELSealNumber;
private List segmentGroup189;
private List segmentGroup191;
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(sEQSequenceDetails != null) {
nodeWriter.write("SEQ");
nodeWriter.write(delimiters.getField());
sEQSequenceDetails.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
if(sELSealNumber != null && !sELSealNumber.isEmpty()) {
for(SELSealNumber sELSealNumberInst : sELSealNumber) {
nodeWriter.write("SEL");
nodeWriter.write(delimiters.getField());
sELSealNumberInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup189 != null && !segmentGroup189.isEmpty()) {
for(SegmentGroup189 segmentGroup189Inst : segmentGroup189) {
segmentGroup189Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup191 != null && !segmentGroup191.isEmpty()) {
for(SegmentGroup191 segmentGroup191Inst : segmentGroup191) {
segmentGroup191Inst.write(nodeWriter, delimiters);
}
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup188 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public SEQSequenceDetails getSEQSequenceDetails() {
return sEQSequenceDetails;
}
public SegmentGroup188 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
this.sEQSequenceDetails = sEQSequenceDetails; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup188 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getSELSealNumber() {
return sELSealNumber;
}
public SegmentGroup188 setSELSealNumber(List sELSealNumber) {
this.sELSealNumber = sELSealNumber; return this;
}
public List getSegmentGroup189() {
return segmentGroup189;
}
public SegmentGroup188 setSegmentGroup189(List segmentGroup189) {
this.segmentGroup189 = segmentGroup189; return this;
}
public List getSegmentGroup191() {
return segmentGroup191;
}
public SegmentGroup188 setSegmentGroup191(List segmentGroup191) {
this.segmentGroup191 = segmentGroup191; return this;
}
}