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

org.milyn.edi.unedifact.d09b.ORDRSP.SegmentGroup44 Maven / Gradle / Ivy

There is a newer version: 1.7.1.0
Show newest version
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d09b.ORDRSP;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d09b.common.ALCAllowanceOrCharge;    
import java.util.List;    
import org.milyn.edi.unedifact.d09b.common.ALIAdditionalInformation;    
import org.milyn.edi.unedifact.d09b.common.DTMDateTimePeriod;    
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 ALCAllowanceOrCharge aLCAllowanceOrCharge;
    private List aLIAdditionalInformation;
    private List dTMDateTimePeriod;
    private SegmentGroup45 segmentGroup45;
    private SegmentGroup46 segmentGroup46;
    private List segmentGroup47;
    private SegmentGroup48 segmentGroup48;
    private List segmentGroup49;

    public void write(Writer writer, Delimiters delimiters) throws IOException {
        
        Writer nodeWriter = writer;

        if(aLCAllowanceOrCharge != null) {
            nodeWriter.write("ALC");
            nodeWriter.write(delimiters.getField());
            aLCAllowanceOrCharge.write(nodeWriter, delimiters);
        }
        if(aLIAdditionalInformation != null && !aLIAdditionalInformation.isEmpty()) {
            for(ALIAdditionalInformation aLIAdditionalInformationInst : aLIAdditionalInformation) {
                nodeWriter.write("ALI");
                nodeWriter.write(delimiters.getField());
                aLIAdditionalInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup45 != null) {
            segmentGroup45.write(nodeWriter, delimiters);
        }
        if(segmentGroup46 != null) {
            segmentGroup46.write(nodeWriter, delimiters);
        }
        if(segmentGroup47 != null && !segmentGroup47.isEmpty()) {
            for(SegmentGroup47 segmentGroup47Inst : segmentGroup47) {
                segmentGroup47Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup48 != null) {
            segmentGroup48.write(nodeWriter, delimiters);
        }
        if(segmentGroup49 != null && !segmentGroup49.isEmpty()) {
            for(SegmentGroup49 segmentGroup49Inst : segmentGroup49) {
                segmentGroup49Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public ALCAllowanceOrCharge getALCAllowanceOrCharge() {
        return aLCAllowanceOrCharge;
    }

    public SegmentGroup44 setALCAllowanceOrCharge(ALCAllowanceOrCharge aLCAllowanceOrCharge) {
        this.aLCAllowanceOrCharge = aLCAllowanceOrCharge;  return this;
    }

    public List getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

    public SegmentGroup44 setALIAdditionalInformation(List aLIAdditionalInformation) {
        this.aLIAdditionalInformation = aLIAdditionalInformation;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

    public SegmentGroup44 setDTMDateTimePeriod(List dTMDateTimePeriod) {
        this.dTMDateTimePeriod = dTMDateTimePeriod;  return this;
    }

    public SegmentGroup45 getSegmentGroup45() {
        return segmentGroup45;
    }

    public SegmentGroup44 setSegmentGroup45(SegmentGroup45 segmentGroup45) {
        this.segmentGroup45 = segmentGroup45;  return this;
    }

    public SegmentGroup46 getSegmentGroup46() {
        return segmentGroup46;
    }

    public SegmentGroup44 setSegmentGroup46(SegmentGroup46 segmentGroup46) {
        this.segmentGroup46 = segmentGroup46;  return this;
    }

    public List getSegmentGroup47() {
        return segmentGroup47;
    }

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

    public SegmentGroup48 getSegmentGroup48() {
        return segmentGroup48;
    }

    public SegmentGroup44 setSegmentGroup48(SegmentGroup48 segmentGroup48) {
        this.segmentGroup48 = segmentGroup48;  return this;
    }

    public List getSegmentGroup49() {
        return segmentGroup49;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy