org.milyn.edi.unedifact.d11b.GOVCBR.SegmentGroup138 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d11b.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d11b.common.CNIConsignmentInformation;
import java.util.List;
import org.milyn.edi.unedifact.d11b.common.RFFReference;
import org.milyn.edi.unedifact.d11b.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d11b.common.STSStatus;
import org.milyn.edi.unedifact.d11b.common.MEAMeasurements;
import org.milyn.edi.unedifact.d11b.common.QTYQuantity;
import org.milyn.edi.unedifact.d11b.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d11b.common.IFDInformationDetail;
import org.milyn.edi.unedifact.d11b.common.HANHandlingInstructions;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup138 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CNIConsignmentInformation cNIConsignmentInformation;
private List rFFReference;
private List gEIProcessingInformation;
private List sTSStatus;
private MEAMeasurements mEAMeasurements;
private List qTYQuantity;
private List mOAMonetaryAmount;
private List iFDInformationDetail;
private HANHandlingInstructions hANHandlingInstructions;
private List segmentGroup139;
private List segmentGroup141;
private List segmentGroup142;
private List segmentGroup146;
private SegmentGroup148 segmentGroup148;
private List segmentGroup151;
private List segmentGroup152;
private List segmentGroup153;
private List segmentGroup154;
private SegmentGroup155 segmentGroup155;
private List segmentGroup156;
private List segmentGroup161;
private List segmentGroup177;
private List segmentGroup224;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cNIConsignmentInformation != null) {
nodeWriter.write("CNI");
nodeWriter.write(delimiters.getField());
cNIConsignmentInformation.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
if(sTSStatus != null && !sTSStatus.isEmpty()) {
for(STSStatus sTSStatusInst : sTSStatus) {
nodeWriter.write("STS");
nodeWriter.write(delimiters.getField());
sTSStatusInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurements.write(nodeWriter, delimiters);
}
if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
for(QTYQuantity qTYQuantityInst : qTYQuantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantityInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(iFDInformationDetail != null && !iFDInformationDetail.isEmpty()) {
for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
nodeWriter.write("IFD");
nodeWriter.write(delimiters.getField());
iFDInformationDetailInst.write(nodeWriter, delimiters);
}
}
if(hANHandlingInstructions != null) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
hANHandlingInstructions.write(nodeWriter, delimiters);
}
if(segmentGroup139 != null && !segmentGroup139.isEmpty()) {
for(SegmentGroup139 segmentGroup139Inst : segmentGroup139) {
segmentGroup139Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup141 != null && !segmentGroup141.isEmpty()) {
for(SegmentGroup141 segmentGroup141Inst : segmentGroup141) {
segmentGroup141Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup142 != null && !segmentGroup142.isEmpty()) {
for(SegmentGroup142 segmentGroup142Inst : segmentGroup142) {
segmentGroup142Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup146 != null && !segmentGroup146.isEmpty()) {
for(SegmentGroup146 segmentGroup146Inst : segmentGroup146) {
segmentGroup146Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup148 != null) {
segmentGroup148.write(nodeWriter, delimiters);
}
if(segmentGroup151 != null && !segmentGroup151.isEmpty()) {
for(SegmentGroup151 segmentGroup151Inst : segmentGroup151) {
segmentGroup151Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup152 != null && !segmentGroup152.isEmpty()) {
for(SegmentGroup152 segmentGroup152Inst : segmentGroup152) {
segmentGroup152Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup153 != null && !segmentGroup153.isEmpty()) {
for(SegmentGroup153 segmentGroup153Inst : segmentGroup153) {
segmentGroup153Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup154 != null && !segmentGroup154.isEmpty()) {
for(SegmentGroup154 segmentGroup154Inst : segmentGroup154) {
segmentGroup154Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup155 != null) {
segmentGroup155.write(nodeWriter, delimiters);
}
if(segmentGroup156 != null && !segmentGroup156.isEmpty()) {
for(SegmentGroup156 segmentGroup156Inst : segmentGroup156) {
segmentGroup156Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup161 != null && !segmentGroup161.isEmpty()) {
for(SegmentGroup161 segmentGroup161Inst : segmentGroup161) {
segmentGroup161Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup177 != null && !segmentGroup177.isEmpty()) {
for(SegmentGroup177 segmentGroup177Inst : segmentGroup177) {
segmentGroup177Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup224 != null && !segmentGroup224.isEmpty()) {
for(SegmentGroup224 segmentGroup224Inst : segmentGroup224) {
segmentGroup224Inst.write(nodeWriter, delimiters);
}
}
}
public CNIConsignmentInformation getCNIConsignmentInformation() {
return cNIConsignmentInformation;
}
public SegmentGroup138 setCNIConsignmentInformation(CNIConsignmentInformation cNIConsignmentInformation) {
this.cNIConsignmentInformation = cNIConsignmentInformation; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup138 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup138 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getSTSStatus() {
return sTSStatus;
}
public SegmentGroup138 setSTSStatus(List sTSStatus) {
this.sTSStatus = sTSStatus; return this;
}
public MEAMeasurements getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup138 setMEAMeasurements(MEAMeasurements mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup138 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup138 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getIFDInformationDetail() {
return iFDInformationDetail;
}
public SegmentGroup138 setIFDInformationDetail(List iFDInformationDetail) {
this.iFDInformationDetail = iFDInformationDetail; return this;
}
public HANHandlingInstructions getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup138 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public List getSegmentGroup139() {
return segmentGroup139;
}
public SegmentGroup138 setSegmentGroup139(List segmentGroup139) {
this.segmentGroup139 = segmentGroup139; return this;
}
public List getSegmentGroup141() {
return segmentGroup141;
}
public SegmentGroup138 setSegmentGroup141(List segmentGroup141) {
this.segmentGroup141 = segmentGroup141; return this;
}
public List getSegmentGroup142() {
return segmentGroup142;
}
public SegmentGroup138 setSegmentGroup142(List segmentGroup142) {
this.segmentGroup142 = segmentGroup142; return this;
}
public List getSegmentGroup146() {
return segmentGroup146;
}
public SegmentGroup138 setSegmentGroup146(List segmentGroup146) {
this.segmentGroup146 = segmentGroup146; return this;
}
public SegmentGroup148 getSegmentGroup148() {
return segmentGroup148;
}
public SegmentGroup138 setSegmentGroup148(SegmentGroup148 segmentGroup148) {
this.segmentGroup148 = segmentGroup148; return this;
}
public List getSegmentGroup151() {
return segmentGroup151;
}
public SegmentGroup138 setSegmentGroup151(List segmentGroup151) {
this.segmentGroup151 = segmentGroup151; return this;
}
public List getSegmentGroup152() {
return segmentGroup152;
}
public SegmentGroup138 setSegmentGroup152(List segmentGroup152) {
this.segmentGroup152 = segmentGroup152; return this;
}
public List getSegmentGroup153() {
return segmentGroup153;
}
public SegmentGroup138 setSegmentGroup153(List segmentGroup153) {
this.segmentGroup153 = segmentGroup153; return this;
}
public List getSegmentGroup154() {
return segmentGroup154;
}
public SegmentGroup138 setSegmentGroup154(List segmentGroup154) {
this.segmentGroup154 = segmentGroup154; return this;
}
public SegmentGroup155 getSegmentGroup155() {
return segmentGroup155;
}
public SegmentGroup138 setSegmentGroup155(SegmentGroup155 segmentGroup155) {
this.segmentGroup155 = segmentGroup155; return this;
}
public List getSegmentGroup156() {
return segmentGroup156;
}
public SegmentGroup138 setSegmentGroup156(List segmentGroup156) {
this.segmentGroup156 = segmentGroup156; return this;
}
public List getSegmentGroup161() {
return segmentGroup161;
}
public SegmentGroup138 setSegmentGroup161(List segmentGroup161) {
this.segmentGroup161 = segmentGroup161; return this;
}
public List getSegmentGroup177() {
return segmentGroup177;
}
public SegmentGroup138 setSegmentGroup177(List segmentGroup177) {
this.segmentGroup177 = segmentGroup177; return this;
}
public List getSegmentGroup224() {
return segmentGroup224;
}
public SegmentGroup138 setSegmentGroup224(List segmentGroup224) {
this.segmentGroup224 = segmentGroup224; return this;
}
}