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

org.milyn.edi.unedifact.d98a.MEDRPT.SegmentGroup14 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.d98a.MEDRPT;

import java.io.Serializable;    
import org.milyn.smooks.edi.EDIWritable;    
import org.milyn.edi.unedifact.d98a.common.SequenceDetails;    
import java.util.List;    
import org.milyn.edi.unedifact.d98a.common.ItemDescription;    
import org.milyn.edi.unedifact.d98a.common.ProcessIdentification;    
import org.milyn.edi.unedifact.d98a.common.Reference;    
import org.milyn.edi.unedifact.d98a.common.Quantity;    
import org.milyn.edi.unedifact.d98a.common.DateTimePeriod;    
import org.milyn.edi.unedifact.d98a.common.Package;    
import org.milyn.edi.unedifact.d98a.common.FreeText;    
import org.milyn.edi.unedifact.d98a.common.DetailsOfTransport;    
import org.milyn.edi.unedifact.d98a.common.HandlingInstructions;    
import org.milyn.edi.unedifact.d98a.common.PlaceLocationIdentification;    
import org.milyn.edi.unedifact.d98a.common.Address;    
import java.io.Writer;    
import org.milyn.edisax.model.internal.Delimiters;    
import java.io.IOException;    

public class SegmentGroup14 implements Serializable, EDIWritable {

    private static final long serialVersionUID = 1L;

    private SequenceDetails sequenceDetails;
    private List itemDescription;
    private List processIdentification;
    private List reference;
    private Quantity quantity;
    private List dateTimePeriod;
    private Package _package;
    private List freeText;
    private List detailsOfTransport;
    private List handlingInstructions;
    private List placeLocationIdentification;
    private List
address; private List segmentGroup15; public void write(Writer writer, Delimiters delimiters) throws IOException { Writer nodeWriter = writer; if(sequenceDetails != null) { nodeWriter.write("SEQ"); nodeWriter.write(delimiters.getField()); sequenceDetails.write(nodeWriter, delimiters); } if(itemDescription != null && !itemDescription.isEmpty()) { for(ItemDescription itemDescriptionInst : itemDescription) { nodeWriter.write("IMD"); nodeWriter.write(delimiters.getField()); itemDescriptionInst.write(nodeWriter, delimiters); } } if(processIdentification != null && !processIdentification.isEmpty()) { for(ProcessIdentification processIdentificationInst : processIdentification) { nodeWriter.write("PRC"); nodeWriter.write(delimiters.getField()); processIdentificationInst.write(nodeWriter, delimiters); } } if(reference != null && !reference.isEmpty()) { for(Reference referenceInst : reference) { nodeWriter.write("RFF"); nodeWriter.write(delimiters.getField()); referenceInst.write(nodeWriter, delimiters); } } if(quantity != null) { nodeWriter.write("QTY"); nodeWriter.write(delimiters.getField()); quantity.write(nodeWriter, delimiters); } if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) { for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) { nodeWriter.write("DTM"); nodeWriter.write(delimiters.getField()); dateTimePeriodInst.write(nodeWriter, delimiters); } } if(_package != null) { nodeWriter.write("PAC"); nodeWriter.write(delimiters.getField()); _package.write(nodeWriter, delimiters); } if(freeText != null && !freeText.isEmpty()) { for(FreeText freeTextInst : freeText) { nodeWriter.write("FTX"); nodeWriter.write(delimiters.getField()); freeTextInst.write(nodeWriter, delimiters); } } if(detailsOfTransport != null && !detailsOfTransport.isEmpty()) { for(DetailsOfTransport detailsOfTransportInst : detailsOfTransport) { nodeWriter.write("TDT"); nodeWriter.write(delimiters.getField()); detailsOfTransportInst.write(nodeWriter, delimiters); } } if(handlingInstructions != null && !handlingInstructions.isEmpty()) { for(HandlingInstructions handlingInstructionsInst : handlingInstructions) { nodeWriter.write("HAN"); nodeWriter.write(delimiters.getField()); handlingInstructionsInst.write(nodeWriter, delimiters); } } if(placeLocationIdentification != null && !placeLocationIdentification.isEmpty()) { for(PlaceLocationIdentification placeLocationIdentificationInst : placeLocationIdentification) { nodeWriter.write("LOC"); nodeWriter.write(delimiters.getField()); placeLocationIdentificationInst.write(nodeWriter, delimiters); } } if(address != null && !address.isEmpty()) { for(Address addressInst : address) { nodeWriter.write("ADR"); nodeWriter.write(delimiters.getField()); addressInst.write(nodeWriter, delimiters); } } if(segmentGroup15 != null && !segmentGroup15.isEmpty()) { for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) { segmentGroup15Inst.write(nodeWriter, delimiters); } } } public SequenceDetails getSequenceDetails() { return sequenceDetails; } public SegmentGroup14 setSequenceDetails(SequenceDetails sequenceDetails) { this.sequenceDetails = sequenceDetails; return this; } public List getItemDescription() { return itemDescription; } public SegmentGroup14 setItemDescription(List itemDescription) { this.itemDescription = itemDescription; return this; } public List getProcessIdentification() { return processIdentification; } public SegmentGroup14 setProcessIdentification(List processIdentification) { this.processIdentification = processIdentification; return this; } public List getReference() { return reference; } public SegmentGroup14 setReference(List reference) { this.reference = reference; return this; } public Quantity getQuantity() { return quantity; } public SegmentGroup14 setQuantity(Quantity quantity) { this.quantity = quantity; return this; } public List getDateTimePeriod() { return dateTimePeriod; } public SegmentGroup14 setDateTimePeriod(List dateTimePeriod) { this.dateTimePeriod = dateTimePeriod; return this; } public Package get_package() { return _package; } public SegmentGroup14 set_package(Package _package) { this._package = _package; return this; } public List getFreeText() { return freeText; } public SegmentGroup14 setFreeText(List freeText) { this.freeText = freeText; return this; } public List getDetailsOfTransport() { return detailsOfTransport; } public SegmentGroup14 setDetailsOfTransport(List detailsOfTransport) { this.detailsOfTransport = detailsOfTransport; return this; } public List getHandlingInstructions() { return handlingInstructions; } public SegmentGroup14 setHandlingInstructions(List handlingInstructions) { this.handlingInstructions = handlingInstructions; return this; } public List getPlaceLocationIdentification() { return placeLocationIdentification; } public SegmentGroup14 setPlaceLocationIdentification(List placeLocationIdentification) { this.placeLocationIdentification = placeLocationIdentification; return this; } public List
getAddress() { return address; } public SegmentGroup14 setAddress(List
address) { this.address = address; return this; } public List getSegmentGroup15() { return segmentGroup15; } public SegmentGroup14 setSegmentGroup15(List segmentGroup15) { this.segmentGroup15 = segmentGroup15; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy