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

org.milyn.edi.unedifact.d95b.COPARN.SegmentGroup7 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.d95b.COPARN;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d95b.common.EQDEquipmentDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d95b.common.RFFReference;    
import org.milyn.edi.unedifact.d95b.common.EQNNumberOfUnits;    
import org.milyn.edi.unedifact.d95b.common.TMDTransportMovementDetails;    
import org.milyn.edi.unedifact.d95b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d95b.common.TSRTransportServiceRequirements;    
import org.milyn.edi.unedifact.d95b.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d95b.common.MEAMeasurements;    
import org.milyn.edi.unedifact.d95b.common.DIMDimensions;    
import org.milyn.edi.unedifact.d95b.common.TMPTemperature;    
import org.milyn.edi.unedifact.d95b.common.RNGRangeDetails;    
import org.milyn.edi.unedifact.d95b.common.SELSealNumber;    
import org.milyn.edi.unedifact.d95b.common.FTXFreeText;    
import org.milyn.edi.unedifact.d95b.common.DGSDangerousGoods;    
import org.milyn.edi.unedifact.d95b.common.MOAMonetaryAmount;    
import org.milyn.edi.unedifact.d95b.common.GORGovernmentalRequirements;    
import org.milyn.edi.unedifact.d95b.common.EQAAttachedEquipment;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup7 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private EQDEquipmentDetails eQDEquipmentDetails;
    private List rFFReference;
    private EQNNumberOfUnits eQNNumberOfUnits;
    private List tMDTransportMovementDetails;
    private List dTMDateTimePeriod;
    private List tSRTransportServiceRequirements;
    private List lOCPlaceLocationIdentification;
    private List mEAMeasurements;
    private List dIMDimensions;
    private List tMPTemperature;
    private List rNGRangeDetails;
    private List sELSealNumber;
    private List fTXFreeText;
    private DGSDangerousGoods dGSDangerousGoods;
    private List mOAMonetaryAmount;
    private List gORGovernmentalRequirements;
    private EQAAttachedEquipment eQAAttachedEquipment;
    private List segmentGroup8;
    private List segmentGroup9;
    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(eQNNumberOfUnits != null) {
            nodeWriter.write("EQN");
            nodeWriter.write(delimiters.getField());
            eQNNumberOfUnits.write(nodeWriter, delimiters);
        }
        if(tMDTransportMovementDetails != null && !tMDTransportMovementDetails.isEmpty()) {
            for(TMDTransportMovementDetails tMDTransportMovementDetailsInst : tMDTransportMovementDetails) {
                nodeWriter.write("TMD");
                nodeWriter.write(delimiters.getField());
                tMDTransportMovementDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(tSRTransportServiceRequirements != null && !tSRTransportServiceRequirements.isEmpty()) {
            for(TSRTransportServiceRequirements tSRTransportServiceRequirementsInst : tSRTransportServiceRequirements) {
                nodeWriter.write("TSR");
                nodeWriter.write(delimiters.getField());
                tSRTransportServiceRequirementsInst.write(nodeWriter, delimiters);
            }
        }
        if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
            for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
                nodeWriter.write("LOC");
                nodeWriter.write(delimiters.getField());
                lOCPlaceLocationIdentificationInst.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(tMPTemperature != null && !tMPTemperature.isEmpty()) {
            for(TMPTemperature tMPTemperatureInst : tMPTemperature) {
                nodeWriter.write("TMP");
                nodeWriter.write(delimiters.getField());
                tMPTemperatureInst.write(nodeWriter, delimiters);
            }
        }
        if(rNGRangeDetails != null && !rNGRangeDetails.isEmpty()) {
            for(RNGRangeDetails rNGRangeDetailsInst : rNGRangeDetails) {
                nodeWriter.write("RNG");
                nodeWriter.write(delimiters.getField());
                rNGRangeDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(sELSealNumber != null && !sELSealNumber.isEmpty()) {
            for(SELSealNumber sELSealNumberInst : sELSealNumber) {
                nodeWriter.write("SEL");
                nodeWriter.write(delimiters.getField());
                sELSealNumberInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.write(nodeWriter, delimiters);
            }
        }
        if(dGSDangerousGoods != null) {
            nodeWriter.write("DGS");
            nodeWriter.write(delimiters.getField());
            dGSDangerousGoods.write(nodeWriter, delimiters);
        }
        if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
            for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
                nodeWriter.write("MOA");
                nodeWriter.write(delimiters.getField());
                mOAMonetaryAmountInst.write(nodeWriter, delimiters);
            }
        }
        if(gORGovernmentalRequirements != null && !gORGovernmentalRequirements.isEmpty()) {
            for(GORGovernmentalRequirements gORGovernmentalRequirementsInst : gORGovernmentalRequirements) {
                nodeWriter.write("GOR");
                nodeWriter.write(delimiters.getField());
                gORGovernmentalRequirementsInst.write(nodeWriter, delimiters);
            }
        }
        if(eQAAttachedEquipment != null) {
            nodeWriter.write("EQA");
            nodeWriter.write(delimiters.getField());
            eQAAttachedEquipment.write(nodeWriter, delimiters);
        }
        if(segmentGroup8 != null && !segmentGroup8.isEmpty()) {
            for(SegmentGroup8 segmentGroup8Inst : segmentGroup8) {
                segmentGroup8Inst.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);
            }
        }
    }

    public EQDEquipmentDetails getEQDEquipmentDetails() {
        return eQDEquipmentDetails;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public EQNNumberOfUnits getEQNNumberOfUnits() {
        return eQNNumberOfUnits;
    }

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

    public List getTMDTransportMovementDetails() {
        return tMDTransportMovementDetails;
    }

    public SegmentGroup7 setTMDTransportMovementDetails(List tMDTransportMovementDetails) {
        this.tMDTransportMovementDetails = tMDTransportMovementDetails;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getTSRTransportServiceRequirements() {
        return tSRTransportServiceRequirements;
    }

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

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

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

    public List getMEAMeasurements() {
        return mEAMeasurements;
    }

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

    public List getDIMDimensions() {
        return dIMDimensions;
    }

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

    public List getTMPTemperature() {
        return tMPTemperature;
    }

    public SegmentGroup7 setTMPTemperature(List tMPTemperature) {
        this.tMPTemperature = tMPTemperature;  return this;
    }

    public List getRNGRangeDetails() {
        return rNGRangeDetails;
    }

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

    public List getSELSealNumber() {
        return sELSealNumber;
    }

    public SegmentGroup7 setSELSealNumber(List sELSealNumber) {
        this.sELSealNumber = sELSealNumber;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

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

    public DGSDangerousGoods getDGSDangerousGoods() {
        return dGSDangerousGoods;
    }

    public SegmentGroup7 setDGSDangerousGoods(DGSDangerousGoods dGSDangerousGoods) {
        this.dGSDangerousGoods = dGSDangerousGoods;  return this;
    }

    public List getMOAMonetaryAmount() {
        return mOAMonetaryAmount;
    }

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

    public List getGORGovernmentalRequirements() {
        return gORGovernmentalRequirements;
    }

    public SegmentGroup7 setGORGovernmentalRequirements(List gORGovernmentalRequirements) {
        this.gORGovernmentalRequirements = gORGovernmentalRequirements;  return this;
    }

    public EQAAttachedEquipment getEQAAttachedEquipment() {
        return eQAAttachedEquipment;
    }

    public SegmentGroup7 setEQAAttachedEquipment(EQAAttachedEquipment eQAAttachedEquipment) {
        this.eQAAttachedEquipment = eQAAttachedEquipment;  return this;
    }

    public List getSegmentGroup8() {
        return segmentGroup8;
    }

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

    public List getSegmentGroup9() {
        return segmentGroup9;
    }

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

    public List getSegmentGroup10() {
        return segmentGroup10;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy