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

org.milyn.edi.unedifact.d09b.IPPOMO.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.d09b.IPPOMO;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d09b.common.PNAPartyIdentification;    
import org.milyn.edi.unedifact.d09b.common.GEIProcessingInformation;    
import java.util.List;    
import org.milyn.edi.unedifact.d09b.common.ATTAttribute;    
import org.milyn.edi.unedifact.d09b.common.PCDPercentageDetails;    
import org.milyn.edi.unedifact.d09b.common.RFFReference;    
import org.milyn.edi.unedifact.d09b.common.EMPEmploymentDetails;    
import org.milyn.edi.unedifact.d09b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d09b.common.MEMMembershipDetails;    
import org.milyn.edi.unedifact.d09b.common.QTYQuantity;    
import org.milyn.edi.unedifact.d09b.common.RELRelationship;    
import org.milyn.edi.unedifact.d09b.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d09b.common.QRSQueryAndResponse;    
import org.milyn.edi.unedifact.d09b.common.FTXFreeText;    
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 PNAPartyIdentification pNAPartyIdentification;
    private GEIProcessingInformation gEIProcessingInformation;
    private List aTTAttribute;
    private PCDPercentageDetails pCDPercentageDetails;
    private List rFFReference;
    private List eMPEmploymentDetails;
    private List dTMDateTimePeriod;
    private List mEMMembershipDetails;
    private List qTYQuantity;
    private RELRelationship rELRelationship;
    private LOCPlaceLocationIdentification lOCPlaceLocationIdentification;
    private List qRSQueryAndResponse;
    private List fTXFreeText;
    private List segmentGroup8;
    private List segmentGroup9;
    private List segmentGroup10;
    private List segmentGroup12;

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

        if(pNAPartyIdentification != null) {
            nodeWriter.write("PNA");
            nodeWriter.write(delimiters.getField());
            pNAPartyIdentification.write(nodeWriter, delimiters);
        }
        if(gEIProcessingInformation != null) {
            nodeWriter.write("GEI");
            nodeWriter.write(delimiters.getField());
            gEIProcessingInformation.write(nodeWriter, delimiters);
        }
        if(aTTAttribute != null && !aTTAttribute.isEmpty()) {
            for(ATTAttribute aTTAttributeInst : aTTAttribute) {
                nodeWriter.write("ATT");
                nodeWriter.write(delimiters.getField());
                aTTAttributeInst.write(nodeWriter, delimiters);
            }
        }
        if(pCDPercentageDetails != null) {
            nodeWriter.write("PCD");
            nodeWriter.write(delimiters.getField());
            pCDPercentageDetails.write(nodeWriter, delimiters);
        }
        if(rFFReference != null && !rFFReference.isEmpty()) {
            for(RFFReference rFFReferenceInst : rFFReference) {
                nodeWriter.write("RFF");
                nodeWriter.write(delimiters.getField());
                rFFReferenceInst.write(nodeWriter, delimiters);
            }
        }
        if(eMPEmploymentDetails != null && !eMPEmploymentDetails.isEmpty()) {
            for(EMPEmploymentDetails eMPEmploymentDetailsInst : eMPEmploymentDetails) {
                nodeWriter.write("EMP");
                nodeWriter.write(delimiters.getField());
                eMPEmploymentDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(mEMMembershipDetails != null && !mEMMembershipDetails.isEmpty()) {
            for(MEMMembershipDetails mEMMembershipDetailsInst : mEMMembershipDetails) {
                nodeWriter.write("MEM");
                nodeWriter.write(delimiters.getField());
                mEMMembershipDetailsInst.write(nodeWriter, delimiters);
            }
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(rELRelationship != null) {
            nodeWriter.write("REL");
            nodeWriter.write(delimiters.getField());
            rELRelationship.write(nodeWriter, delimiters);
        }
        if(lOCPlaceLocationIdentification != null) {
            nodeWriter.write("LOC");
            nodeWriter.write(delimiters.getField());
            lOCPlaceLocationIdentification.write(nodeWriter, delimiters);
        }
        if(qRSQueryAndResponse != null && !qRSQueryAndResponse.isEmpty()) {
            for(QRSQueryAndResponse qRSQueryAndResponseInst : qRSQueryAndResponse) {
                nodeWriter.write("QRS");
                nodeWriter.write(delimiters.getField());
                qRSQueryAndResponseInst.write(nodeWriter, delimiters);
            }
        }
        if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
            for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
                nodeWriter.write("FTX");
                nodeWriter.write(delimiters.getField());
                fTXFreeTextInst.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);
            }
        }
        if(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
            for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
                segmentGroup12Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public PNAPartyIdentification getPNAPartyIdentification() {
        return pNAPartyIdentification;
    }

    public SegmentGroup7 setPNAPartyIdentification(PNAPartyIdentification pNAPartyIdentification) {
        this.pNAPartyIdentification = pNAPartyIdentification;  return this;
    }

    public GEIProcessingInformation getGEIProcessingInformation() {
        return gEIProcessingInformation;
    }

    public SegmentGroup7 setGEIProcessingInformation(GEIProcessingInformation gEIProcessingInformation) {
        this.gEIProcessingInformation = gEIProcessingInformation;  return this;
    }

    public List getATTAttribute() {
        return aTTAttribute;
    }

    public SegmentGroup7 setATTAttribute(List aTTAttribute) {
        this.aTTAttribute = aTTAttribute;  return this;
    }

    public PCDPercentageDetails getPCDPercentageDetails() {
        return pCDPercentageDetails;
    }

    public SegmentGroup7 setPCDPercentageDetails(PCDPercentageDetails pCDPercentageDetails) {
        this.pCDPercentageDetails = pCDPercentageDetails;  return this;
    }

    public List getRFFReference() {
        return rFFReference;
    }

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

    public List getEMPEmploymentDetails() {
        return eMPEmploymentDetails;
    }

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

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public List getMEMMembershipDetails() {
        return mEMMembershipDetails;
    }

    public SegmentGroup7 setMEMMembershipDetails(List mEMMembershipDetails) {
        this.mEMMembershipDetails = mEMMembershipDetails;  return this;
    }

    public List getQTYQuantity() {
        return qTYQuantity;
    }

    public SegmentGroup7 setQTYQuantity(List qTYQuantity) {
        this.qTYQuantity = qTYQuantity;  return this;
    }

    public RELRelationship getRELRelationship() {
        return rELRelationship;
    }

    public SegmentGroup7 setRELRelationship(RELRelationship rELRelationship) {
        this.rELRelationship = rELRelationship;  return this;
    }

    public LOCPlaceLocationIdentification getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

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

    public List getQRSQueryAndResponse() {
        return qRSQueryAndResponse;
    }

    public SegmentGroup7 setQRSQueryAndResponse(List qRSQueryAndResponse) {
        this.qRSQueryAndResponse = qRSQueryAndResponse;  return this;
    }

    public List getFTXFreeText() {
        return fTXFreeText;
    }

    public SegmentGroup7 setFTXFreeText(List fTXFreeText) {
        this.fTXFreeText = fTXFreeText;  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;
    }

    public List getSegmentGroup12() {
        return segmentGroup12;
    }

    public SegmentGroup7 setSegmentGroup12(List segmentGroup12) {
        this.segmentGroup12 = segmentGroup12;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy