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

org.milyn.edi.unedifact.d09b.CONPVA.SegmentGroup28 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.CONPVA;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d09b.common.ALCAllowanceOrCharge;    
import org.milyn.edi.unedifact.d09b.common.ALIAdditionalInformation;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup28 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private ALCAllowanceOrCharge aLCAllowanceOrCharge;
    private ALIAdditionalInformation aLIAdditionalInformation;
    private SegmentGroup29 segmentGroup29;
    private SegmentGroup30 segmentGroup30;
    private SegmentGroup31 segmentGroup31;
    private SegmentGroup32 segmentGroup32;
    private SegmentGroup33 segmentGroup33;

    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) {
            nodeWriter.write("ALI");
            nodeWriter.write(delimiters.getField());
            aLIAdditionalInformation.write(nodeWriter, delimiters);
        }
        if(segmentGroup29 != null) {
            segmentGroup29.write(nodeWriter, delimiters);
        }
        if(segmentGroup30 != null) {
            segmentGroup30.write(nodeWriter, delimiters);
        }
        if(segmentGroup31 != null) {
            segmentGroup31.write(nodeWriter, delimiters);
        }
        if(segmentGroup32 != null) {
            segmentGroup32.write(nodeWriter, delimiters);
        }
        if(segmentGroup33 != null) {
            segmentGroup33.write(nodeWriter, delimiters);
        }
    }

    public ALCAllowanceOrCharge getALCAllowanceOrCharge() {
        return aLCAllowanceOrCharge;
    }

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

    public ALIAdditionalInformation getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

    public SegmentGroup28 setALIAdditionalInformation(ALIAdditionalInformation aLIAdditionalInformation) {
        this.aLIAdditionalInformation = aLIAdditionalInformation;  return this;
    }

    public SegmentGroup29 getSegmentGroup29() {
        return segmentGroup29;
    }

    public SegmentGroup28 setSegmentGroup29(SegmentGroup29 segmentGroup29) {
        this.segmentGroup29 = segmentGroup29;  return this;
    }

    public SegmentGroup30 getSegmentGroup30() {
        return segmentGroup30;
    }

    public SegmentGroup28 setSegmentGroup30(SegmentGroup30 segmentGroup30) {
        this.segmentGroup30 = segmentGroup30;  return this;
    }

    public SegmentGroup31 getSegmentGroup31() {
        return segmentGroup31;
    }

    public SegmentGroup28 setSegmentGroup31(SegmentGroup31 segmentGroup31) {
        this.segmentGroup31 = segmentGroup31;  return this;
    }

    public SegmentGroup32 getSegmentGroup32() {
        return segmentGroup32;
    }

    public SegmentGroup28 setSegmentGroup32(SegmentGroup32 segmentGroup32) {
        this.segmentGroup32 = segmentGroup32;  return this;
    }

    public SegmentGroup33 getSegmentGroup33() {
        return segmentGroup33;
    }

    public SegmentGroup28 setSegmentGroup33(SegmentGroup33 segmentGroup33) {
        this.segmentGroup33 = segmentGroup33;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy