org.milyn.edi.unedifact.d98a.SANCRT.SegmentGroup15 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.SANCRT;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.PACPackage;
import java.util.List;
import org.milyn.edi.unedifact.d98a.common.PCIPackageIdentification;
import org.milyn.edi.unedifact.d98a.common.MEAMeasurements;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup15 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private PACPackage pACPackage;
private List pCIPackageIdentification;
private List mEAMeasurements;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(pACPackage != null) {
nodeWriter.write("PAC");
nodeWriter.write(delimiters.getField());
pACPackage.write(nodeWriter, delimiters);
}
if(pCIPackageIdentification != null && !pCIPackageIdentification.isEmpty()) {
for(PCIPackageIdentification pCIPackageIdentificationInst : pCIPackageIdentification) {
nodeWriter.write("PCI");
nodeWriter.write(delimiters.getField());
pCIPackageIdentificationInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
}
public PACPackage getPACPackage() {
return pACPackage;
}
public SegmentGroup15 setPACPackage(PACPackage pACPackage) {
this.pACPackage = pACPackage; return this;
}
public List getPCIPackageIdentification() {
return pCIPackageIdentification;
}
public SegmentGroup15 setPCIPackageIdentification(List pCIPackageIdentification) {
this.pCIPackageIdentification = pCIPackageIdentification; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup15 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy