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.d06b.ORDCHG.SegmentGroup28 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d06b.ORDCHG;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d06b.common.LineItem;
import java.util.List;
import org.milyn.edi.unedifact.d06b.common.AdditionalProductId;
import org.milyn.edi.unedifact.d06b.common.ItemDescription;
import org.milyn.edi.unedifact.d06b.common.Measurements;
import org.milyn.edi.unedifact.d06b.common.Quantity;
import org.milyn.edi.unedifact.d06b.common.PercentageDetails;
import org.milyn.edi.unedifact.d06b.common.AdditionalInformation;
import org.milyn.edi.unedifact.d06b.common.DateTimePeriod;
import org.milyn.edi.unedifact.d06b.common.MonetaryAmount;
import org.milyn.edi.unedifact.d06b.common.ProcessingInformation;
import org.milyn.edi.unedifact.d06b.common.GoodsIdentityNumber;
import org.milyn.edi.unedifact.d06b.common.RelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d06b.common.QuantityVariances;
import org.milyn.edi.unedifact.d06b.common.DocumentMessageDetails;
import org.milyn.edi.unedifact.d06b.common.PaymentInstructions;
import org.milyn.edi.unedifact.d06b.common.MaintenanceOperationDetails;
import org.milyn.edi.unedifact.d06b.common.FreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup28 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 percentageDetails;
private List additionalInformation;
private List dateTimePeriod;
private List monetaryAmount;
private List processingInformation;
private List goodsIdentityNumber;
private List relatedIdentificationNumbers;
private QuantityVariances quantityVariances;
private List documentMessageDetails;
private PaymentInstructions paymentInstructions;
private List maintenanceOperationDetails;
private List freeText;
private List segmentGroup29;
private List segmentGroup30;
private SegmentGroup32 segmentGroup32;
private List segmentGroup33;
private List segmentGroup34;
private List segmentGroup35;
private List segmentGroup38;
private List segmentGroup39;
private List segmentGroup40;
private List segmentGroup44;
private List segmentGroup50;
private List segmentGroup52;
private List segmentGroup53;
private List segmentGroup54;
private List segmentGroup56;
private List segmentGroup57;
private List segmentGroup59;
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(percentageDetails != null && !percentageDetails.isEmpty()) {
for(PercentageDetails percentageDetailsInst : percentageDetails) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
percentageDetailsInst.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(monetaryAmount != null && !monetaryAmount.isEmpty()) {
for(MonetaryAmount monetaryAmountInst : monetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
monetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(processingInformation != null && !processingInformation.isEmpty()) {
for(ProcessingInformation processingInformationInst : processingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
processingInformationInst.write(nodeWriter, delimiters);
}
}
if(goodsIdentityNumber != null && !goodsIdentityNumber.isEmpty()) {
for(GoodsIdentityNumber goodsIdentityNumberInst : goodsIdentityNumber) {
nodeWriter.write("GIN");
nodeWriter.write(delimiters.getField());
goodsIdentityNumberInst.write(nodeWriter, delimiters);
}
}
if(relatedIdentificationNumbers != null && !relatedIdentificationNumbers.isEmpty()) {
for(RelatedIdentificationNumbers relatedIdentificationNumbersInst : relatedIdentificationNumbers) {
nodeWriter.write("GIR");
nodeWriter.write(delimiters.getField());
relatedIdentificationNumbersInst.write(nodeWriter, delimiters);
}
}
if(quantityVariances != null) {
nodeWriter.write("QVR");
nodeWriter.write(delimiters.getField());
quantityVariances.write(nodeWriter, delimiters);
}
if(documentMessageDetails != null && !documentMessageDetails.isEmpty()) {
for(DocumentMessageDetails documentMessageDetailsInst : documentMessageDetails) {
nodeWriter.write("DOC");
nodeWriter.write(delimiters.getField());
documentMessageDetailsInst.write(nodeWriter, delimiters);
}
}
if(paymentInstructions != null) {
nodeWriter.write("PAI");
nodeWriter.write(delimiters.getField());
paymentInstructions.write(nodeWriter, delimiters);
}
if(maintenanceOperationDetails != null && !maintenanceOperationDetails.isEmpty()) {
for(MaintenanceOperationDetails maintenanceOperationDetailsInst : maintenanceOperationDetails) {
nodeWriter.write("MTD");
nodeWriter.write(delimiters.getField());
maintenanceOperationDetailsInst.write(nodeWriter, delimiters);
}
}
if(freeText != null && !freeText.isEmpty()) {
for(FreeText freeTextInst : freeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
freeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup29 != null && !segmentGroup29.isEmpty()) {
for(SegmentGroup29 segmentGroup29Inst : segmentGroup29) {
segmentGroup29Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup30 != null && !segmentGroup30.isEmpty()) {
for(SegmentGroup30 segmentGroup30Inst : segmentGroup30) {
segmentGroup30Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup32 != null) {
segmentGroup32.write(nodeWriter, delimiters);
}
if(segmentGroup33 != null && !segmentGroup33.isEmpty()) {
for(SegmentGroup33 segmentGroup33Inst : segmentGroup33) {
segmentGroup33Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup34 != null && !segmentGroup34.isEmpty()) {
for(SegmentGroup34 segmentGroup34Inst : segmentGroup34) {
segmentGroup34Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup35 != null && !segmentGroup35.isEmpty()) {
for(SegmentGroup35 segmentGroup35Inst : segmentGroup35) {
segmentGroup35Inst.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(segmentGroup44 != null && !segmentGroup44.isEmpty()) {
for(SegmentGroup44 segmentGroup44Inst : segmentGroup44) {
segmentGroup44Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup50 != null && !segmentGroup50.isEmpty()) {
for(SegmentGroup50 segmentGroup50Inst : segmentGroup50) {
segmentGroup50Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup52 != null && !segmentGroup52.isEmpty()) {
for(SegmentGroup52 segmentGroup52Inst : segmentGroup52) {
segmentGroup52Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup53 != null && !segmentGroup53.isEmpty()) {
for(SegmentGroup53 segmentGroup53Inst : segmentGroup53) {
segmentGroup53Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup54 != null && !segmentGroup54.isEmpty()) {
for(SegmentGroup54 segmentGroup54Inst : segmentGroup54) {
segmentGroup54Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup56 != null && !segmentGroup56.isEmpty()) {
for(SegmentGroup56 segmentGroup56Inst : segmentGroup56) {
segmentGroup56Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup57 != null && !segmentGroup57.isEmpty()) {
for(SegmentGroup57 segmentGroup57Inst : segmentGroup57) {
segmentGroup57Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup59 != null && !segmentGroup59.isEmpty()) {
for(SegmentGroup59 segmentGroup59Inst : segmentGroup59) {
segmentGroup59Inst.write(nodeWriter, delimiters);
}
}
}
public LineItem getLineItem() {
return lineItem;
}
public SegmentGroup28 setLineItem(LineItem lineItem) {
this.lineItem = lineItem; return this;
}
public List getAdditionalProductId() {
return additionalProductId;
}
public SegmentGroup28 setAdditionalProductId(List additionalProductId) {
this.additionalProductId = additionalProductId; return this;
}
public List getItemDescription() {
return itemDescription;
}
public SegmentGroup28 setItemDescription(List itemDescription) {
this.itemDescription = itemDescription; return this;
}
public List getMeasurements() {
return measurements;
}
public SegmentGroup28 setMeasurements(List measurements) {
this.measurements = measurements; return this;
}
public List getQuantity() {
return quantity;
}
public SegmentGroup28 setQuantity(List quantity) {
this.quantity = quantity; return this;
}
public List getPercentageDetails() {
return percentageDetails;
}
public SegmentGroup28 setPercentageDetails(List percentageDetails) {
this.percentageDetails = percentageDetails; return this;
}
public List getAdditionalInformation() {
return additionalInformation;
}
public SegmentGroup28 setAdditionalInformation(List additionalInformation) {
this.additionalInformation = additionalInformation; return this;
}
public List getDateTimePeriod() {
return dateTimePeriod;
}
public SegmentGroup28 setDateTimePeriod(List dateTimePeriod) {
this.dateTimePeriod = dateTimePeriod; return this;
}
public List getMonetaryAmount() {
return monetaryAmount;
}
public SegmentGroup28 setMonetaryAmount(List monetaryAmount) {
this.monetaryAmount = monetaryAmount; return this;
}
public List getProcessingInformation() {
return processingInformation;
}
public SegmentGroup28 setProcessingInformation(List processingInformation) {
this.processingInformation = processingInformation; return this;
}
public List getGoodsIdentityNumber() {
return goodsIdentityNumber;
}
public SegmentGroup28 setGoodsIdentityNumber(List goodsIdentityNumber) {
this.goodsIdentityNumber = goodsIdentityNumber; return this;
}
public List getRelatedIdentificationNumbers() {
return relatedIdentificationNumbers;
}
public SegmentGroup28 setRelatedIdentificationNumbers(List relatedIdentificationNumbers) {
this.relatedIdentificationNumbers = relatedIdentificationNumbers; return this;
}
public QuantityVariances getQuantityVariances() {
return quantityVariances;
}
public SegmentGroup28 setQuantityVariances(QuantityVariances quantityVariances) {
this.quantityVariances = quantityVariances; return this;
}
public List getDocumentMessageDetails() {
return documentMessageDetails;
}
public SegmentGroup28 setDocumentMessageDetails(List documentMessageDetails) {
this.documentMessageDetails = documentMessageDetails; return this;
}
public PaymentInstructions getPaymentInstructions() {
return paymentInstructions;
}
public SegmentGroup28 setPaymentInstructions(PaymentInstructions paymentInstructions) {
this.paymentInstructions = paymentInstructions; return this;
}
public List getMaintenanceOperationDetails() {
return maintenanceOperationDetails;
}
public SegmentGroup28 setMaintenanceOperationDetails(List maintenanceOperationDetails) {
this.maintenanceOperationDetails = maintenanceOperationDetails; return this;
}
public List getFreeText() {
return freeText;
}
public SegmentGroup28 setFreeText(List freeText) {
this.freeText = freeText; return this;
}
public List getSegmentGroup29() {
return segmentGroup29;
}
public SegmentGroup28 setSegmentGroup29(List segmentGroup29) {
this.segmentGroup29 = segmentGroup29; return this;
}
public List getSegmentGroup30() {
return segmentGroup30;
}
public SegmentGroup28 setSegmentGroup30(List segmentGroup30) {
this.segmentGroup30 = segmentGroup30; return this;
}
public SegmentGroup32 getSegmentGroup32() {
return segmentGroup32;
}
public SegmentGroup28 setSegmentGroup32(SegmentGroup32 segmentGroup32) {
this.segmentGroup32 = segmentGroup32; return this;
}
public List getSegmentGroup33() {
return segmentGroup33;
}
public SegmentGroup28 setSegmentGroup33(List segmentGroup33) {
this.segmentGroup33 = segmentGroup33; return this;
}
public List getSegmentGroup34() {
return segmentGroup34;
}
public SegmentGroup28 setSegmentGroup34(List segmentGroup34) {
this.segmentGroup34 = segmentGroup34; return this;
}
public List getSegmentGroup35() {
return segmentGroup35;
}
public SegmentGroup28 setSegmentGroup35(List segmentGroup35) {
this.segmentGroup35 = segmentGroup35; return this;
}
public List getSegmentGroup38() {
return segmentGroup38;
}
public SegmentGroup28 setSegmentGroup38(List segmentGroup38) {
this.segmentGroup38 = segmentGroup38; return this;
}
public List getSegmentGroup39() {
return segmentGroup39;
}
public SegmentGroup28 setSegmentGroup39(List segmentGroup39) {
this.segmentGroup39 = segmentGroup39; return this;
}
public List getSegmentGroup40() {
return segmentGroup40;
}
public SegmentGroup28 setSegmentGroup40(List segmentGroup40) {
this.segmentGroup40 = segmentGroup40; return this;
}
public List getSegmentGroup44() {
return segmentGroup44;
}
public SegmentGroup28 setSegmentGroup44(List segmentGroup44) {
this.segmentGroup44 = segmentGroup44; return this;
}
public List getSegmentGroup50() {
return segmentGroup50;
}
public SegmentGroup28 setSegmentGroup50(List segmentGroup50) {
this.segmentGroup50 = segmentGroup50; return this;
}
public List getSegmentGroup52() {
return segmentGroup52;
}
public SegmentGroup28 setSegmentGroup52(List segmentGroup52) {
this.segmentGroup52 = segmentGroup52; return this;
}
public List getSegmentGroup53() {
return segmentGroup53;
}
public SegmentGroup28 setSegmentGroup53(List segmentGroup53) {
this.segmentGroup53 = segmentGroup53; return this;
}
public List getSegmentGroup54() {
return segmentGroup54;
}
public SegmentGroup28 setSegmentGroup54(List segmentGroup54) {
this.segmentGroup54 = segmentGroup54; return this;
}
public List getSegmentGroup56() {
return segmentGroup56;
}
public SegmentGroup28 setSegmentGroup56(List segmentGroup56) {
this.segmentGroup56 = segmentGroup56; return this;
}
public List getSegmentGroup57() {
return segmentGroup57;
}
public SegmentGroup28 setSegmentGroup57(List segmentGroup57) {
this.segmentGroup57 = segmentGroup57; return this;
}
public List getSegmentGroup59() {
return segmentGroup59;
}
public SegmentGroup28 setSegmentGroup59(List segmentGroup59) {
this.segmentGroup59 = segmentGroup59; return this;
}
}