org.milyn.edi.unedifact.d05a.PRODAT.SegmentGroup9 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d05a.PRODAT;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d05a.common.LINLineItem;
import java.util.List;
import org.milyn.edi.unedifact.d05a.common.PIAAdditionalProductId;
import org.milyn.edi.unedifact.d05a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d05a.common.MEAMeasurements;
import org.milyn.edi.unedifact.d05a.common.HANHandlingInstructions;
import org.milyn.edi.unedifact.d05a.common.DOCDocumentMessageDetails;
import org.milyn.edi.unedifact.d05a.common.FTXFreeText;
import org.milyn.edi.unedifact.d05a.common.PGIProductGroupInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup9 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private LINLineItem lINLineItem;
private List pIAAdditionalProductId;
private List dTMDateTimePeriod;
private List mEAMeasurements;
private List hANHandlingInstructions;
private List dOCDocumentMessageDetails;
private List fTXFreeText;
private List pGIProductGroupInformation;
private List segmentGroup10;
private List segmentGroup11;
private List segmentGroup12;
private List segmentGroup13;
private List segmentGroup14;
private List segmentGroup15;
private List segmentGroup16;
private List segmentGroup17;
private List segmentGroup18;
private List segmentGroup20;
private List segmentGroup21;
private List segmentGroup23;
private List segmentGroup28;
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(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(hANHandlingInstructions != null && !hANHandlingInstructions.isEmpty()) {
for(HANHandlingInstructions hANHandlingInstructionsInst : hANHandlingInstructions) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
hANHandlingInstructionsInst.write(nodeWriter, delimiters);
}
}
if(dOCDocumentMessageDetails != null && !dOCDocumentMessageDetails.isEmpty()) {
for(DOCDocumentMessageDetails dOCDocumentMessageDetailsInst : dOCDocumentMessageDetails) {
nodeWriter.write("DOC");
nodeWriter.write(delimiters.getField());
dOCDocumentMessageDetailsInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(pGIProductGroupInformation != null && !pGIProductGroupInformation.isEmpty()) {
for(PGIProductGroupInformation pGIProductGroupInformationInst : pGIProductGroupInformation) {
nodeWriter.write("PGI");
nodeWriter.write(delimiters.getField());
pGIProductGroupInformationInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup10 != null && !segmentGroup10.isEmpty()) {
for(SegmentGroup10 segmentGroup10Inst : segmentGroup10) {
segmentGroup10Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup11 != null && !segmentGroup11.isEmpty()) {
for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) {
segmentGroup11Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
segmentGroup12Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup13 != null && !segmentGroup13.isEmpty()) {
for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) {
segmentGroup13Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
segmentGroup14Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
segmentGroup15Inst.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(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
segmentGroup20Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup21 != null && !segmentGroup21.isEmpty()) {
for(SegmentGroup21 segmentGroup21Inst : segmentGroup21) {
segmentGroup21Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup23 != null && !segmentGroup23.isEmpty()) {
for(SegmentGroup23 segmentGroup23Inst : segmentGroup23) {
segmentGroup23Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup28 != null && !segmentGroup28.isEmpty()) {
for(SegmentGroup28 segmentGroup28Inst : segmentGroup28) {
segmentGroup28Inst.write(nodeWriter, delimiters);
}
}
}
public LINLineItem getLINLineItem() {
return lINLineItem;
}
public SegmentGroup9 setLINLineItem(LINLineItem lINLineItem) {
this.lINLineItem = lINLineItem; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup9 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup9 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup9 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup9 setHANHandlingInstructions(List hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public List getDOCDocumentMessageDetails() {
return dOCDocumentMessageDetails;
}
public SegmentGroup9 setDOCDocumentMessageDetails(List dOCDocumentMessageDetails) {
this.dOCDocumentMessageDetails = dOCDocumentMessageDetails; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup9 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getPGIProductGroupInformation() {
return pGIProductGroupInformation;
}
public SegmentGroup9 setPGIProductGroupInformation(List pGIProductGroupInformation) {
this.pGIProductGroupInformation = pGIProductGroupInformation; return this;
}
public List getSegmentGroup10() {
return segmentGroup10;
}
public SegmentGroup9 setSegmentGroup10(List segmentGroup10) {
this.segmentGroup10 = segmentGroup10; return this;
}
public List getSegmentGroup11() {
return segmentGroup11;
}
public SegmentGroup9 setSegmentGroup11(List segmentGroup11) {
this.segmentGroup11 = segmentGroup11; return this;
}
public List getSegmentGroup12() {
return segmentGroup12;
}
public SegmentGroup9 setSegmentGroup12(List segmentGroup12) {
this.segmentGroup12 = segmentGroup12; return this;
}
public List getSegmentGroup13() {
return segmentGroup13;
}
public SegmentGroup9 setSegmentGroup13(List segmentGroup13) {
this.segmentGroup13 = segmentGroup13; return this;
}
public List getSegmentGroup14() {
return segmentGroup14;
}
public SegmentGroup9 setSegmentGroup14(List segmentGroup14) {
this.segmentGroup14 = segmentGroup14; return this;
}
public List getSegmentGroup15() {
return segmentGroup15;
}
public SegmentGroup9 setSegmentGroup15(List segmentGroup15) {
this.segmentGroup15 = segmentGroup15; return this;
}
public List getSegmentGroup16() {
return segmentGroup16;
}
public SegmentGroup9 setSegmentGroup16(List segmentGroup16) {
this.segmentGroup16 = segmentGroup16; return this;
}
public List getSegmentGroup17() {
return segmentGroup17;
}
public SegmentGroup9 setSegmentGroup17(List segmentGroup17) {
this.segmentGroup17 = segmentGroup17; return this;
}
public List getSegmentGroup18() {
return segmentGroup18;
}
public SegmentGroup9 setSegmentGroup18(List segmentGroup18) {
this.segmentGroup18 = segmentGroup18; return this;
}
public List getSegmentGroup20() {
return segmentGroup20;
}
public SegmentGroup9 setSegmentGroup20(List segmentGroup20) {
this.segmentGroup20 = segmentGroup20; return this;
}
public List getSegmentGroup21() {
return segmentGroup21;
}
public SegmentGroup9 setSegmentGroup21(List segmentGroup21) {
this.segmentGroup21 = segmentGroup21; return this;
}
public List getSegmentGroup23() {
return segmentGroup23;
}
public SegmentGroup9 setSegmentGroup23(List segmentGroup23) {
this.segmentGroup23 = segmentGroup23; return this;
}
public List getSegmentGroup28() {
return segmentGroup28;
}
public SegmentGroup9 setSegmentGroup28(List segmentGroup28) {
this.segmentGroup28 = segmentGroup28; return this;
}
}