org.virtuslab.edi.unedifact.d99a.PRICAT.SegmentGroup33 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d99a.PRICAT;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d99a.common.LINLineItem;
import java.util.List;
import org.virtuslab.edi.unedifact.d99a.common.PIAAdditionalProductId;
import org.virtuslab.edi.unedifact.d99a.common.IMDItemDescription;
import org.virtuslab.edi.unedifact.d99a.common.MEAMeasurements;
import org.virtuslab.edi.unedifact.d99a.common.QTYQuantity;
import org.virtuslab.edi.unedifact.d99a.common.HANHandlingInstructions;
import org.virtuslab.edi.unedifact.d99a.common.ALIAdditionalInformation;
import org.virtuslab.edi.unedifact.d99a.common.DTMDateTimePeriod;
import org.virtuslab.edi.unedifact.d99a.common.RFFReference;
import org.virtuslab.edi.unedifact.d99a.common.LOCPlaceLocationIdentification;
import org.virtuslab.edi.unedifact.d99a.common.DOCDocumentMessageDetails;
import org.virtuslab.edi.unedifact.d99a.common.PTYPriority;
import org.virtuslab.edi.unedifact.d99a.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup33 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 hANHandlingInstructions;
private List aLIAdditionalInformation;
private List dTMDateTimePeriod;
private List rFFReference;
private LOCPlaceLocationIdentification lOCPlaceLocationIdentification;
private DOCDocumentMessageDetails dOCDocumentMessageDetails;
private List pTYPriority;
private List fTXFreeText;
private List segmentGroup34;
private List segmentGroup35;
private List segmentGroup36;
private List segmentGroup37;
private List segmentGroup38;
private List segmentGroup44;
private List segmentGroup45;
private List segmentGroup46;
private List segmentGroup47;
private List segmentGroup48;
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(hANHandlingInstructions != null && !hANHandlingInstructions.isEmpty()) {
for(HANHandlingInstructions hANHandlingInstructionsInst : hANHandlingInstructions) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
hANHandlingInstructionsInst.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(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(lOCPlaceLocationIdentification != null) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentification.write(nodeWriter, delimiters);
}
if(dOCDocumentMessageDetails != null) {
nodeWriter.write("DOC");
nodeWriter.write(delimiters.getField());
dOCDocumentMessageDetails.write(nodeWriter, delimiters);
}
if(pTYPriority != null && !pTYPriority.isEmpty()) {
for(PTYPriority pTYPriorityInst : pTYPriority) {
nodeWriter.write("PTY");
nodeWriter.write(delimiters.getField());
pTYPriorityInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.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(segmentGroup36 != null && !segmentGroup36.isEmpty()) {
for(SegmentGroup36 segmentGroup36Inst : segmentGroup36) {
segmentGroup36Inst.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(segmentGroup44 != null && !segmentGroup44.isEmpty()) {
for(SegmentGroup44 segmentGroup44Inst : segmentGroup44) {
segmentGroup44Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
segmentGroup45Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup46 != null && !segmentGroup46.isEmpty()) {
for(SegmentGroup46 segmentGroup46Inst : segmentGroup46) {
segmentGroup46Inst.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);
}
}
}
public LINLineItem getLINLineItem() {
return lINLineItem;
}
public SegmentGroup33 setLINLineItem(LINLineItem lINLineItem) {
this.lINLineItem = lINLineItem; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup33 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup33 setIMDItemDescription(List iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup33 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup33 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup33 setHANHandlingInstructions(List hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public List getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup33 setALIAdditionalInformation(List aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup33 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup33 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public LOCPlaceLocationIdentification getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup33 setLOCPlaceLocationIdentification(LOCPlaceLocationIdentification lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public DOCDocumentMessageDetails getDOCDocumentMessageDetails() {
return dOCDocumentMessageDetails;
}
public SegmentGroup33 setDOCDocumentMessageDetails(DOCDocumentMessageDetails dOCDocumentMessageDetails) {
this.dOCDocumentMessageDetails = dOCDocumentMessageDetails; return this;
}
public List getPTYPriority() {
return pTYPriority;
}
public SegmentGroup33 setPTYPriority(List pTYPriority) {
this.pTYPriority = pTYPriority; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup33 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup34() {
return segmentGroup34;
}
public SegmentGroup33 setSegmentGroup34(List segmentGroup34) {
this.segmentGroup34 = segmentGroup34; return this;
}
public List getSegmentGroup35() {
return segmentGroup35;
}
public SegmentGroup33 setSegmentGroup35(List segmentGroup35) {
this.segmentGroup35 = segmentGroup35; return this;
}
public List getSegmentGroup36() {
return segmentGroup36;
}
public SegmentGroup33 setSegmentGroup36(List segmentGroup36) {
this.segmentGroup36 = segmentGroup36; return this;
}
public List getSegmentGroup37() {
return segmentGroup37;
}
public SegmentGroup33 setSegmentGroup37(List segmentGroup37) {
this.segmentGroup37 = segmentGroup37; return this;
}
public List getSegmentGroup38() {
return segmentGroup38;
}
public SegmentGroup33 setSegmentGroup38(List segmentGroup38) {
this.segmentGroup38 = segmentGroup38; return this;
}
public List getSegmentGroup44() {
return segmentGroup44;
}
public SegmentGroup33 setSegmentGroup44(List segmentGroup44) {
this.segmentGroup44 = segmentGroup44; return this;
}
public List getSegmentGroup45() {
return segmentGroup45;
}
public SegmentGroup33 setSegmentGroup45(List segmentGroup45) {
this.segmentGroup45 = segmentGroup45; return this;
}
public List getSegmentGroup46() {
return segmentGroup46;
}
public SegmentGroup33 setSegmentGroup46(List segmentGroup46) {
this.segmentGroup46 = segmentGroup46; return this;
}
public List getSegmentGroup47() {
return segmentGroup47;
}
public SegmentGroup33 setSegmentGroup47(List segmentGroup47) {
this.segmentGroup47 = segmentGroup47; return this;
}
public List getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup33 setSegmentGroup48(List segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
}