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

org.milyn.edi.unedifact.d02a.MEDREQ.SegmentGroup13 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.d02a.MEDREQ;

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

public class SegmentGroup13 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 Priority priority;
    private List freeText;
    private List detailsOfTransport;
    private List handlingInstructions;
    private List placeLocationIdentification;
    private List
address; private List segmentGroup14; 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(priority != null) { nodeWriter.write("PTY"); nodeWriter.write(delimiters.getField()); priority.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(segmentGroup14 != null && !segmentGroup14.isEmpty()) { for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) { segmentGroup14Inst.write(nodeWriter, delimiters); } } } public SequenceDetails getSequenceDetails() { return sequenceDetails; } public SegmentGroup13 setSequenceDetails(SequenceDetails sequenceDetails) { this.sequenceDetails = sequenceDetails; return this; } public List getItemDescription() { return itemDescription; } public SegmentGroup13 setItemDescription(List itemDescription) { this.itemDescription = itemDescription; return this; } public List getProcessIdentification() { return processIdentification; } public SegmentGroup13 setProcessIdentification(List processIdentification) { this.processIdentification = processIdentification; return this; } public List getReference() { return reference; } public SegmentGroup13 setReference(List reference) { this.reference = reference; return this; } public Quantity getQuantity() { return quantity; } public SegmentGroup13 setQuantity(Quantity quantity) { this.quantity = quantity; return this; } public List getDateTimePeriod() { return dateTimePeriod; } public SegmentGroup13 setDateTimePeriod(List dateTimePeriod) { this.dateTimePeriod = dateTimePeriod; return this; } public Package get_package() { return _package; } public SegmentGroup13 set_package(Package _package) { this._package = _package; return this; } public Priority getPriority() { return priority; } public SegmentGroup13 setPriority(Priority priority) { this.priority = priority; return this; } public List getFreeText() { return freeText; } public SegmentGroup13 setFreeText(List freeText) { this.freeText = freeText; return this; } public List getDetailsOfTransport() { return detailsOfTransport; } public SegmentGroup13 setDetailsOfTransport(List detailsOfTransport) { this.detailsOfTransport = detailsOfTransport; return this; } public List getHandlingInstructions() { return handlingInstructions; } public SegmentGroup13 setHandlingInstructions(List handlingInstructions) { this.handlingInstructions = handlingInstructions; return this; } public List getPlaceLocationIdentification() { return placeLocationIdentification; } public SegmentGroup13 setPlaceLocationIdentification(List placeLocationIdentification) { this.placeLocationIdentification = placeLocationIdentification; return this; } public List
getAddress() { return address; } public SegmentGroup13 setAddress(List
address) { this.address = address; return this; } public List getSegmentGroup14() { return segmentGroup14; } public SegmentGroup13 setSegmentGroup14(List segmentGroup14) { this.segmentGroup14 = segmentGroup14; return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy