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.INVOIC.SegmentGroup26 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d06b.INVOIC;
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.ProductGroupInformation;
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.GoodsIdentityNumber;
import org.milyn.edi.unedifact.d06b.common.RelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d06b.common.QuantityVariances;
import org.milyn.edi.unedifact.d06b.common.EquipmentDetails;
import org.milyn.edi.unedifact.d06b.common.FreeText;
import org.milyn.edi.unedifact.d06b.common.DangerousGoods;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup26 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private LineItem lineItem;
private List additionalProductId;
private List productGroupInformation;
private List itemDescription;
private List measurements;
private List quantity;
private PercentageDetails percentageDetails;
private List additionalInformation;
private List dateTimePeriod;
private List goodsIdentityNumber;
private List relatedIdentificationNumbers;
private QuantityVariances quantityVariances;
private EquipmentDetails equipmentDetails;
private List freeText;
private DangerousGoods dangerousGoods;
private List segmentGroup27;
private List segmentGroup28;
private List segmentGroup29;
private List segmentGroup30;
private List segmentGroup31;
private List segmentGroup33;
private List segmentGroup34;
private List segmentGroup35;
private List segmentGroup39;
private List segmentGroup45;
private List segmentGroup47;
private List segmentGroup48;
private List segmentGroup49;
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(productGroupInformation != null && !productGroupInformation.isEmpty()) {
for(ProductGroupInformation productGroupInformationInst : productGroupInformation) {
nodeWriter.write("PGI");
nodeWriter.write(delimiters.getField());
productGroupInformationInst.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) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
percentageDetails.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(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(equipmentDetails != null) {
nodeWriter.write("EQD");
nodeWriter.write(delimiters.getField());
equipmentDetails.write(nodeWriter, delimiters);
}
if(freeText != null && !freeText.isEmpty()) {
for(FreeText freeTextInst : freeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
freeTextInst.write(nodeWriter, delimiters);
}
}
if(dangerousGoods != null) {
nodeWriter.write("DGS");
nodeWriter.write(delimiters.getField());
dangerousGoods.write(nodeWriter, delimiters);
}
if(segmentGroup27 != null && !segmentGroup27.isEmpty()) {
for(SegmentGroup27 segmentGroup27Inst : segmentGroup27) {
segmentGroup27Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup28 != null && !segmentGroup28.isEmpty()) {
for(SegmentGroup28 segmentGroup28Inst : segmentGroup28) {
segmentGroup28Inst.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(segmentGroup31 != null && !segmentGroup31.isEmpty()) {
for(SegmentGroup31 segmentGroup31Inst : segmentGroup31) {
segmentGroup31Inst.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(segmentGroup39 != null && !segmentGroup39.isEmpty()) {
for(SegmentGroup39 segmentGroup39Inst : segmentGroup39) {
segmentGroup39Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
segmentGroup45Inst.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);
}
}
}
public LineItem getLineItem() {
return lineItem;
}
public SegmentGroup26 setLineItem(LineItem lineItem) {
this.lineItem = lineItem; return this;
}
public List getAdditionalProductId() {
return additionalProductId;
}
public SegmentGroup26 setAdditionalProductId(List additionalProductId) {
this.additionalProductId = additionalProductId; return this;
}
public List getProductGroupInformation() {
return productGroupInformation;
}
public SegmentGroup26 setProductGroupInformation(List productGroupInformation) {
this.productGroupInformation = productGroupInformation; return this;
}
public List getItemDescription() {
return itemDescription;
}
public SegmentGroup26 setItemDescription(List itemDescription) {
this.itemDescription = itemDescription; return this;
}
public List getMeasurements() {
return measurements;
}
public SegmentGroup26 setMeasurements(List measurements) {
this.measurements = measurements; return this;
}
public List getQuantity() {
return quantity;
}
public SegmentGroup26 setQuantity(List quantity) {
this.quantity = quantity; return this;
}
public PercentageDetails getPercentageDetails() {
return percentageDetails;
}
public SegmentGroup26 setPercentageDetails(PercentageDetails percentageDetails) {
this.percentageDetails = percentageDetails; return this;
}
public List getAdditionalInformation() {
return additionalInformation;
}
public SegmentGroup26 setAdditionalInformation(List additionalInformation) {
this.additionalInformation = additionalInformation; return this;
}
public List getDateTimePeriod() {
return dateTimePeriod;
}
public SegmentGroup26 setDateTimePeriod(List dateTimePeriod) {
this.dateTimePeriod = dateTimePeriod; return this;
}
public List getGoodsIdentityNumber() {
return goodsIdentityNumber;
}
public SegmentGroup26 setGoodsIdentityNumber(List goodsIdentityNumber) {
this.goodsIdentityNumber = goodsIdentityNumber; return this;
}
public List getRelatedIdentificationNumbers() {
return relatedIdentificationNumbers;
}
public SegmentGroup26 setRelatedIdentificationNumbers(List relatedIdentificationNumbers) {
this.relatedIdentificationNumbers = relatedIdentificationNumbers; return this;
}
public QuantityVariances getQuantityVariances() {
return quantityVariances;
}
public SegmentGroup26 setQuantityVariances(QuantityVariances quantityVariances) {
this.quantityVariances = quantityVariances; return this;
}
public EquipmentDetails getEquipmentDetails() {
return equipmentDetails;
}
public SegmentGroup26 setEquipmentDetails(EquipmentDetails equipmentDetails) {
this.equipmentDetails = equipmentDetails; return this;
}
public List getFreeText() {
return freeText;
}
public SegmentGroup26 setFreeText(List freeText) {
this.freeText = freeText; return this;
}
public DangerousGoods getDangerousGoods() {
return dangerousGoods;
}
public SegmentGroup26 setDangerousGoods(DangerousGoods dangerousGoods) {
this.dangerousGoods = dangerousGoods; return this;
}
public List getSegmentGroup27() {
return segmentGroup27;
}
public SegmentGroup26 setSegmentGroup27(List segmentGroup27) {
this.segmentGroup27 = segmentGroup27; return this;
}
public List getSegmentGroup28() {
return segmentGroup28;
}
public SegmentGroup26 setSegmentGroup28(List segmentGroup28) {
this.segmentGroup28 = segmentGroup28; return this;
}
public List getSegmentGroup29() {
return segmentGroup29;
}
public SegmentGroup26 setSegmentGroup29(List segmentGroup29) {
this.segmentGroup29 = segmentGroup29; return this;
}
public List getSegmentGroup30() {
return segmentGroup30;
}
public SegmentGroup26 setSegmentGroup30(List segmentGroup30) {
this.segmentGroup30 = segmentGroup30; return this;
}
public List getSegmentGroup31() {
return segmentGroup31;
}
public SegmentGroup26 setSegmentGroup31(List segmentGroup31) {
this.segmentGroup31 = segmentGroup31; return this;
}
public List getSegmentGroup33() {
return segmentGroup33;
}
public SegmentGroup26 setSegmentGroup33(List segmentGroup33) {
this.segmentGroup33 = segmentGroup33; return this;
}
public List getSegmentGroup34() {
return segmentGroup34;
}
public SegmentGroup26 setSegmentGroup34(List segmentGroup34) {
this.segmentGroup34 = segmentGroup34; return this;
}
public List getSegmentGroup35() {
return segmentGroup35;
}
public SegmentGroup26 setSegmentGroup35(List segmentGroup35) {
this.segmentGroup35 = segmentGroup35; return this;
}
public List getSegmentGroup39() {
return segmentGroup39;
}
public SegmentGroup26 setSegmentGroup39(List segmentGroup39) {
this.segmentGroup39 = segmentGroup39; return this;
}
public List getSegmentGroup45() {
return segmentGroup45;
}
public SegmentGroup26 setSegmentGroup45(List segmentGroup45) {
this.segmentGroup45 = segmentGroup45; return this;
}
public List getSegmentGroup47() {
return segmentGroup47;
}
public SegmentGroup26 setSegmentGroup47(List segmentGroup47) {
this.segmentGroup47 = segmentGroup47; return this;
}
public List getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup26 setSegmentGroup48(List segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
public List getSegmentGroup49() {
return segmentGroup49;
}
public SegmentGroup26 setSegmentGroup49(List segmentGroup49) {
this.segmentGroup49 = segmentGroup49; return this;
}
}