org.milyn.edi.unedifact.d09b.IFCSUM.SegmentGroup44 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.IFCSUM;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.NADNameAndAddress;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.LOCPlaceLocationIdentification;
import org.milyn.edi.unedifact.d09b.common.MOAMonetaryAmount;
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 NADNameAndAddress nADNameAndAddress;
private List lOCPlaceLocationIdentification;
private List mOAMonetaryAmount;
private List segmentGroup45;
private List segmentGroup46;
private List segmentGroup47;
private List segmentGroup48;
private List segmentGroup49;
private List segmentGroup50;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(nADNameAndAddress != null) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddress.write(nodeWriter, delimiters);
}
if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
segmentGroup45Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup46 != null && !segmentGroup46.isEmpty()) {
for(SegmentGroup46 segmentGroup46Inst : segmentGroup46) {
segmentGroup46Inst.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);
}
}
if(segmentGroup49 != null && !segmentGroup49.isEmpty()) {
for(SegmentGroup49 segmentGroup49Inst : segmentGroup49) {
segmentGroup49Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup50 != null && !segmentGroup50.isEmpty()) {
for(SegmentGroup50 segmentGroup50Inst : segmentGroup50) {
segmentGroup50Inst.write(nodeWriter, delimiters);
}
}
}
public NADNameAndAddress getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup44 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup44 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup44 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getSegmentGroup45() {
return segmentGroup45;
}
public SegmentGroup44 setSegmentGroup45(List segmentGroup45) {
this.segmentGroup45 = segmentGroup45; return this;
}
public List getSegmentGroup46() {
return segmentGroup46;
}
public SegmentGroup44 setSegmentGroup46(List segmentGroup46) {
this.segmentGroup46 = segmentGroup46; 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;
}
public List getSegmentGroup49() {
return segmentGroup49;
}
public SegmentGroup44 setSegmentGroup49(List segmentGroup49) {
this.segmentGroup49 = segmentGroup49; return this;
}
public List getSegmentGroup50() {
return segmentGroup50;
}
public SegmentGroup44 setSegmentGroup50(List segmentGroup50) {
this.segmentGroup50 = segmentGroup50; return this;
}
}