org.milyn.edi.unedifact.d09b.GOVCBR.SegmentGroup113 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.DOCDocumentMessageDetails;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.RFFReference;
import org.milyn.edi.unedifact.d09b.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d09b.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d09b.common.ALIAdditionalInformation;
import org.milyn.edi.unedifact.d09b.common.QTYQuantity;
import org.milyn.edi.unedifact.d09b.common.TSRTransportServiceRequirements;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup113 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 segmentGroup114;
private List segmentGroup116;
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(segmentGroup114 != null && !segmentGroup114.isEmpty()) {
for(SegmentGroup114 segmentGroup114Inst : segmentGroup114) {
segmentGroup114Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup116 != null && !segmentGroup116.isEmpty()) {
for(SegmentGroup116 segmentGroup116Inst : segmentGroup116) {
segmentGroup116Inst.write(nodeWriter, delimiters);
}
}
}
public DOCDocumentMessageDetails getDOCDocumentMessageDetails() {
return dOCDocumentMessageDetails;
}
public SegmentGroup113 setDOCDocumentMessageDetails(DOCDocumentMessageDetails dOCDocumentMessageDetails) {
this.dOCDocumentMessageDetails = dOCDocumentMessageDetails; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup113 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup113 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup113 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public ALIAdditionalInformation getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup113 setALIAdditionalInformation(ALIAdditionalInformation aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup113 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getTSRTransportServiceRequirements() {
return tSRTransportServiceRequirements;
}
public SegmentGroup113 setTSRTransportServiceRequirements(List tSRTransportServiceRequirements) {
this.tSRTransportServiceRequirements = tSRTransportServiceRequirements; return this;
}
public List getSegmentGroup114() {
return segmentGroup114;
}
public SegmentGroup113 setSegmentGroup114(List segmentGroup114) {
this.segmentGroup114 = segmentGroup114; return this;
}
public List getSegmentGroup116() {
return segmentGroup116;
}
public SegmentGroup113 setSegmentGroup116(List segmentGroup116) {
this.segmentGroup116 = segmentGroup116; return this;
}
}