![JAR search and dependency download from the Maven repository](/logo.png)
org.milyn.edi.unedifact.d06b.CUSDEC.SegmentGroup44 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d06b.CUSDEC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d06b.common.RelatedIdentificationNumbers;
import java.util.List;
import org.milyn.edi.unedifact.d06b.common.ProcessingInformation;
import org.milyn.edi.unedifact.d06b.common.NameAndAddress;
import org.milyn.edi.unedifact.d06b.common.Measurements;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup44 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private RelatedIdentificationNumbers relatedIdentificationNumbers;
private List processingInformation;
private NameAndAddress nameAndAddress;
private List measurements;
private List segmentGroup45;
private List segmentGroup47;
private List segmentGroup48;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(relatedIdentificationNumbers != null) {
nodeWriter.write("GIR");
nodeWriter.write(delimiters.getField());
relatedIdentificationNumbers.write(nodeWriter, delimiters);
}
if(processingInformation != null && !processingInformation.isEmpty()) {
for(ProcessingInformation processingInformationInst : processingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
processingInformationInst.write(nodeWriter, delimiters);
}
}
if(nameAndAddress != null) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nameAndAddress.write(nodeWriter, delimiters);
}
if(measurements != null && !measurements.isEmpty()) {
for(Measurements measurementsInst : measurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
measurementsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
segmentGroup45Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup47 != null && !segmentGroup47.isEmpty()) {
for(SegmentGroup47 segmentGroup47Inst : segmentGroup47) {
segmentGroup47Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup48 != null && !segmentGroup48.isEmpty()) {
for(SegmentGroup48 segmentGroup48Inst : segmentGroup48) {
segmentGroup48Inst.write(nodeWriter, delimiters);
}
}
}
public RelatedIdentificationNumbers getRelatedIdentificationNumbers() {
return relatedIdentificationNumbers;
}
public SegmentGroup44 setRelatedIdentificationNumbers(RelatedIdentificationNumbers relatedIdentificationNumbers) {
this.relatedIdentificationNumbers = relatedIdentificationNumbers; return this;
}
public List getProcessingInformation() {
return processingInformation;
}
public SegmentGroup44 setProcessingInformation(List processingInformation) {
this.processingInformation = processingInformation; return this;
}
public NameAndAddress getNameAndAddress() {
return nameAndAddress;
}
public SegmentGroup44 setNameAndAddress(NameAndAddress nameAndAddress) {
this.nameAndAddress = nameAndAddress; return this;
}
public List getMeasurements() {
return measurements;
}
public SegmentGroup44 setMeasurements(List measurements) {
this.measurements = measurements; return this;
}
public List getSegmentGroup45() {
return segmentGroup45;
}
public SegmentGroup44 setSegmentGroup45(List segmentGroup45) {
this.segmentGroup45 = segmentGroup45; return this;
}
public List getSegmentGroup47() {
return segmentGroup47;
}
public SegmentGroup44 setSegmentGroup47(List segmentGroup47) {
this.segmentGroup47 = segmentGroup47; return this;
}
public List getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup44 setSegmentGroup48(List segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy