org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup106 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.LINLineItem;
import java.util.List;
import org.milyn.edi.unedifact.d15a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d15a.common.IFDInformationDetail;
import org.milyn.edi.unedifact.d15a.common.STSStatus;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup106 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private LINLineItem lINLineItem;
private List mOAMonetaryAmount;
private List iFDInformationDetail;
private List sTSStatus;
private List segmentGroup107;
private List segmentGroup109;
private List segmentGroup110;
private List segmentGroup114;
private SegmentGroup116 segmentGroup116;
private List segmentGroup119;
private List segmentGroup120;
private List segmentGroup121;
private List segmentGroup122;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(lINLineItem != null) {
nodeWriter.write("LIN");
nodeWriter.write(delimiters.getField());
lINLineItem.write(nodeWriter, delimiters);
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(iFDInformationDetail != null && !iFDInformationDetail.isEmpty()) {
for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
nodeWriter.write("IFD");
nodeWriter.write(delimiters.getField());
iFDInformationDetailInst.write(nodeWriter, delimiters);
}
}
if(sTSStatus != null && !sTSStatus.isEmpty()) {
for(STSStatus sTSStatusInst : sTSStatus) {
nodeWriter.write("STS");
nodeWriter.write(delimiters.getField());
sTSStatusInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup107 != null && !segmentGroup107.isEmpty()) {
for(SegmentGroup107 segmentGroup107Inst : segmentGroup107) {
segmentGroup107Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup109 != null && !segmentGroup109.isEmpty()) {
for(SegmentGroup109 segmentGroup109Inst : segmentGroup109) {
segmentGroup109Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup110 != null && !segmentGroup110.isEmpty()) {
for(SegmentGroup110 segmentGroup110Inst : segmentGroup110) {
segmentGroup110Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup114 != null && !segmentGroup114.isEmpty()) {
for(SegmentGroup114 segmentGroup114Inst : segmentGroup114) {
segmentGroup114Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup116 != null) {
segmentGroup116.write(nodeWriter, delimiters);
}
if(segmentGroup119 != null && !segmentGroup119.isEmpty()) {
for(SegmentGroup119 segmentGroup119Inst : segmentGroup119) {
segmentGroup119Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup120 != null && !segmentGroup120.isEmpty()) {
for(SegmentGroup120 segmentGroup120Inst : segmentGroup120) {
segmentGroup120Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup121 != null && !segmentGroup121.isEmpty()) {
for(SegmentGroup121 segmentGroup121Inst : segmentGroup121) {
segmentGroup121Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup122 != null && !segmentGroup122.isEmpty()) {
for(SegmentGroup122 segmentGroup122Inst : segmentGroup122) {
segmentGroup122Inst.write(nodeWriter, delimiters);
}
}
}
public LINLineItem getLINLineItem() {
return lINLineItem;
}
public SegmentGroup106 setLINLineItem(LINLineItem lINLineItem) {
this.lINLineItem = lINLineItem; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup106 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getIFDInformationDetail() {
return iFDInformationDetail;
}
public SegmentGroup106 setIFDInformationDetail(List iFDInformationDetail) {
this.iFDInformationDetail = iFDInformationDetail; return this;
}
public List getSTSStatus() {
return sTSStatus;
}
public SegmentGroup106 setSTSStatus(List sTSStatus) {
this.sTSStatus = sTSStatus; return this;
}
public List getSegmentGroup107() {
return segmentGroup107;
}
public SegmentGroup106 setSegmentGroup107(List segmentGroup107) {
this.segmentGroup107 = segmentGroup107; return this;
}
public List getSegmentGroup109() {
return segmentGroup109;
}
public SegmentGroup106 setSegmentGroup109(List segmentGroup109) {
this.segmentGroup109 = segmentGroup109; return this;
}
public List getSegmentGroup110() {
return segmentGroup110;
}
public SegmentGroup106 setSegmentGroup110(List segmentGroup110) {
this.segmentGroup110 = segmentGroup110; return this;
}
public List getSegmentGroup114() {
return segmentGroup114;
}
public SegmentGroup106 setSegmentGroup114(List segmentGroup114) {
this.segmentGroup114 = segmentGroup114; return this;
}
public SegmentGroup116 getSegmentGroup116() {
return segmentGroup116;
}
public SegmentGroup106 setSegmentGroup116(SegmentGroup116 segmentGroup116) {
this.segmentGroup116 = segmentGroup116; return this;
}
public List getSegmentGroup119() {
return segmentGroup119;
}
public SegmentGroup106 setSegmentGroup119(List segmentGroup119) {
this.segmentGroup119 = segmentGroup119; return this;
}
public List getSegmentGroup120() {
return segmentGroup120;
}
public SegmentGroup106 setSegmentGroup120(List segmentGroup120) {
this.segmentGroup120 = segmentGroup120; return this;
}
public List getSegmentGroup121() {
return segmentGroup121;
}
public SegmentGroup106 setSegmentGroup121(List segmentGroup121) {
this.segmentGroup121 = segmentGroup121; return this;
}
public List getSegmentGroup122() {
return segmentGroup122;
}
public SegmentGroup106 setSegmentGroup122(List segmentGroup122) {
this.segmentGroup122 = segmentGroup122; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy