org.milyn.edi.unedifact.d11b.CUSPED.SegmentGroup29 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d11b.CUSPED;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d11b.common.GIRRelatedIdentificationNumbers;
import java.util.List;
import org.milyn.edi.unedifact.d11b.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d11b.common.NADNameAndAddress;
import org.milyn.edi.unedifact.d11b.common.MEAMeasurements;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup29 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbers;
private List gEIProcessingInformation;
private NADNameAndAddress nADNameAndAddress;
private List mEAMeasurements;
private List segmentGroup30;
private List segmentGroup32;
private List segmentGroup33;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(gIRRelatedIdentificationNumbers != null) {
nodeWriter.write("GIR");
nodeWriter.write(delimiters.getField());
gIRRelatedIdentificationNumbers.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
if(nADNameAndAddress != null) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddress.write(nodeWriter, delimiters);
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup30 != null && !segmentGroup30.isEmpty()) {
for(SegmentGroup30 segmentGroup30Inst : segmentGroup30) {
segmentGroup30Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup32 != null && !segmentGroup32.isEmpty()) {
for(SegmentGroup32 segmentGroup32Inst : segmentGroup32) {
segmentGroup32Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup33 != null && !segmentGroup33.isEmpty()) {
for(SegmentGroup33 segmentGroup33Inst : segmentGroup33) {
segmentGroup33Inst.write(nodeWriter, delimiters);
}
}
}
public GIRRelatedIdentificationNumbers getGIRRelatedIdentificationNumbers() {
return gIRRelatedIdentificationNumbers;
}
public SegmentGroup29 setGIRRelatedIdentificationNumbers(GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbers) {
this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup29 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public NADNameAndAddress getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup29 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup29 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getSegmentGroup30() {
return segmentGroup30;
}
public SegmentGroup29 setSegmentGroup30(List segmentGroup30) {
this.segmentGroup30 = segmentGroup30; return this;
}
public List getSegmentGroup32() {
return segmentGroup32;
}
public SegmentGroup29 setSegmentGroup32(List segmentGroup32) {
this.segmentGroup32 = segmentGroup32; return this;
}
public List getSegmentGroup33() {
return segmentGroup33;
}
public SegmentGroup29 setSegmentGroup33(List segmentGroup33) {
this.segmentGroup33 = segmentGroup33; return this;
}
}