org.milyn.edi.unedifact.d97a.DESADV.SegmentGroup15 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d97a.DESADV;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d97a.common.LINLineItem;
import java.util.List;
import org.milyn.edi.unedifact.d97a.common.PIAAdditionalProductId;
import org.milyn.edi.unedifact.d97a.common.IMDItemDescription;
import org.milyn.edi.unedifact.d97a.common.MEAMeasurements;
import org.milyn.edi.unedifact.d97a.common.QTYQuantity;
import org.milyn.edi.unedifact.d97a.common.ALIAdditionalInformation;
import org.milyn.edi.unedifact.d97a.common.GINGoodsIdentityNumber;
import org.milyn.edi.unedifact.d97a.common.GIRRelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d97a.common.DLMDeliveryLimitations;
import org.milyn.edi.unedifact.d97a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d97a.common.NADNameAndAddress;
import org.milyn.edi.unedifact.d97a.common.TDTDetailsOfTransport;
import org.milyn.edi.unedifact.d97a.common.HANHandlingInstructions;
import org.milyn.edi.unedifact.d97a.common.FTXFreeText;
import org.milyn.edi.unedifact.d97a.common.MOAMonetaryAmount;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup15 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private LINLineItem lINLineItem;
private List pIAAdditionalProductId;
private List iMDItemDescription;
private List mEAMeasurements;
private List qTYQuantity;
private List aLIAdditionalInformation;
private List gINGoodsIdentityNumber;
private List gIRRelatedIdentificationNumbers;
private List dLMDeliveryLimitations;
private List dTMDateTimePeriod;
private List nADNameAndAddress;
private TDTDetailsOfTransport tDTDetailsOfTransport;
private List hANHandlingInstructions;
private List fTXFreeText;
private List mOAMonetaryAmount;
private List segmentGroup16;
private List segmentGroup17;
private List segmentGroup18;
private List segmentGroup19;
private List segmentGroup20;
private List segmentGroup23;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(lINLineItem != null) {
nodeWriter.write("LIN");
nodeWriter.write(delimiters.getField());
lINLineItem.write(nodeWriter, delimiters);
}
if(pIAAdditionalProductId != null && !pIAAdditionalProductId.isEmpty()) {
for(PIAAdditionalProductId pIAAdditionalProductIdInst : pIAAdditionalProductId) {
nodeWriter.write("PIA");
nodeWriter.write(delimiters.getField());
pIAAdditionalProductIdInst.write(nodeWriter, delimiters);
}
}
if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescriptionInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
for(QTYQuantity qTYQuantityInst : qTYQuantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantityInst.write(nodeWriter, delimiters);
}
}
if(aLIAdditionalInformation != null && !aLIAdditionalInformation.isEmpty()) {
for(ALIAdditionalInformation aLIAdditionalInformationInst : aLIAdditionalInformation) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
aLIAdditionalInformationInst.write(nodeWriter, delimiters);
}
}
if(gINGoodsIdentityNumber != null && !gINGoodsIdentityNumber.isEmpty()) {
for(GINGoodsIdentityNumber gINGoodsIdentityNumberInst : gINGoodsIdentityNumber) {
nodeWriter.write("GIN");
nodeWriter.write(delimiters.getField());
gINGoodsIdentityNumberInst.write(nodeWriter, delimiters);
}
}
if(gIRRelatedIdentificationNumbers != null && !gIRRelatedIdentificationNumbers.isEmpty()) {
for(GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbersInst : gIRRelatedIdentificationNumbers) {
nodeWriter.write("GIR");
nodeWriter.write(delimiters.getField());
gIRRelatedIdentificationNumbersInst.write(nodeWriter, delimiters);
}
}
if(dLMDeliveryLimitations != null && !dLMDeliveryLimitations.isEmpty()) {
for(DLMDeliveryLimitations dLMDeliveryLimitationsInst : dLMDeliveryLimitations) {
nodeWriter.write("DLM");
nodeWriter.write(delimiters.getField());
dLMDeliveryLimitationsInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(nADNameAndAddress != null && !nADNameAndAddress.isEmpty()) {
for(NADNameAndAddress nADNameAndAddressInst : nADNameAndAddress) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddressInst.write(nodeWriter, delimiters);
}
}
if(tDTDetailsOfTransport != null) {
nodeWriter.write("TDT");
nodeWriter.write(delimiters.getField());
tDTDetailsOfTransport.write(nodeWriter, delimiters);
}
if(hANHandlingInstructions != null && !hANHandlingInstructions.isEmpty()) {
for(HANHandlingInstructions hANHandlingInstructionsInst : hANHandlingInstructions) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
hANHandlingInstructionsInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup16 != null && !segmentGroup16.isEmpty()) {
for(SegmentGroup16 segmentGroup16Inst : segmentGroup16) {
segmentGroup16Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
segmentGroup17Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup18 != null && !segmentGroup18.isEmpty()) {
for(SegmentGroup18 segmentGroup18Inst : segmentGroup18) {
segmentGroup18Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup19 != null && !segmentGroup19.isEmpty()) {
for(SegmentGroup19 segmentGroup19Inst : segmentGroup19) {
segmentGroup19Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
segmentGroup20Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup23 != null && !segmentGroup23.isEmpty()) {
for(SegmentGroup23 segmentGroup23Inst : segmentGroup23) {
segmentGroup23Inst.write(nodeWriter, delimiters);
}
}
}
public LINLineItem getLINLineItem() {
return lINLineItem;
}
public SegmentGroup15 setLINLineItem(LINLineItem lINLineItem) {
this.lINLineItem = lINLineItem; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup15 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup15 setIMDItemDescription(List iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup15 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup15 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup15 setALIAdditionalInformation(List aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public List getGINGoodsIdentityNumber() {
return gINGoodsIdentityNumber;
}
public SegmentGroup15 setGINGoodsIdentityNumber(List gINGoodsIdentityNumber) {
this.gINGoodsIdentityNumber = gINGoodsIdentityNumber; return this;
}
public List getGIRRelatedIdentificationNumbers() {
return gIRRelatedIdentificationNumbers;
}
public SegmentGroup15 setGIRRelatedIdentificationNumbers(List gIRRelatedIdentificationNumbers) {
this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers; return this;
}
public List getDLMDeliveryLimitations() {
return dLMDeliveryLimitations;
}
public SegmentGroup15 setDLMDeliveryLimitations(List dLMDeliveryLimitations) {
this.dLMDeliveryLimitations = dLMDeliveryLimitations; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup15 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup15 setNADNameAndAddress(List nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public TDTDetailsOfTransport getTDTDetailsOfTransport() {
return tDTDetailsOfTransport;
}
public SegmentGroup15 setTDTDetailsOfTransport(TDTDetailsOfTransport tDTDetailsOfTransport) {
this.tDTDetailsOfTransport = tDTDetailsOfTransport; return this;
}
public List getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup15 setHANHandlingInstructions(List hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup15 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup15 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getSegmentGroup16() {
return segmentGroup16;
}
public SegmentGroup15 setSegmentGroup16(List segmentGroup16) {
this.segmentGroup16 = segmentGroup16; return this;
}
public List getSegmentGroup17() {
return segmentGroup17;
}
public SegmentGroup15 setSegmentGroup17(List segmentGroup17) {
this.segmentGroup17 = segmentGroup17; return this;
}
public List getSegmentGroup18() {
return segmentGroup18;
}
public SegmentGroup15 setSegmentGroup18(List segmentGroup18) {
this.segmentGroup18 = segmentGroup18; return this;
}
public List getSegmentGroup19() {
return segmentGroup19;
}
public SegmentGroup15 setSegmentGroup19(List segmentGroup19) {
this.segmentGroup19 = segmentGroup19; return this;
}
public List getSegmentGroup20() {
return segmentGroup20;
}
public SegmentGroup15 setSegmentGroup20(List segmentGroup20) {
this.segmentGroup20 = segmentGroup20; return this;
}
public List getSegmentGroup23() {
return segmentGroup23;
}
public SegmentGroup15 setSegmentGroup23(List segmentGroup23) {
this.segmentGroup23 = segmentGroup23; return this;
}
}