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

org.milyn.edi.unedifact.d07a.COEDOR.SegmentGroup4 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.d07a.COEDOR;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d07a.common.EQDEquipmentDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d07a.common.RFFReference;    
import org.milyn.edi.unedifact.d07a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d07a.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d07a.common.CODComponentDetails;    
import org.milyn.edi.unedifact.d07a.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d07a.common.DIMDimensions;    
import org.milyn.edi.unedifact.d07a.common.RNGRangeDetails;    
import org.milyn.edi.unedifact.d07a.common.FTXFreeText;    
import org.milyn.edi.unedifact.d07a.common.EQAAttachedEquipment;    
import org.milyn.edi.unedifact.d07a.common.HANHandlingInstructions;    
import org.milyn.edi.unedifact.d07a.common.NADNameAndAddress;    
import org.milyn.edi.unedifact.d07a.common.EQNNumberOfUnits;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup4 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private EQDEquipmentDetails eQDEquipmentDetails;
    private List rFFReference;
    private List dTMDateTimePeriod;
    private List lOCPlaceLocationIdentification;
    private CODComponentDetails cODComponentDetails;
    private List mEAMeasurements;
    private List dIMDimensions;
    private List rNGRangeDetails;
    private List fTXFreeText;
    private List eQAAttachedEquipment;
    private List hANHandlingInstructions;
    private List nADNameAndAddress;
    private EQNNumberOfUnits eQNNumberOfUnits;
    private List segmentGroup5;
    private SegmentGroup6 segmentGroup6;
    private List segmentGroup8;
    private List segmentGroup10;

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

        if(eQDEquipmentDetails != null) {
            nodeWriter.write("EQD");
            nodeWriter.write(delimiters.getField());
            eQDEquipmentDetails.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(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
            for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
                nodeWriter.write("LOC");
                nodeWriter.write(delimiters.getField());
                lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(cODComponentDetails != null) {
            nodeWriter.write("COD");
            nodeWriter.write(delimiters.getField());
            cODComponentDetails.write(nodeWriter, delimiters);
        }
        if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
            for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
                nodeWriter.write("MEA");
                nodeWriter.write(delimiters.getField());
                mEAMeasurementsInst.write(nodeWriter, delimiters);
            }
        }
        if(dIMDimensions != null && !dIMDimensions.isEmpty()) {
            for(DIMDimensions dIMDimensionsInst : dIMDimensions) {
                nodeWriter.write("DIM");
                nodeWriter.write(delimiters.getField());
                dIMDimensionsInst.write(nodeWriter, delimiters);
            }
        }
        if(rNGRangeDetails != null && !rNGRangeDetails.isEmpty()) {
            for(RNGRangeDetails rNGRangeDetailsInst : rNGRangeDetails) {
                nodeWriter.write("RNG");
                nodeWriter.write(delimiters.getField());
                rNGRangeDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(eQAAttachedEquipment != null && !eQAAttachedEquipment.isEmpty()) {
            for(EQAAttachedEquipment eQAAttachedEquipmentInst : eQAAttachedEquipment) {
                nodeWriter.write("EQA");
                nodeWriter.write(delimiters.getField());
                eQAAttachedEquipmentInst.write(nodeWriter, delimiters);
            }
        }
        if(hANHandlingInstructions != null && !hANHandlingInstructions.isEmpty()) {
            for(HANHandlingInstructions hANHandlingInstructionsInst : hANHandlingInstructions) {
                nodeWriter.write("HAN");
                nodeWriter.write(delimiters.getField());
                hANHandlingInstructionsInst.write(nodeWriter, delimiters);
            }
        }
        if(nADNameAndAddress != null && !nADNameAndAddress.isEmpty()) {
            for(NADNameAndAddress nADNameAndAddressInst : nADNameAndAddress) {
                nodeWriter.write("NAD");
                nodeWriter.write(delimiters.getField());
                nADNameAndAddressInst.write(nodeWriter, delimiters);
            }
        }
        if(eQNNumberOfUnits != null) {
            nodeWriter.write("EQN");
            nodeWriter.write(delimiters.getField());
            eQNNumberOfUnits.write(nodeWriter, delimiters);
        }
        if(segmentGroup5 != null && !segmentGroup5.isEmpty()) {
            for(SegmentGroup5 segmentGroup5Inst : segmentGroup5) {
                segmentGroup5Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup6 != null) {
            segmentGroup6.write(nodeWriter, delimiters);
        }
        if(segmentGroup8 != null && !segmentGroup8.isEmpty()) {
            for(SegmentGroup8 segmentGroup8Inst : segmentGroup8) {
                segmentGroup8Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup10 != null && !segmentGroup10.isEmpty()) {
            for(SegmentGroup10 segmentGroup10Inst : segmentGroup10) {
                segmentGroup10Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public EQDEquipmentDetails getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

    public SegmentGroup4 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
        this.eQDEquipmentDetails = eQDEquipmentDetails;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

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

    public CODComponentDetails getCODComponentDetails() {
        return cODComponentDetails;
    }

    public SegmentGroup4 setCODComponentDetails(CODComponentDetails cODComponentDetails) {
        this.cODComponentDetails = cODComponentDetails;  return this;
    }

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

    public SegmentGroup4 setMEAMeasurements(List mEAMeasurements) {
        this.mEAMeasurements = mEAMeasurements;  return this;
    }

    public List getDIMDimensions() {
        return dIMDimensions;
    }

    public SegmentGroup4 setDIMDimensions(List dIMDimensions) {
        this.dIMDimensions = dIMDimensions;  return this;
    }

    public List getRNGRangeDetails() {
        return rNGRangeDetails;
    }

    public SegmentGroup4 setRNGRangeDetails(List rNGRangeDetails) {
        this.rNGRangeDetails = rNGRangeDetails;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public List getEQAAttachedEquipment() {
        return eQAAttachedEquipment;
    }

    public SegmentGroup4 setEQAAttachedEquipment(List eQAAttachedEquipment) {
        this.eQAAttachedEquipment = eQAAttachedEquipment;  return this;
    }

    public List getHANHandlingInstructions() {
        return hANHandlingInstructions;
    }

    public SegmentGroup4 setHANHandlingInstructions(List hANHandlingInstructions) {
        this.hANHandlingInstructions = hANHandlingInstructions;  return this;
    }

    public List getNADNameAndAddress() {
        return nADNameAndAddress;
    }

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

    public EQNNumberOfUnits getEQNNumberOfUnits() {
        return eQNNumberOfUnits;
    }

    public SegmentGroup4 setEQNNumberOfUnits(EQNNumberOfUnits eQNNumberOfUnits) {
        this.eQNNumberOfUnits = eQNNumberOfUnits;  return this;
    }

    public List getSegmentGroup5() {
        return segmentGroup5;
    }

    public SegmentGroup4 setSegmentGroup5(List segmentGroup5) {
        this.segmentGroup5 = segmentGroup5;  return this;
    }

    public SegmentGroup6 getSegmentGroup6() {
        return segmentGroup6;
    }

    public SegmentGroup4 setSegmentGroup6(SegmentGroup6 segmentGroup6) {
        this.segmentGroup6 = segmentGroup6;  return this;
    }

    public List getSegmentGroup8() {
        return segmentGroup8;
    }

    public SegmentGroup4 setSegmentGroup8(List segmentGroup8) {
        this.segmentGroup8 = segmentGroup8;  return this;
    }

    public List getSegmentGroup10() {
        return segmentGroup10;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy