org.milyn.edi.unedifact.d99b.ORDCHG.SegmentGroup27 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99b.ORDCHG;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99b.common.LINLineItem;
import java.util.List;
import org.milyn.edi.unedifact.d99b.common.PIAAdditionalProductId;
import org.milyn.edi.unedifact.d99b.common.IMDItemDescription;
import org.milyn.edi.unedifact.d99b.common.MEAMeasurements;
import org.milyn.edi.unedifact.d99b.common.QTYQuantity;
import org.milyn.edi.unedifact.d99b.common.PCDPercentageDetails;
import org.milyn.edi.unedifact.d99b.common.ALIAdditionalInformation;
import org.milyn.edi.unedifact.d99b.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d99b.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d99b.common.GISGeneralIndicator;
import org.milyn.edi.unedifact.d99b.common.GINGoodsIdentityNumber;
import org.milyn.edi.unedifact.d99b.common.GIRRelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d99b.common.QVRQuantityVariances;
import org.milyn.edi.unedifact.d99b.common.DOCDocumentMessageDetails;
import org.milyn.edi.unedifact.d99b.common.PAIPaymentInstructions;
import org.milyn.edi.unedifact.d99b.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup27 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 pCDPercentageDetails;
private List aLIAdditionalInformation;
private List dTMDateTimePeriod;
private List mOAMonetaryAmount;
private List gISGeneralIndicator;
private List gINGoodsIdentityNumber;
private List gIRRelatedIdentificationNumbers;
private QVRQuantityVariances qVRQuantityVariances;
private List dOCDocumentMessageDetails;
private PAIPaymentInstructions pAIPaymentInstructions;
private List fTXFreeText;
private List segmentGroup28;
private List segmentGroup29;
private SegmentGroup31 segmentGroup31;
private List segmentGroup32;
private List segmentGroup33;
private List segmentGroup34;
private List segmentGroup37;
private List segmentGroup38;
private List segmentGroup39;
private List segmentGroup43;
private List segmentGroup49;
private List segmentGroup51;
private List segmentGroup52;
private List segmentGroup53;
private List segmentGroup55;
private List segmentGroup56;
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(pCDPercentageDetails != null && !pCDPercentageDetails.isEmpty()) {
for(PCDPercentageDetails pCDPercentageDetailsInst : pCDPercentageDetails) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetailsInst.write(nodeWriter, delimiters);
}
}
if(aLIAdditionalInformation != null && !aLIAdditionalInformation.isEmpty()) {
for(ALIAdditionalInformation aLIAdditionalInformationInst : aLIAdditionalInformation) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
aLIAdditionalInformationInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(gISGeneralIndicator != null && !gISGeneralIndicator.isEmpty()) {
for(GISGeneralIndicator gISGeneralIndicatorInst : gISGeneralIndicator) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
gISGeneralIndicatorInst.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(qVRQuantityVariances != null) {
nodeWriter.write("QVR");
nodeWriter.write(delimiters.getField());
qVRQuantityVariances.write(nodeWriter, delimiters);
}
if(dOCDocumentMessageDetails != null && !dOCDocumentMessageDetails.isEmpty()) {
for(DOCDocumentMessageDetails dOCDocumentMessageDetailsInst : dOCDocumentMessageDetails) {
nodeWriter.write("DOC");
nodeWriter.write(delimiters.getField());
dOCDocumentMessageDetailsInst.write(nodeWriter, delimiters);
}
}
if(pAIPaymentInstructions != null) {
nodeWriter.write("PAI");
nodeWriter.write(delimiters.getField());
pAIPaymentInstructions.write(nodeWriter, delimiters);
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.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(segmentGroup31 != null) {
segmentGroup31.write(nodeWriter, delimiters);
}
if(segmentGroup32 != null && !segmentGroup32.isEmpty()) {
for(SegmentGroup32 segmentGroup32Inst : segmentGroup32) {
segmentGroup32Inst.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(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(segmentGroup43 != null && !segmentGroup43.isEmpty()) {
for(SegmentGroup43 segmentGroup43Inst : segmentGroup43) {
segmentGroup43Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup49 != null && !segmentGroup49.isEmpty()) {
for(SegmentGroup49 segmentGroup49Inst : segmentGroup49) {
segmentGroup49Inst.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(segmentGroup53 != null && !segmentGroup53.isEmpty()) {
for(SegmentGroup53 segmentGroup53Inst : segmentGroup53) {
segmentGroup53Inst.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 LINLineItem getLINLineItem() {
return lINLineItem;
}
public SegmentGroup27 setLINLineItem(LINLineItem lINLineItem) {
this.lINLineItem = lINLineItem; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup27 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup27 setIMDItemDescription(List iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup27 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup27 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup27 setPCDPercentageDetails(List pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public List getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup27 setALIAdditionalInformation(List aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup27 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup27 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public SegmentGroup27 setGISGeneralIndicator(List gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
public List getGINGoodsIdentityNumber() {
return gINGoodsIdentityNumber;
}
public SegmentGroup27 setGINGoodsIdentityNumber(List gINGoodsIdentityNumber) {
this.gINGoodsIdentityNumber = gINGoodsIdentityNumber; return this;
}
public List getGIRRelatedIdentificationNumbers() {
return gIRRelatedIdentificationNumbers;
}
public SegmentGroup27 setGIRRelatedIdentificationNumbers(List gIRRelatedIdentificationNumbers) {
this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers; return this;
}
public QVRQuantityVariances getQVRQuantityVariances() {
return qVRQuantityVariances;
}
public SegmentGroup27 setQVRQuantityVariances(QVRQuantityVariances qVRQuantityVariances) {
this.qVRQuantityVariances = qVRQuantityVariances; return this;
}
public List getDOCDocumentMessageDetails() {
return dOCDocumentMessageDetails;
}
public SegmentGroup27 setDOCDocumentMessageDetails(List dOCDocumentMessageDetails) {
this.dOCDocumentMessageDetails = dOCDocumentMessageDetails; return this;
}
public PAIPaymentInstructions getPAIPaymentInstructions() {
return pAIPaymentInstructions;
}
public SegmentGroup27 setPAIPaymentInstructions(PAIPaymentInstructions pAIPaymentInstructions) {
this.pAIPaymentInstructions = pAIPaymentInstructions; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup27 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup28() {
return segmentGroup28;
}
public SegmentGroup27 setSegmentGroup28(List segmentGroup28) {
this.segmentGroup28 = segmentGroup28; return this;
}
public List getSegmentGroup29() {
return segmentGroup29;
}
public SegmentGroup27 setSegmentGroup29(List segmentGroup29) {
this.segmentGroup29 = segmentGroup29; return this;
}
public SegmentGroup31 getSegmentGroup31() {
return segmentGroup31;
}
public SegmentGroup27 setSegmentGroup31(SegmentGroup31 segmentGroup31) {
this.segmentGroup31 = segmentGroup31; return this;
}
public List getSegmentGroup32() {
return segmentGroup32;
}
public SegmentGroup27 setSegmentGroup32(List segmentGroup32) {
this.segmentGroup32 = segmentGroup32; return this;
}
public List getSegmentGroup33() {
return segmentGroup33;
}
public SegmentGroup27 setSegmentGroup33(List segmentGroup33) {
this.segmentGroup33 = segmentGroup33; return this;
}
public List getSegmentGroup34() {
return segmentGroup34;
}
public SegmentGroup27 setSegmentGroup34(List segmentGroup34) {
this.segmentGroup34 = segmentGroup34; return this;
}
public List getSegmentGroup37() {
return segmentGroup37;
}
public SegmentGroup27 setSegmentGroup37(List segmentGroup37) {
this.segmentGroup37 = segmentGroup37; return this;
}
public List getSegmentGroup38() {
return segmentGroup38;
}
public SegmentGroup27 setSegmentGroup38(List segmentGroup38) {
this.segmentGroup38 = segmentGroup38; return this;
}
public List getSegmentGroup39() {
return segmentGroup39;
}
public SegmentGroup27 setSegmentGroup39(List segmentGroup39) {
this.segmentGroup39 = segmentGroup39; return this;
}
public List getSegmentGroup43() {
return segmentGroup43;
}
public SegmentGroup27 setSegmentGroup43(List segmentGroup43) {
this.segmentGroup43 = segmentGroup43; return this;
}
public List getSegmentGroup49() {
return segmentGroup49;
}
public SegmentGroup27 setSegmentGroup49(List segmentGroup49) {
this.segmentGroup49 = segmentGroup49; return this;
}
public List getSegmentGroup51() {
return segmentGroup51;
}
public SegmentGroup27 setSegmentGroup51(List segmentGroup51) {
this.segmentGroup51 = segmentGroup51; return this;
}
public List getSegmentGroup52() {
return segmentGroup52;
}
public SegmentGroup27 setSegmentGroup52(List segmentGroup52) {
this.segmentGroup52 = segmentGroup52; return this;
}
public List getSegmentGroup53() {
return segmentGroup53;
}
public SegmentGroup27 setSegmentGroup53(List segmentGroup53) {
this.segmentGroup53 = segmentGroup53; return this;
}
public List getSegmentGroup55() {
return segmentGroup55;
}
public SegmentGroup27 setSegmentGroup55(List segmentGroup55) {
this.segmentGroup55 = segmentGroup55; return this;
}
public List getSegmentGroup56() {
return segmentGroup56;
}
public SegmentGroup27 setSegmentGroup56(List segmentGroup56) {
this.segmentGroup56 = segmentGroup56; return this;
}
}