All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.milyn.edi.unedifact.d05a.PRICAT.SegmentGroup36 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d05a.PRICAT;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d05a.common.LineItem;
import java.util.List;
import org.milyn.edi.unedifact.d05a.common.AdditionalProductId;
import org.milyn.edi.unedifact.d05a.common.ItemDescription;
import org.milyn.edi.unedifact.d05a.common.Measurements;
import org.milyn.edi.unedifact.d05a.common.Quantity;
import org.milyn.edi.unedifact.d05a.common.HandlingInstructions;
import org.milyn.edi.unedifact.d05a.common.AdditionalInformation;
import org.milyn.edi.unedifact.d05a.common.DateTimePeriod;
import org.milyn.edi.unedifact.d05a.common.Reference;
import org.milyn.edi.unedifact.d05a.common.PlaceLocationIdentification;
import org.milyn.edi.unedifact.d05a.common.DocumentMessageDetails;
import org.milyn.edi.unedifact.d05a.common.Priority;
import org.milyn.edi.unedifact.d05a.common.FreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup36 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private LineItem lineItem;
private List additionalProductId;
private List itemDescription;
private List measurements;
private List quantity;
private List handlingInstructions;
private List additionalInformation;
private List dateTimePeriod;
private List reference;
private PlaceLocationIdentification placeLocationIdentification;
private DocumentMessageDetails documentMessageDetails;
private List priority;
private List freeText;
private List segmentGroup37;
private List segmentGroup38;
private List segmentGroup39;
private List segmentGroup40;
private List segmentGroup41;
private List segmentGroup47;
private List segmentGroup48;
private List segmentGroup49;
private List segmentGroup50;
private List segmentGroup51;
private List segmentGroup52;
private List segmentGroup54;
private List segmentGroup55;
private List segmentGroup56;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(lineItem != null) {
nodeWriter.write("LIN");
nodeWriter.write(delimiters.getField());
lineItem.write(nodeWriter, delimiters);
}
if(additionalProductId != null && !additionalProductId.isEmpty()) {
for(AdditionalProductId additionalProductIdInst : additionalProductId) {
nodeWriter.write("PIA");
nodeWriter.write(delimiters.getField());
additionalProductIdInst.write(nodeWriter, delimiters);
}
}
if(itemDescription != null && !itemDescription.isEmpty()) {
for(ItemDescription itemDescriptionInst : itemDescription) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
itemDescriptionInst.write(nodeWriter, delimiters);
}
}
if(measurements != null && !measurements.isEmpty()) {
for(Measurements measurementsInst : measurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
measurementsInst.write(nodeWriter, delimiters);
}
}
if(quantity != null && !quantity.isEmpty()) {
for(Quantity quantityInst : quantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
quantityInst.write(nodeWriter, delimiters);
}
}
if(handlingInstructions != null && !handlingInstructions.isEmpty()) {
for(HandlingInstructions handlingInstructionsInst : handlingInstructions) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
handlingInstructionsInst.write(nodeWriter, delimiters);
}
}
if(additionalInformation != null && !additionalInformation.isEmpty()) {
for(AdditionalInformation additionalInformationInst : additionalInformation) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
additionalInformationInst.write(nodeWriter, delimiters);
}
}
if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) {
for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(reference != null && !reference.isEmpty()) {
for(Reference referenceInst : reference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
referenceInst.write(nodeWriter, delimiters);
}
}
if(placeLocationIdentification != null) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
placeLocationIdentification.write(nodeWriter, delimiters);
}
if(documentMessageDetails != null) {
nodeWriter.write("DOC");
nodeWriter.write(delimiters.getField());
documentMessageDetails.write(nodeWriter, delimiters);
}
if(priority != null && !priority.isEmpty()) {
for(Priority priorityInst : priority) {
nodeWriter.write("PTY");
nodeWriter.write(delimiters.getField());
priorityInst.write(nodeWriter, delimiters);
}
}
if(freeText != null && !freeText.isEmpty()) {
for(FreeText freeTextInst : freeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
freeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup37 != null && !segmentGroup37.isEmpty()) {
for(SegmentGroup37 segmentGroup37Inst : segmentGroup37) {
segmentGroup37Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup38 != null && !segmentGroup38.isEmpty()) {
for(SegmentGroup38 segmentGroup38Inst : segmentGroup38) {
segmentGroup38Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
segmentGroup39Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup40 != null && !segmentGroup40.isEmpty()) {
for(SegmentGroup40 segmentGroup40Inst : segmentGroup40) {
segmentGroup40Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup41 != null && !segmentGroup41.isEmpty()) {
for(SegmentGroup41 segmentGroup41Inst : segmentGroup41) {
segmentGroup41Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup47 != null && !segmentGroup47.isEmpty()) {
for(SegmentGroup47 segmentGroup47Inst : segmentGroup47) {
segmentGroup47Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup48 != null && !segmentGroup48.isEmpty()) {
for(SegmentGroup48 segmentGroup48Inst : segmentGroup48) {
segmentGroup48Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup49 != null && !segmentGroup49.isEmpty()) {
for(SegmentGroup49 segmentGroup49Inst : segmentGroup49) {
segmentGroup49Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup50 != null && !segmentGroup50.isEmpty()) {
for(SegmentGroup50 segmentGroup50Inst : segmentGroup50) {
segmentGroup50Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup51 != null && !segmentGroup51.isEmpty()) {
for(SegmentGroup51 segmentGroup51Inst : segmentGroup51) {
segmentGroup51Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup52 != null && !segmentGroup52.isEmpty()) {
for(SegmentGroup52 segmentGroup52Inst : segmentGroup52) {
segmentGroup52Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup54 != null && !segmentGroup54.isEmpty()) {
for(SegmentGroup54 segmentGroup54Inst : segmentGroup54) {
segmentGroup54Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup55 != null && !segmentGroup55.isEmpty()) {
for(SegmentGroup55 segmentGroup55Inst : segmentGroup55) {
segmentGroup55Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup56 != null && !segmentGroup56.isEmpty()) {
for(SegmentGroup56 segmentGroup56Inst : segmentGroup56) {
segmentGroup56Inst.write(nodeWriter, delimiters);
}
}
}
public LineItem getLineItem() {
return lineItem;
}
public SegmentGroup36 setLineItem(LineItem lineItem) {
this.lineItem = lineItem; return this;
}
public List getAdditionalProductId() {
return additionalProductId;
}
public SegmentGroup36 setAdditionalProductId(List additionalProductId) {
this.additionalProductId = additionalProductId; return this;
}
public List getItemDescription() {
return itemDescription;
}
public SegmentGroup36 setItemDescription(List itemDescription) {
this.itemDescription = itemDescription; return this;
}
public List getMeasurements() {
return measurements;
}
public SegmentGroup36 setMeasurements(List measurements) {
this.measurements = measurements; return this;
}
public List getQuantity() {
return quantity;
}
public SegmentGroup36 setQuantity(List quantity) {
this.quantity = quantity; return this;
}
public List getHandlingInstructions() {
return handlingInstructions;
}
public SegmentGroup36 setHandlingInstructions(List handlingInstructions) {
this.handlingInstructions = handlingInstructions; return this;
}
public List getAdditionalInformation() {
return additionalInformation;
}
public SegmentGroup36 setAdditionalInformation(List additionalInformation) {
this.additionalInformation = additionalInformation; return this;
}
public List getDateTimePeriod() {
return dateTimePeriod;
}
public SegmentGroup36 setDateTimePeriod(List dateTimePeriod) {
this.dateTimePeriod = dateTimePeriod; return this;
}
public List getReference() {
return reference;
}
public SegmentGroup36 setReference(List reference) {
this.reference = reference; return this;
}
public PlaceLocationIdentification getPlaceLocationIdentification() {
return placeLocationIdentification;
}
public SegmentGroup36 setPlaceLocationIdentification(PlaceLocationIdentification placeLocationIdentification) {
this.placeLocationIdentification = placeLocationIdentification; return this;
}
public DocumentMessageDetails getDocumentMessageDetails() {
return documentMessageDetails;
}
public SegmentGroup36 setDocumentMessageDetails(DocumentMessageDetails documentMessageDetails) {
this.documentMessageDetails = documentMessageDetails; return this;
}
public List getPriority() {
return priority;
}
public SegmentGroup36 setPriority(List priority) {
this.priority = priority; return this;
}
public List getFreeText() {
return freeText;
}
public SegmentGroup36 setFreeText(List freeText) {
this.freeText = freeText; return this;
}
public List getSegmentGroup37() {
return segmentGroup37;
}
public SegmentGroup36 setSegmentGroup37(List segmentGroup37) {
this.segmentGroup37 = segmentGroup37; return this;
}
public List getSegmentGroup38() {
return segmentGroup38;
}
public SegmentGroup36 setSegmentGroup38(List segmentGroup38) {
this.segmentGroup38 = segmentGroup38; return this;
}
public List getSegmentGroup39() {
return segmentGroup39;
}
public SegmentGroup36 setSegmentGroup39(List segmentGroup39) {
this.segmentGroup39 = segmentGroup39; return this;
}
public List getSegmentGroup40() {
return segmentGroup40;
}
public SegmentGroup36 setSegmentGroup40(List segmentGroup40) {
this.segmentGroup40 = segmentGroup40; return this;
}
public List getSegmentGroup41() {
return segmentGroup41;
}
public SegmentGroup36 setSegmentGroup41(List segmentGroup41) {
this.segmentGroup41 = segmentGroup41; return this;
}
public List getSegmentGroup47() {
return segmentGroup47;
}
public SegmentGroup36 setSegmentGroup47(List segmentGroup47) {
this.segmentGroup47 = segmentGroup47; return this;
}
public List getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup36 setSegmentGroup48(List segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
public List getSegmentGroup49() {
return segmentGroup49;
}
public SegmentGroup36 setSegmentGroup49(List segmentGroup49) {
this.segmentGroup49 = segmentGroup49; return this;
}
public List getSegmentGroup50() {
return segmentGroup50;
}
public SegmentGroup36 setSegmentGroup50(List segmentGroup50) {
this.segmentGroup50 = segmentGroup50; return this;
}
public List getSegmentGroup51() {
return segmentGroup51;
}
public SegmentGroup36 setSegmentGroup51(List segmentGroup51) {
this.segmentGroup51 = segmentGroup51; return this;
}
public List getSegmentGroup52() {
return segmentGroup52;
}
public SegmentGroup36 setSegmentGroup52(List segmentGroup52) {
this.segmentGroup52 = segmentGroup52; return this;
}
public List getSegmentGroup54() {
return segmentGroup54;
}
public SegmentGroup36 setSegmentGroup54(List segmentGroup54) {
this.segmentGroup54 = segmentGroup54; return this;
}
public List getSegmentGroup55() {
return segmentGroup55;
}
public SegmentGroup36 setSegmentGroup55(List segmentGroup55) {
this.segmentGroup55 = segmentGroup55; return this;
}
public List getSegmentGroup56() {
return segmentGroup56;
}
public SegmentGroup36 setSegmentGroup56(List segmentGroup56) {
this.segmentGroup56 = segmentGroup56; return this;
}
}