org.milyn.edi.unedifact.d99a.IFCSUM.SegmentGroup19 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99a.IFCSUM;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99a.common.CNIConsignmentInformation;
import java.util.List;
import org.milyn.edi.unedifact.d99a.common.CTAContactInformation;
import org.milyn.edi.unedifact.d99a.common.COMCommunicationContact;
import org.milyn.edi.unedifact.d99a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d99a.common.CNTControlTotal;
import org.milyn.edi.unedifact.d99a.common.TSRTransportServiceRequirements;
import org.milyn.edi.unedifact.d99a.common.CUXCurrencies;
import org.milyn.edi.unedifact.d99a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d99a.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup19 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CNIConsignmentInformation cNIConsignmentInformation;
private List segmentGroup20;
private List segmentGroup22;
private CTAContactInformation cTAContactInformation;
private List cOMCommunicationContact;
private List dTMDateTimePeriod;
private List cNTControlTotal;
private List tSRTransportServiceRequirements;
private List cUXCurrencies;
private List mOAMonetaryAmount;
private List fTXFreeText;
private List segmentGroup24;
private List segmentGroup25;
private List segmentGroup26;
private List segmentGroup27;
private List segmentGroup29;
private List segmentGroup30;
private List segmentGroup31;
private List segmentGroup34;
private List segmentGroup41;
private List segmentGroup60;
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(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
segmentGroup20Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup22 != null && !segmentGroup22.isEmpty()) {
for(SegmentGroup22 segmentGroup22Inst : segmentGroup22) {
segmentGroup22Inst.write(nodeWriter, delimiters);
}
}
if(cTAContactInformation != null) {
nodeWriter.write("CTA");
nodeWriter.write(delimiters.getField());
cTAContactInformation.write(nodeWriter, delimiters);
}
if(cOMCommunicationContact != null && !cOMCommunicationContact.isEmpty()) {
for(COMCommunicationContact cOMCommunicationContactInst : cOMCommunicationContact) {
nodeWriter.write("COM");
nodeWriter.write(delimiters.getField());
cOMCommunicationContactInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(cNTControlTotal != null && !cNTControlTotal.isEmpty()) {
for(CNTControlTotal cNTControlTotalInst : cNTControlTotal) {
nodeWriter.write("CNT");
nodeWriter.write(delimiters.getField());
cNTControlTotalInst.write(nodeWriter, delimiters);
}
}
if(tSRTransportServiceRequirements != null && !tSRTransportServiceRequirements.isEmpty()) {
for(TSRTransportServiceRequirements tSRTransportServiceRequirementsInst : tSRTransportServiceRequirements) {
nodeWriter.write("TSR");
nodeWriter.write(delimiters.getField());
tSRTransportServiceRequirementsInst.write(nodeWriter, delimiters);
}
}
if(cUXCurrencies != null && !cUXCurrencies.isEmpty()) {
for(CUXCurrencies cUXCurrenciesInst : cUXCurrencies) {
nodeWriter.write("CUX");
nodeWriter.write(delimiters.getField());
cUXCurrenciesInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup24 != null && !segmentGroup24.isEmpty()) {
for(SegmentGroup24 segmentGroup24Inst : segmentGroup24) {
segmentGroup24Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup25 != null && !segmentGroup25.isEmpty()) {
for(SegmentGroup25 segmentGroup25Inst : segmentGroup25) {
segmentGroup25Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup26 != null && !segmentGroup26.isEmpty()) {
for(SegmentGroup26 segmentGroup26Inst : segmentGroup26) {
segmentGroup26Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup27 != null && !segmentGroup27.isEmpty()) {
for(SegmentGroup27 segmentGroup27Inst : segmentGroup27) {
segmentGroup27Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup29 != null && !segmentGroup29.isEmpty()) {
for(SegmentGroup29 segmentGroup29Inst : segmentGroup29) {
segmentGroup29Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup30 != null && !segmentGroup30.isEmpty()) {
for(SegmentGroup30 segmentGroup30Inst : segmentGroup30) {
segmentGroup30Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup31 != null && !segmentGroup31.isEmpty()) {
for(SegmentGroup31 segmentGroup31Inst : segmentGroup31) {
segmentGroup31Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup34 != null && !segmentGroup34.isEmpty()) {
for(SegmentGroup34 segmentGroup34Inst : segmentGroup34) {
segmentGroup34Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup41 != null && !segmentGroup41.isEmpty()) {
for(SegmentGroup41 segmentGroup41Inst : segmentGroup41) {
segmentGroup41Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup60 != null && !segmentGroup60.isEmpty()) {
for(SegmentGroup60 segmentGroup60Inst : segmentGroup60) {
segmentGroup60Inst.write(nodeWriter, delimiters);
}
}
}
public CNIConsignmentInformation getCNIConsignmentInformation() {
return cNIConsignmentInformation;
}
public SegmentGroup19 setCNIConsignmentInformation(CNIConsignmentInformation cNIConsignmentInformation) {
this.cNIConsignmentInformation = cNIConsignmentInformation; return this;
}
public List getSegmentGroup20() {
return segmentGroup20;
}
public SegmentGroup19 setSegmentGroup20(List segmentGroup20) {
this.segmentGroup20 = segmentGroup20; return this;
}
public List getSegmentGroup22() {
return segmentGroup22;
}
public SegmentGroup19 setSegmentGroup22(List segmentGroup22) {
this.segmentGroup22 = segmentGroup22; return this;
}
public CTAContactInformation getCTAContactInformation() {
return cTAContactInformation;
}
public SegmentGroup19 setCTAContactInformation(CTAContactInformation cTAContactInformation) {
this.cTAContactInformation = cTAContactInformation; return this;
}
public List getCOMCommunicationContact() {
return cOMCommunicationContact;
}
public SegmentGroup19 setCOMCommunicationContact(List cOMCommunicationContact) {
this.cOMCommunicationContact = cOMCommunicationContact; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup19 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getCNTControlTotal() {
return cNTControlTotal;
}
public SegmentGroup19 setCNTControlTotal(List cNTControlTotal) {
this.cNTControlTotal = cNTControlTotal; return this;
}
public List getTSRTransportServiceRequirements() {
return tSRTransportServiceRequirements;
}
public SegmentGroup19 setTSRTransportServiceRequirements(List tSRTransportServiceRequirements) {
this.tSRTransportServiceRequirements = tSRTransportServiceRequirements; return this;
}
public List getCUXCurrencies() {
return cUXCurrencies;
}
public SegmentGroup19 setCUXCurrencies(List cUXCurrencies) {
this.cUXCurrencies = cUXCurrencies; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup19 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup19 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup24() {
return segmentGroup24;
}
public SegmentGroup19 setSegmentGroup24(List segmentGroup24) {
this.segmentGroup24 = segmentGroup24; return this;
}
public List getSegmentGroup25() {
return segmentGroup25;
}
public SegmentGroup19 setSegmentGroup25(List segmentGroup25) {
this.segmentGroup25 = segmentGroup25; return this;
}
public List getSegmentGroup26() {
return segmentGroup26;
}
public SegmentGroup19 setSegmentGroup26(List segmentGroup26) {
this.segmentGroup26 = segmentGroup26; return this;
}
public List getSegmentGroup27() {
return segmentGroup27;
}
public SegmentGroup19 setSegmentGroup27(List segmentGroup27) {
this.segmentGroup27 = segmentGroup27; return this;
}
public List getSegmentGroup29() {
return segmentGroup29;
}
public SegmentGroup19 setSegmentGroup29(List segmentGroup29) {
this.segmentGroup29 = segmentGroup29; return this;
}
public List getSegmentGroup30() {
return segmentGroup30;
}
public SegmentGroup19 setSegmentGroup30(List segmentGroup30) {
this.segmentGroup30 = segmentGroup30; return this;
}
public List getSegmentGroup31() {
return segmentGroup31;
}
public SegmentGroup19 setSegmentGroup31(List segmentGroup31) {
this.segmentGroup31 = segmentGroup31; return this;
}
public List getSegmentGroup34() {
return segmentGroup34;
}
public SegmentGroup19 setSegmentGroup34(List segmentGroup34) {
this.segmentGroup34 = segmentGroup34; return this;
}
public List getSegmentGroup41() {
return segmentGroup41;
}
public SegmentGroup19 setSegmentGroup41(List segmentGroup41) {
this.segmentGroup41 = segmentGroup41; return this;
}
public List getSegmentGroup60() {
return segmentGroup60;
}
public SegmentGroup19 setSegmentGroup60(List segmentGroup60) {
this.segmentGroup60 = segmentGroup60; return this;
}
}