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

org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup194 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.d15a.GOVCBR;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d15a.common.DOCDocumentMessageDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d15a.common.RFFReference;    
import org.milyn.edi.unedifact.d15a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d15a.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d15a.common.ALIAdditionalInformation;    
import org.milyn.edi.unedifact.d15a.common.QTYQuantity;    
import org.milyn.edi.unedifact.d15a.common.TSRTransportServiceRequirements;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup194 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private DOCDocumentMessageDetails dOCDocumentMessageDetails;
    private List rFFReference;
    private List dTMDateTimePeriod;
    private List mOAMonetaryAmount;
    private ALIAdditionalInformation aLIAdditionalInformation;
    private List qTYQuantity;
    private List tSRTransportServiceRequirements;
    private List segmentGroup195;
    private List segmentGroup197;
    private List segmentGroup198;

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

        if(dOCDocumentMessageDetails != null) {
            nodeWriter.write("DOC");
            nodeWriter.write(delimiters.getField());
            dOCDocumentMessageDetails.write(nodeWriter, delimiters);
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.write(nodeWriter, delimiters);
            }
        }
        if(aLIAdditionalInformation != null) {
            nodeWriter.write("ALI");
            nodeWriter.write(delimiters.getField());
            aLIAdditionalInformation.write(nodeWriter, delimiters);
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(tSRTransportServiceRequirements != null && !tSRTransportServiceRequirements.isEmpty()) {
            for(TSRTransportServiceRequirements tSRTransportServiceRequirementsInst : tSRTransportServiceRequirements) {
                nodeWriter.write("TSR");
                nodeWriter.write(delimiters.getField());
                tSRTransportServiceRequirementsInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup195 != null && !segmentGroup195.isEmpty()) {
            for(SegmentGroup195 segmentGroup195Inst : segmentGroup195) {
                segmentGroup195Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup197 != null && !segmentGroup197.isEmpty()) {
            for(SegmentGroup197 segmentGroup197Inst : segmentGroup197) {
                segmentGroup197Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup198 != null && !segmentGroup198.isEmpty()) {
            for(SegmentGroup198 segmentGroup198Inst : segmentGroup198) {
                segmentGroup198Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public DOCDocumentMessageDetails getDOCDocumentMessageDetails() {
        return dOCDocumentMessageDetails;
    }

    public SegmentGroup194 setDOCDocumentMessageDetails(DOCDocumentMessageDetails dOCDocumentMessageDetails) {
        this.dOCDocumentMessageDetails = dOCDocumentMessageDetails;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

    public SegmentGroup194 setRFFReference(List rFFReference) {
        this.rFFReference = rFFReference;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public ALIAdditionalInformation getALIAdditionalInformation() {
        return aLIAdditionalInformation;
    }

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

    public List getQTYQuantity() {
        return qTYQuantity;
    }

    public SegmentGroup194 setQTYQuantity(List qTYQuantity) {
        this.qTYQuantity = qTYQuantity;  return this;
    }

    public List getTSRTransportServiceRequirements() {
        return tSRTransportServiceRequirements;
    }

    public SegmentGroup194 setTSRTransportServiceRequirements(List tSRTransportServiceRequirements) {
        this.tSRTransportServiceRequirements = tSRTransportServiceRequirements;  return this;
    }

    public List getSegmentGroup195() {
        return segmentGroup195;
    }

    public SegmentGroup194 setSegmentGroup195(List segmentGroup195) {
        this.segmentGroup195 = segmentGroup195;  return this;
    }

    public List getSegmentGroup197() {
        return segmentGroup197;
    }

    public SegmentGroup194 setSegmentGroup197(List segmentGroup197) {
        this.segmentGroup197 = segmentGroup197;  return this;
    }

    public List getSegmentGroup198() {
        return segmentGroup198;
    }

    public SegmentGroup194 setSegmentGroup198(List segmentGroup198) {
        this.segmentGroup198 = segmentGroup198;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy