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

org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup175 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.NADNameAndAddress;    
import org.milyn.edi.unedifact.d15a.common.IFDInformationDetail;    
import org.milyn.edi.unedifact.d15a.common.NATNationality;    
import java.util.List;    
import org.milyn.edi.unedifact.d15a.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d15a.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d15a.common.EMPEmploymentDetails;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup175 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private NADNameAndAddress nADNameAndAddress;
    private IFDInformationDetail iFDInformationDetail;
    private NATNationality nATNationality;
    private List dTMDateTimePeriod;
    private List lOCPlaceLocationIdentification;
    private List eMPEmploymentDetails;
    private List segmentGroup176;
    private List segmentGroup177;

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

        if(nADNameAndAddress != null) {
            nodeWriter.write("NAD");
            nodeWriter.write(delimiters.getField());
            nADNameAndAddress.write(nodeWriter, delimiters);
        }
        if(iFDInformationDetail != null) {
            nodeWriter.write("IFD");
            nodeWriter.write(delimiters.getField());
            iFDInformationDetail.write(nodeWriter, delimiters);
        }
        if(nATNationality != null) {
            nodeWriter.write("NAT");
            nodeWriter.write(delimiters.getField());
            nATNationality.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(eMPEmploymentDetails != null && !eMPEmploymentDetails.isEmpty()) {
            for(EMPEmploymentDetails eMPEmploymentDetailsInst : eMPEmploymentDetails) {
                nodeWriter.write("EMP");
                nodeWriter.write(delimiters.getField());
                eMPEmploymentDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup176 != null && !segmentGroup176.isEmpty()) {
            for(SegmentGroup176 segmentGroup176Inst : segmentGroup176) {
                segmentGroup176Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup177 != null && !segmentGroup177.isEmpty()) {
            for(SegmentGroup177 segmentGroup177Inst : segmentGroup177) {
                segmentGroup177Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public NADNameAndAddress getNADNameAndAddress() {
        return nADNameAndAddress;
    }

    public SegmentGroup175 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
        this.nADNameAndAddress = nADNameAndAddress;  return this;
    }

    public IFDInformationDetail getIFDInformationDetail() {
        return iFDInformationDetail;
    }

    public SegmentGroup175 setIFDInformationDetail(IFDInformationDetail iFDInformationDetail) {
        this.iFDInformationDetail = iFDInformationDetail;  return this;
    }

    public NATNationality getNATNationality() {
        return nATNationality;
    }

    public SegmentGroup175 setNATNationality(NATNationality nATNationality) {
        this.nATNationality = nATNationality;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

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

    public List getEMPEmploymentDetails() {
        return eMPEmploymentDetails;
    }

    public SegmentGroup175 setEMPEmploymentDetails(List eMPEmploymentDetails) {
        this.eMPEmploymentDetails = eMPEmploymentDetails;  return this;
    }

    public List getSegmentGroup176() {
        return segmentGroup176;
    }

    public SegmentGroup175 setSegmentGroup176(List segmentGroup176) {
        this.segmentGroup176 = segmentGroup176;  return this;
    }

    public List getSegmentGroup177() {
        return segmentGroup177;
    }

    public SegmentGroup175 setSegmentGroup177(List segmentGroup177) {
        this.segmentGroup177 = segmentGroup177;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy