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

org.milyn.edi.unedifact.d99b.CONDRA.SegmentGroup6 Maven / Gradle / Ivy

The newest version!
/**
 * This class was generated by Smooks EJC (http://www.smooks.org).
 */
package org.milyn.edi.unedifact.d99b.CONDRA;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d99b.common.BIIStructureIdentification;    
import java.util.List;    
import org.milyn.edi.unedifact.d99b.common.GISGeneralIndicator;    
import org.milyn.edi.unedifact.d99b.common.DTMDateTimePeriod;    
import org.milyn.edi.unedifact.d99b.common.IMDItemDescription;    
import org.milyn.edi.unedifact.d99b.common.QTYQuantity;    
import org.milyn.edi.unedifact.d99b.common.CTAContactInformation;    
import org.milyn.edi.unedifact.d99b.common.AUTAuthenticationResult;    
import org.milyn.edi.unedifact.d99b.common.AGRAgreementIdentification;    
import org.milyn.edi.unedifact.d99b.common.INPPartiesAndInstruction;    
import org.milyn.edi.unedifact.d99b.common.RCSRequirementsAndConditions;    
import org.milyn.edi.unedifact.d99b.common.LOCPlaceLocationIdentification;    
import org.milyn.edi.unedifact.d99b.common.DIMDimensions;    
import org.milyn.edi.unedifact.d99b.common.MEAMeasurements;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup6 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private BIIStructureIdentification bIIStructureIdentification;
    private List gISGeneralIndicator;
    private List dTMDateTimePeriod;
    private IMDItemDescription iMDItemDescription;
    private List qTYQuantity;
    private CTAContactInformation cTAContactInformation;
    private List aUTAuthenticationResult;
    private List aGRAgreementIdentification;
    private List iNPPartiesAndInstruction;
    private List rCSRequirementsAndConditions;
    private List lOCPlaceLocationIdentification;
    private List dIMDimensions;
    private MEAMeasurements mEAMeasurements;
    private List segmentGroup7;

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

        if(bIIStructureIdentification != null) {
            nodeWriter.write("BII");
            nodeWriter.write(delimiters.getField());
            bIIStructureIdentification.write(nodeWriter, delimiters);
        }
        if(gISGeneralIndicator != null && !gISGeneralIndicator.isEmpty()) {
            for(GISGeneralIndicator gISGeneralIndicatorInst : gISGeneralIndicator) {
                nodeWriter.write("GIS");
                nodeWriter.write(delimiters.getField());
                gISGeneralIndicatorInst.write(nodeWriter, delimiters);
            }
        }
        if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
            for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
                nodeWriter.write("DTM");
                nodeWriter.write(delimiters.getField());
                dTMDateTimePeriodInst.write(nodeWriter, delimiters);
            }
        }
        if(iMDItemDescription != null) {
            nodeWriter.write("IMD");
            nodeWriter.write(delimiters.getField());
            iMDItemDescription.write(nodeWriter, delimiters);
        }
        if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
            for(QTYQuantity qTYQuantityInst : qTYQuantity) {
                nodeWriter.write("QTY");
                nodeWriter.write(delimiters.getField());
                qTYQuantityInst.write(nodeWriter, delimiters);
            }
        }
        if(cTAContactInformation != null) {
            nodeWriter.write("CTA");
            nodeWriter.write(delimiters.getField());
            cTAContactInformation.write(nodeWriter, delimiters);
        }
        if(aUTAuthenticationResult != null && !aUTAuthenticationResult.isEmpty()) {
            for(AUTAuthenticationResult aUTAuthenticationResultInst : aUTAuthenticationResult) {
                nodeWriter.write("AUT");
                nodeWriter.write(delimiters.getField());
                aUTAuthenticationResultInst.write(nodeWriter, delimiters);
            }
        }
        if(aGRAgreementIdentification != null && !aGRAgreementIdentification.isEmpty()) {
            for(AGRAgreementIdentification aGRAgreementIdentificationInst : aGRAgreementIdentification) {
                nodeWriter.write("AGR");
                nodeWriter.write(delimiters.getField());
                aGRAgreementIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(iNPPartiesAndInstruction != null && !iNPPartiesAndInstruction.isEmpty()) {
            for(INPPartiesAndInstruction iNPPartiesAndInstructionInst : iNPPartiesAndInstruction) {
                nodeWriter.write("INP");
                nodeWriter.write(delimiters.getField());
                iNPPartiesAndInstructionInst.write(nodeWriter, delimiters);
            }
        }
        if(rCSRequirementsAndConditions != null && !rCSRequirementsAndConditions.isEmpty()) {
            for(RCSRequirementsAndConditions rCSRequirementsAndConditionsInst : rCSRequirementsAndConditions) {
                nodeWriter.write("RCS");
                nodeWriter.write(delimiters.getField());
                rCSRequirementsAndConditionsInst.write(nodeWriter, delimiters);
            }
        }
        if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
            for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
                nodeWriter.write("LOC");
                nodeWriter.write(delimiters.getField());
                lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
            }
        }
        if(dIMDimensions != null && !dIMDimensions.isEmpty()) {
            for(DIMDimensions dIMDimensionsInst : dIMDimensions) {
                nodeWriter.write("DIM");
                nodeWriter.write(delimiters.getField());
                dIMDimensionsInst.write(nodeWriter, delimiters);
            }
        }
        if(mEAMeasurements != null) {
            nodeWriter.write("MEA");
            nodeWriter.write(delimiters.getField());
            mEAMeasurements.write(nodeWriter, delimiters);
        }
        if(segmentGroup7 != null && !segmentGroup7.isEmpty()) {
            for(SegmentGroup7 segmentGroup7Inst : segmentGroup7) {
                segmentGroup7Inst.write(nodeWriter, delimiters);
            }
        }
    }

    public BIIStructureIdentification getBIIStructureIdentification() {
        return bIIStructureIdentification;
    }

    public SegmentGroup6 setBIIStructureIdentification(BIIStructureIdentification bIIStructureIdentification) {
        this.bIIStructureIdentification = bIIStructureIdentification;  return this;
    }

    public List getGISGeneralIndicator() {
        return gISGeneralIndicator;
    }

    public SegmentGroup6 setGISGeneralIndicator(List gISGeneralIndicator) {
        this.gISGeneralIndicator = gISGeneralIndicator;  return this;
    }

    public List getDTMDateTimePeriod() {
        return dTMDateTimePeriod;
    }

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

    public IMDItemDescription getIMDItemDescription() {
        return iMDItemDescription;
    }

    public SegmentGroup6 setIMDItemDescription(IMDItemDescription iMDItemDescription) {
        this.iMDItemDescription = iMDItemDescription;  return this;
    }

    public List getQTYQuantity() {
        return qTYQuantity;
    }

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

    public CTAContactInformation getCTAContactInformation() {
        return cTAContactInformation;
    }

    public SegmentGroup6 setCTAContactInformation(CTAContactInformation cTAContactInformation) {
        this.cTAContactInformation = cTAContactInformation;  return this;
    }

    public List getAUTAuthenticationResult() {
        return aUTAuthenticationResult;
    }

    public SegmentGroup6 setAUTAuthenticationResult(List aUTAuthenticationResult) {
        this.aUTAuthenticationResult = aUTAuthenticationResult;  return this;
    }

    public List getAGRAgreementIdentification() {
        return aGRAgreementIdentification;
    }

    public SegmentGroup6 setAGRAgreementIdentification(List aGRAgreementIdentification) {
        this.aGRAgreementIdentification = aGRAgreementIdentification;  return this;
    }

    public List getINPPartiesAndInstruction() {
        return iNPPartiesAndInstruction;
    }

    public SegmentGroup6 setINPPartiesAndInstruction(List iNPPartiesAndInstruction) {
        this.iNPPartiesAndInstruction = iNPPartiesAndInstruction;  return this;
    }

    public List getRCSRequirementsAndConditions() {
        return rCSRequirementsAndConditions;
    }

    public SegmentGroup6 setRCSRequirementsAndConditions(List rCSRequirementsAndConditions) {
        this.rCSRequirementsAndConditions = rCSRequirementsAndConditions;  return this;
    }

    public List getLOCPlaceLocationIdentification() {
        return lOCPlaceLocationIdentification;
    }

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

    public List getDIMDimensions() {
        return dIMDimensions;
    }

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

    public MEAMeasurements getMEAMeasurements() {
        return mEAMeasurements;
    }

    public SegmentGroup6 setMEAMeasurements(MEAMeasurements mEAMeasurements) {
        this.mEAMeasurements = mEAMeasurements;  return this;
    }

    public List getSegmentGroup7() {
        return segmentGroup7;
    }

    public SegmentGroup6 setSegmentGroup7(List segmentGroup7) {
        this.segmentGroup7 = segmentGroup7;  return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy