org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup133 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d15a.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d15a.common.CODComponentDetails;
import java.util.List;
import org.milyn.edi.unedifact.d15a.common.QTYQuantity;
import org.milyn.edi.unedifact.d15a.common.PCDPercentageDetails;
import org.milyn.edi.unedifact.d15a.common.GEIProcessingInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup133 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CODComponentDetails cODComponentDetails;
private List qTYQuantity;
private List pCDPercentageDetails;
private List gEIProcessingInformation;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cODComponentDetails != null) {
nodeWriter.write("COD");
nodeWriter.write(delimiters.getField());
cODComponentDetails.write(nodeWriter, delimiters);
}
if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
for(QTYQuantity qTYQuantityInst : qTYQuantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantityInst.write(nodeWriter, delimiters);
}
}
if(pCDPercentageDetails != null && !pCDPercentageDetails.isEmpty()) {
for(PCDPercentageDetails pCDPercentageDetailsInst : pCDPercentageDetails) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetailsInst.write(nodeWriter, delimiters);
}
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
}
public CODComponentDetails getCODComponentDetails() {
return cODComponentDetails;
}
public SegmentGroup133 setCODComponentDetails(CODComponentDetails cODComponentDetails) {
this.cODComponentDetails = cODComponentDetails; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup133 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup133 setPCDPercentageDetails(List pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup133 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy