All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.milyn.edi.unedifact.d99b.IFCSUM.SegmentGroup43 Maven / Gradle / Ivy

The newest version!
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d99b.IFCSUM;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d99b.common.NADNameAndAddress;    
import java.util.List;    
import org.milyn.edi.unedifact.d99b.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d99b.common.MOAMonetaryAmount;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup43 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private NADNameAndAddress nADNameAndAddress;
    private List lOCPlaceLocationIdentification;
    private List mOAMonetaryAmount;
    private List segmentGroup44;
    private List segmentGroup45;
    private List segmentGroup46;
    private List segmentGroup47;
    private List segmentGroup48;
    private List segmentGroup49;

    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(segmentGroup44 != null && !segmentGroup44.isEmpty()) {
            for(SegmentGroup44 segmentGroup44Inst : segmentGroup44) {
                segmentGroup44Inst.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);
            }
        }
    }

    public NADNameAndAddress getNADNameAndAddress() {
        return nADNameAndAddress;
    }

    public SegmentGroup43 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
        this.nADNameAndAddress = nADNameAndAddress;  return this;
    }

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

    public SegmentGroup43 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
        this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification;  return this;
    }

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

    public SegmentGroup43 setMOAMonetaryAmount(List mOAMonetaryAmount) {
        this.mOAMonetaryAmount = mOAMonetaryAmount;  return this;
    }

    public List getSegmentGroup44() {
        return segmentGroup44;
    }

    public SegmentGroup43 setSegmentGroup44(List segmentGroup44) {
        this.segmentGroup44 = segmentGroup44;  return this;
    }

    public List getSegmentGroup45() {
        return segmentGroup45;
    }

    public SegmentGroup43 setSegmentGroup45(List segmentGroup45) {
        this.segmentGroup45 = segmentGroup45;  return this;
    }

    public List getSegmentGroup46() {
        return segmentGroup46;
    }

    public SegmentGroup43 setSegmentGroup46(List segmentGroup46) {
        this.segmentGroup46 = segmentGroup46;  return this;
    }

    public List getSegmentGroup47() {
        return segmentGroup47;
    }

    public SegmentGroup43 setSegmentGroup47(List segmentGroup47) {
        this.segmentGroup47 = segmentGroup47;  return this;
    }

    public List getSegmentGroup48() {
        return segmentGroup48;
    }

    public SegmentGroup43 setSegmentGroup48(List segmentGroup48) {
        this.segmentGroup48 = segmentGroup48;  return this;
    }

    public List getSegmentGroup49() {
        return segmentGroup49;
    }

    public SegmentGroup43 setSegmentGroup49(List segmentGroup49) {
        this.segmentGroup49 = segmentGroup49;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy