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

org.milyn.edi.unedifact.d06b.STLRPT.SegmentGroup8 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.d06b.STLRPT;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d06b.common.LINLineItem;    
import org.milyn.edi.unedifact.d06b.common.DTMDateTimePeriod;    
import java.util.List;    
import org.milyn.edi.unedifact.d06b.common.RFFReference;    
import org.milyn.edi.unedifact.d06b.common.NADNameAndAddress;    
import org.milyn.edi.unedifact.d06b.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d06b.common.CUXCurrencies;    
import org.milyn.edi.unedifact.d06b.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d06b.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d06b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d06b.common.ALCAllowanceOrCharge;    
import org.milyn.edi.unedifact.d06b.common.FTXFreeText;    
import org.milyn.edi.unedifact.d06b.common.TAXDutyTaxFeeDetails;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup8 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private LINLineItem lINLineItem;
    private DTMDateTimePeriod dTMDateTimePeriod;
    private List rFFReference;
    private List nADNameAndAddress;
    private LOCPlaceLocationIdentification lOCPlaceLocationIdentification;
    private CUXCurrencies cUXCurrencies;
    private List gEIProcessingInformation;
    private List iMDItemDescription;
    private List mOAMonetaryAmount;
    private List aLCAllowanceOrCharge;
    private List fTXFreeText;
    private List tAXDutyTaxFeeDetails;
    private List segmentGroup9;
    private List segmentGroup10;
    private List segmentGroup11;

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

        if(lINLineItem != null) {
            nodeWriter.write("LIN");
            nodeWriter.write(delimiters.getField());
            lINLineItem.write(nodeWriter, delimiters);
        }
        if(dTMDateTimePeriod != null) {
            nodeWriter.write("DTM");
            nodeWriter.write(delimiters.getField());
            dTMDateTimePeriod.write(nodeWriter, delimiters);
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(nADNameAndAddress != null && !nADNameAndAddress.isEmpty()) {
            for(NADNameAndAddress nADNameAndAddressInst : nADNameAndAddress) {
                nodeWriter.write("NAD");
                nodeWriter.write(delimiters.getField());
                nADNameAndAddressInst.write(nodeWriter, delimiters);
            }
        }
        if(lOCPlaceLocationIdentification != null) {
            nodeWriter.write("LOC");
            nodeWriter.write(delimiters.getField());
            lOCPlaceLocationIdentification.write(nodeWriter, delimiters);
        }
        if(cUXCurrencies != null) {
            nodeWriter.write("CUX");
            nodeWriter.write(delimiters.getField());
            cUXCurrencies.write(nodeWriter, delimiters);
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
            for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
                nodeWriter.write("IMD");
                nodeWriter.write(delimiters.getField());
                iMDItemDescriptionInst.write(nodeWriter, delimiters);
            }
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.write(nodeWriter, delimiters);
            }
        }
        if(aLCAllowanceOrCharge != null && !aLCAllowanceOrCharge.isEmpty()) {
            for(ALCAllowanceOrCharge aLCAllowanceOrChargeInst : aLCAllowanceOrCharge) {
                nodeWriter.write("ALC");
                nodeWriter.write(delimiters.getField());
                aLCAllowanceOrChargeInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(tAXDutyTaxFeeDetails != null && !tAXDutyTaxFeeDetails.isEmpty()) {
            for(TAXDutyTaxFeeDetails tAXDutyTaxFeeDetailsInst : tAXDutyTaxFeeDetails) {
                nodeWriter.write("TAX");
                nodeWriter.write(delimiters.getField());
                tAXDutyTaxFeeDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup9 != null && !segmentGroup9.isEmpty()) {
            for(SegmentGroup9 segmentGroup9Inst : segmentGroup9) {
                segmentGroup9Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup10 != null && !segmentGroup10.isEmpty()) {
            for(SegmentGroup10 segmentGroup10Inst : segmentGroup10) {
                segmentGroup10Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup11 != null && !segmentGroup11.isEmpty()) {
            for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) {
                segmentGroup11Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public LINLineItem getLINLineItem() {
        return lINLineItem;
    }

    public SegmentGroup8 setLINLineItem(LINLineItem lINLineItem) {
        this.lINLineItem = lINLineItem;  return this;
    }

    public DTMDateTimePeriod getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

    public SegmentGroup8 setDTMDateTimePeriod(DTMDateTimePeriod dTMDateTimePeriod) {
        this.dTMDateTimePeriod = dTMDateTimePeriod;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getNADNameAndAddress() {
        return nADNameAndAddress;
    }

    public SegmentGroup8 setNADNameAndAddress(List nADNameAndAddress) {
        this.nADNameAndAddress = nADNameAndAddress;  return this;
    }

    public LOCPlaceLocationIdentification getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

    public SegmentGroup8 setLOCPlaceLocationIdentification(LOCPlaceLocationIdentification lOCPlaceLocationIdentification) {
        this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification;  return this;
    }

    public CUXCurrencies getCUXCurrencies() {
        return cUXCurrencies;
    }

    public SegmentGroup8 setCUXCurrencies(CUXCurrencies cUXCurrencies) {
        this.cUXCurrencies = cUXCurrencies;  return this;
    }

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

    public SegmentGroup8 setGEIProcessingInformation(List gEIProcessingInformation) {
        this.gEIProcessingInformation = gEIProcessingInformation;  return this;
    }

    public List getIMDItemDescription() {
        return iMDItemDescription;
    }

    public SegmentGroup8 setIMDItemDescription(List iMDItemDescription) {
        this.iMDItemDescription = iMDItemDescription;  return this;
    }

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getALCAllowanceOrCharge() {
        return aLCAllowanceOrCharge;
    }

    public SegmentGroup8 setALCAllowanceOrCharge(List aLCAllowanceOrCharge) {
        this.aLCAllowanceOrCharge = aLCAllowanceOrCharge;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

    public SegmentGroup8 setFTXFreeText(List fTXFreeText) {
        this.fTXFreeText = fTXFreeText;  return this;
    }

    public List getTAXDutyTaxFeeDetails() {
        return tAXDutyTaxFeeDetails;
    }

    public SegmentGroup8 setTAXDutyTaxFeeDetails(List tAXDutyTaxFeeDetails) {
        this.tAXDutyTaxFeeDetails = tAXDutyTaxFeeDetails;  return this;
    }

    public List getSegmentGroup9() {
        return segmentGroup9;
    }

    public SegmentGroup8 setSegmentGroup9(List segmentGroup9) {
        this.segmentGroup9 = segmentGroup9;  return this;
    }

    public List getSegmentGroup10() {
        return segmentGroup10;
    }

    public SegmentGroup8 setSegmentGroup10(List segmentGroup10) {
        this.segmentGroup10 = segmentGroup10;  return this;
    }

    public List getSegmentGroup11() {
        return segmentGroup11;
    }

    public SegmentGroup8 setSegmentGroup11(List segmentGroup11) {
        this.segmentGroup11 = segmentGroup11;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy