org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup222 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d15a.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d15a.common.DOCDocumentMessageDetails;
import java.util.List;
import org.milyn.edi.unedifact.d15a.common.RFFReference;
import org.milyn.edi.unedifact.d15a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d15a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d15a.common.ALIAdditionalInformation;
import org.milyn.edi.unedifact.d15a.common.QTYQuantity;
import org.milyn.edi.unedifact.d15a.common.TSRTransportServiceRequirements;
import org.milyn.edi.unedifact.d15a.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d15a.common.GINGoodsIdentityNumber;
import org.milyn.edi.unedifact.d15a.common.GIRRelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d15a.common.IMDItemDescription;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup222 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private DOCDocumentMessageDetails dOCDocumentMessageDetails;
private List rFFReference;
private List dTMDateTimePeriod;
private List mOAMonetaryAmount;
private ALIAdditionalInformation aLIAdditionalInformation;
private List qTYQuantity;
private List tSRTransportServiceRequirements;
private List gEIProcessingInformation;
private List gINGoodsIdentityNumber;
private List gIRRelatedIdentificationNumbers;
private List iMDItemDescription;
private List segmentGroup223;
private List segmentGroup225;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(dOCDocumentMessageDetails != null) {
nodeWriter.write("DOC");
nodeWriter.write(delimiters.getField());
dOCDocumentMessageDetails.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.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(aLIAdditionalInformation != null) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
aLIAdditionalInformation.write(nodeWriter, delimiters);
}
if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
for(QTYQuantity qTYQuantityInst : qTYQuantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantityInst.write(nodeWriter, delimiters);
}
}
if(tSRTransportServiceRequirements != null && !tSRTransportServiceRequirements.isEmpty()) {
for(TSRTransportServiceRequirements tSRTransportServiceRequirementsInst : tSRTransportServiceRequirements) {
nodeWriter.write("TSR");
nodeWriter.write(delimiters.getField());
tSRTransportServiceRequirementsInst.write(nodeWriter, delimiters);
}
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.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(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescriptionInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup223 != null && !segmentGroup223.isEmpty()) {
for(SegmentGroup223 segmentGroup223Inst : segmentGroup223) {
segmentGroup223Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup225 != null && !segmentGroup225.isEmpty()) {
for(SegmentGroup225 segmentGroup225Inst : segmentGroup225) {
segmentGroup225Inst.write(nodeWriter, delimiters);
}
}
}
public DOCDocumentMessageDetails getDOCDocumentMessageDetails() {
return dOCDocumentMessageDetails;
}
public SegmentGroup222 setDOCDocumentMessageDetails(DOCDocumentMessageDetails dOCDocumentMessageDetails) {
this.dOCDocumentMessageDetails = dOCDocumentMessageDetails; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup222 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup222 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup222 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public ALIAdditionalInformation getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup222 setALIAdditionalInformation(ALIAdditionalInformation aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup222 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getTSRTransportServiceRequirements() {
return tSRTransportServiceRequirements;
}
public SegmentGroup222 setTSRTransportServiceRequirements(List tSRTransportServiceRequirements) {
this.tSRTransportServiceRequirements = tSRTransportServiceRequirements; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup222 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getGINGoodsIdentityNumber() {
return gINGoodsIdentityNumber;
}
public SegmentGroup222 setGINGoodsIdentityNumber(List gINGoodsIdentityNumber) {
this.gINGoodsIdentityNumber = gINGoodsIdentityNumber; return this;
}
public List getGIRRelatedIdentificationNumbers() {
return gIRRelatedIdentificationNumbers;
}
public SegmentGroup222 setGIRRelatedIdentificationNumbers(List gIRRelatedIdentificationNumbers) {
this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers; return this;
}
public List getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup222 setIMDItemDescription(List iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getSegmentGroup223() {
return segmentGroup223;
}
public SegmentGroup222 setSegmentGroup223(List segmentGroup223) {
this.segmentGroup223 = segmentGroup223; return this;
}
public List getSegmentGroup225() {
return segmentGroup225;
}
public SegmentGroup222 setSegmentGroup225(List segmentGroup225) {
this.segmentGroup225 = segmentGroup225; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy