org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup102 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.EQDEquipmentDetails;
import org.milyn.edi.unedifact.d15a.common.SEQSequenceDetails;
import org.milyn.edi.unedifact.d15a.common.QTYQuantity;
import java.util.List;
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 SegmentGroup102 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQDEquipmentDetails eQDEquipmentDetails;
private SEQSequenceDetails sEQSequenceDetails;
private QTYQuantity qTYQuantity;
private List gEIProcessingInformation;
private List segmentGroup103;
private List segmentGroup104;
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(qTYQuantity != null) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantity.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup103 != null && !segmentGroup103.isEmpty()) {
for(SegmentGroup103 segmentGroup103Inst : segmentGroup103) {
segmentGroup103Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup104 != null && !segmentGroup104.isEmpty()) {
for(SegmentGroup104 segmentGroup104Inst : segmentGroup104) {
segmentGroup104Inst.write(nodeWriter, delimiters);
}
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup102 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public SEQSequenceDetails getSEQSequenceDetails() {
return sEQSequenceDetails;
}
public SegmentGroup102 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
this.sEQSequenceDetails = sEQSequenceDetails; return this;
}
public QTYQuantity getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup102 setQTYQuantity(QTYQuantity qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup102 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getSegmentGroup103() {
return segmentGroup103;
}
public SegmentGroup102 setSegmentGroup103(List segmentGroup103) {
this.segmentGroup103 = segmentGroup103; return this;
}
public List getSegmentGroup104() {
return segmentGroup104;
}
public SegmentGroup102 setSegmentGroup104(List segmentGroup104) {
this.segmentGroup104 = segmentGroup104; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy