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

org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup38 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.SEQSequenceDetails;    
import org.milyn.edi.unedifact.d15a.common.ATTAttribute;    
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 org.milyn.edi.unedifact.d15a.common.STSStatus;    
import org.milyn.edi.unedifact.d15a.common.GEIProcessingInformation;    
import org.milyn.edi.unedifact.d15a.common.RFFReference;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup38 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private NADNameAndAddress nADNameAndAddress;
    private SEQSequenceDetails sEQSequenceDetails;
    private ATTAttribute aTTAttribute;
    private IFDInformationDetail iFDInformationDetail;
    private NATNationality nATNationality;
    private List dTMDateTimePeriod;
    private List lOCPlaceLocationIdentification;
    private List eMPEmploymentDetails;
    private STSStatus sTSStatus;
    private List gEIProcessingInformation;
    private List rFFReference;
    private List segmentGroup39;
    private SegmentGroup40 segmentGroup40;
    private List segmentGroup41;
    private List segmentGroup42;

    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(sEQSequenceDetails != null) {
            nodeWriter.write("SEQ");
            nodeWriter.write(delimiters.getField());
            sEQSequenceDetails.write(nodeWriter, delimiters);
        }
        if(aTTAttribute != null) {
            nodeWriter.write("ATT");
            nodeWriter.write(delimiters.getField());
            aTTAttribute.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(sTSStatus != null) {
            nodeWriter.write("STS");
            nodeWriter.write(delimiters.getField());
            sTSStatus.write(nodeWriter, delimiters);
        }
        if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
            for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
                nodeWriter.write("GEI");
                nodeWriter.write(delimiters.getField());
                gEIProcessingInformationInst.write(nodeWriter, delimiters);
            }
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
            for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
                segmentGroup39Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup40 != null) {
            segmentGroup40.write(nodeWriter, delimiters);
        }
        if(segmentGroup41 != null && !segmentGroup41.isEmpty()) {
            for(SegmentGroup41 segmentGroup41Inst : segmentGroup41) {
                segmentGroup41Inst.write(nodeWriter, delimiters);
            }
        }
        if(segmentGroup42 != null && !segmentGroup42.isEmpty()) {
            for(SegmentGroup42 segmentGroup42Inst : segmentGroup42) {
                segmentGroup42Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public NADNameAndAddress getNADNameAndAddress() {
        return nADNameAndAddress;
    }

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

    public SEQSequenceDetails getSEQSequenceDetails() {
        return sEQSequenceDetails;
    }

    public SegmentGroup38 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
        this.sEQSequenceDetails = sEQSequenceDetails;  return this;
    }

    public ATTAttribute getATTAttribute() {
        return aTTAttribute;
    }

    public SegmentGroup38 setATTAttribute(ATTAttribute aTTAttribute) {
        this.aTTAttribute = aTTAttribute;  return this;
    }

    public IFDInformationDetail getIFDInformationDetail() {
        return iFDInformationDetail;
    }

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

    public NATNationality getNATNationality() {
        return nATNationality;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

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

    public List getEMPEmploymentDetails() {
        return eMPEmploymentDetails;
    }

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

    public STSStatus getSTSStatus() {
        return sTSStatus;
    }

    public SegmentGroup38 setSTSStatus(STSStatus sTSStatus) {
        this.sTSStatus = sTSStatus;  return this;
    }

    public List getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

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

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getSegmentGroup39() {
        return segmentGroup39;
    }

    public SegmentGroup38 setSegmentGroup39(List segmentGroup39) {
        this.segmentGroup39 = segmentGroup39;  return this;
    }

    public SegmentGroup40 getSegmentGroup40() {
        return segmentGroup40;
    }

    public SegmentGroup38 setSegmentGroup40(SegmentGroup40 segmentGroup40) {
        this.segmentGroup40 = segmentGroup40;  return this;
    }

    public List getSegmentGroup41() {
        return segmentGroup41;
    }

    public SegmentGroup38 setSegmentGroup41(List segmentGroup41) {
        this.segmentGroup41 = segmentGroup41;  return this;
    }

    public List getSegmentGroup42() {
        return segmentGroup42;
    }

    public SegmentGroup38 setSegmentGroup42(List segmentGroup42) {
        this.segmentGroup42 = segmentGroup42;  return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy