org.milyn.edi.unedifact.d15a.GOVCBR.SegmentGroup122 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.GIDGoodsItemDetails;
import java.util.List;
import org.milyn.edi.unedifact.d15a.common.IMDItemDescription;
import org.milyn.edi.unedifact.d15a.common.APPApplicability;
import org.milyn.edi.unedifact.d15a.common.FTXFreeText;
import org.milyn.edi.unedifact.d15a.common.RFFReference;
import org.milyn.edi.unedifact.d15a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d15a.common.GIRRelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d15a.common.GINGoodsIdentityNumber;
import org.milyn.edi.unedifact.d15a.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d15a.common.MEAMeasurements;
import org.milyn.edi.unedifact.d15a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d15a.common.CDIPhysicalOrLogicalState;
import org.milyn.edi.unedifact.d15a.common.PGIProductGroupInformation;
import org.milyn.edi.unedifact.d15a.common.TCCChargeRateCalculations;
import org.milyn.edi.unedifact.d15a.common.CNTControlTotal;
import org.milyn.edi.unedifact.d15a.common.IFDInformationDetail;
import org.milyn.edi.unedifact.d15a.common.TDTTransportInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup122 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private GIDGoodsItemDetails gIDGoodsItemDetails;
private List iMDItemDescription;
private List aPPApplicability;
private List fTXFreeText;
private List rFFReference;
private List dTMDateTimePeriod;
private List gIRRelatedIdentificationNumbers;
private List gINGoodsIdentityNumber;
private List gEIProcessingInformation;
private List mEAMeasurements;
private List mOAMonetaryAmount;
private List cDIPhysicalOrLogicalState;
private List pGIProductGroupInformation;
private List tCCChargeRateCalculations;
private List cNTControlTotal;
private List iFDInformationDetail;
private List tDTTransportInformation;
private List segmentGroup123;
private List segmentGroup124;
private List segmentGroup126;
private List segmentGroup130;
private List segmentGroup132;
private List segmentGroup133;
private SegmentGroup134 segmentGroup134;
private List segmentGroup137;
private List segmentGroup142;
private List segmentGroup143;
private List segmentGroup145;
private List segmentGroup146;
private List segmentGroup147;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(gIDGoodsItemDetails != null) {
nodeWriter.write("GID");
nodeWriter.write(delimiters.getField());
gIDGoodsItemDetails.write(nodeWriter, delimiters);
}
if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescriptionInst.write(nodeWriter, delimiters);
}
}
if(aPPApplicability != null && !aPPApplicability.isEmpty()) {
for(APPApplicability aPPApplicabilityInst : aPPApplicability) {
nodeWriter.write("APP");
nodeWriter.write(delimiters.getField());
aPPApplicabilityInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.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(gIRRelatedIdentificationNumbers != null && !gIRRelatedIdentificationNumbers.isEmpty()) {
for(GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbersInst : gIRRelatedIdentificationNumbers) {
nodeWriter.write("GIR");
nodeWriter.write(delimiters.getField());
gIRRelatedIdentificationNumbersInst.write(nodeWriter, delimiters);
}
}
if(gINGoodsIdentityNumber != null && !gINGoodsIdentityNumber.isEmpty()) {
for(GINGoodsIdentityNumber gINGoodsIdentityNumberInst : gINGoodsIdentityNumber) {
nodeWriter.write("GIN");
nodeWriter.write(delimiters.getField());
gINGoodsIdentityNumberInst.write(nodeWriter, delimiters);
}
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(cDIPhysicalOrLogicalState != null && !cDIPhysicalOrLogicalState.isEmpty()) {
for(CDIPhysicalOrLogicalState cDIPhysicalOrLogicalStateInst : cDIPhysicalOrLogicalState) {
nodeWriter.write("CDI");
nodeWriter.write(delimiters.getField());
cDIPhysicalOrLogicalStateInst.write(nodeWriter, delimiters);
}
}
if(pGIProductGroupInformation != null && !pGIProductGroupInformation.isEmpty()) {
for(PGIProductGroupInformation pGIProductGroupInformationInst : pGIProductGroupInformation) {
nodeWriter.write("PGI");
nodeWriter.write(delimiters.getField());
pGIProductGroupInformationInst.write(nodeWriter, delimiters);
}
}
if(tCCChargeRateCalculations != null && !tCCChargeRateCalculations.isEmpty()) {
for(TCCChargeRateCalculations tCCChargeRateCalculationsInst : tCCChargeRateCalculations) {
nodeWriter.write("TCC");
nodeWriter.write(delimiters.getField());
tCCChargeRateCalculationsInst.write(nodeWriter, delimiters);
}
}
if(cNTControlTotal != null && !cNTControlTotal.isEmpty()) {
for(CNTControlTotal cNTControlTotalInst : cNTControlTotal) {
nodeWriter.write("CNT");
nodeWriter.write(delimiters.getField());
cNTControlTotalInst.write(nodeWriter, delimiters);
}
}
if(iFDInformationDetail != null && !iFDInformationDetail.isEmpty()) {
for(IFDInformationDetail iFDInformationDetailInst : iFDInformationDetail) {
nodeWriter.write("IFD");
nodeWriter.write(delimiters.getField());
iFDInformationDetailInst.write(nodeWriter, delimiters);
}
}
if(tDTTransportInformation != null && !tDTTransportInformation.isEmpty()) {
for(TDTTransportInformation tDTTransportInformationInst : tDTTransportInformation) {
nodeWriter.write("TDT");
nodeWriter.write(delimiters.getField());
tDTTransportInformationInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup123 != null && !segmentGroup123.isEmpty()) {
for(SegmentGroup123 segmentGroup123Inst : segmentGroup123) {
segmentGroup123Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup124 != null && !segmentGroup124.isEmpty()) {
for(SegmentGroup124 segmentGroup124Inst : segmentGroup124) {
segmentGroup124Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup126 != null && !segmentGroup126.isEmpty()) {
for(SegmentGroup126 segmentGroup126Inst : segmentGroup126) {
segmentGroup126Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup130 != null && !segmentGroup130.isEmpty()) {
for(SegmentGroup130 segmentGroup130Inst : segmentGroup130) {
segmentGroup130Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup132 != null && !segmentGroup132.isEmpty()) {
for(SegmentGroup132 segmentGroup132Inst : segmentGroup132) {
segmentGroup132Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup133 != null && !segmentGroup133.isEmpty()) {
for(SegmentGroup133 segmentGroup133Inst : segmentGroup133) {
segmentGroup133Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup134 != null) {
segmentGroup134.write(nodeWriter, delimiters);
}
if(segmentGroup137 != null && !segmentGroup137.isEmpty()) {
for(SegmentGroup137 segmentGroup137Inst : segmentGroup137) {
segmentGroup137Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup142 != null && !segmentGroup142.isEmpty()) {
for(SegmentGroup142 segmentGroup142Inst : segmentGroup142) {
segmentGroup142Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup143 != null && !segmentGroup143.isEmpty()) {
for(SegmentGroup143 segmentGroup143Inst : segmentGroup143) {
segmentGroup143Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup145 != null && !segmentGroup145.isEmpty()) {
for(SegmentGroup145 segmentGroup145Inst : segmentGroup145) {
segmentGroup145Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup146 != null && !segmentGroup146.isEmpty()) {
for(SegmentGroup146 segmentGroup146Inst : segmentGroup146) {
segmentGroup146Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup147 != null && !segmentGroup147.isEmpty()) {
for(SegmentGroup147 segmentGroup147Inst : segmentGroup147) {
segmentGroup147Inst.write(nodeWriter, delimiters);
}
}
}
public GIDGoodsItemDetails getGIDGoodsItemDetails() {
return gIDGoodsItemDetails;
}
public SegmentGroup122 setGIDGoodsItemDetails(GIDGoodsItemDetails gIDGoodsItemDetails) {
this.gIDGoodsItemDetails = gIDGoodsItemDetails; return this;
}
public List getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup122 setIMDItemDescription(List iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getAPPApplicability() {
return aPPApplicability;
}
public SegmentGroup122 setAPPApplicability(List aPPApplicability) {
this.aPPApplicability = aPPApplicability; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup122 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup122 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup122 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getGIRRelatedIdentificationNumbers() {
return gIRRelatedIdentificationNumbers;
}
public SegmentGroup122 setGIRRelatedIdentificationNumbers(List gIRRelatedIdentificationNumbers) {
this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers; return this;
}
public List getGINGoodsIdentityNumber() {
return gINGoodsIdentityNumber;
}
public SegmentGroup122 setGINGoodsIdentityNumber(List gINGoodsIdentityNumber) {
this.gINGoodsIdentityNumber = gINGoodsIdentityNumber; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup122 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup122 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup122 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getCDIPhysicalOrLogicalState() {
return cDIPhysicalOrLogicalState;
}
public SegmentGroup122 setCDIPhysicalOrLogicalState(List cDIPhysicalOrLogicalState) {
this.cDIPhysicalOrLogicalState = cDIPhysicalOrLogicalState; return this;
}
public List getPGIProductGroupInformation() {
return pGIProductGroupInformation;
}
public SegmentGroup122 setPGIProductGroupInformation(List pGIProductGroupInformation) {
this.pGIProductGroupInformation = pGIProductGroupInformation; return this;
}
public List getTCCChargeRateCalculations() {
return tCCChargeRateCalculations;
}
public SegmentGroup122 setTCCChargeRateCalculations(List tCCChargeRateCalculations) {
this.tCCChargeRateCalculations = tCCChargeRateCalculations; return this;
}
public List getCNTControlTotal() {
return cNTControlTotal;
}
public SegmentGroup122 setCNTControlTotal(List cNTControlTotal) {
this.cNTControlTotal = cNTControlTotal; return this;
}
public List getIFDInformationDetail() {
return iFDInformationDetail;
}
public SegmentGroup122 setIFDInformationDetail(List iFDInformationDetail) {
this.iFDInformationDetail = iFDInformationDetail; return this;
}
public List getTDTTransportInformation() {
return tDTTransportInformation;
}
public SegmentGroup122 setTDTTransportInformation(List tDTTransportInformation) {
this.tDTTransportInformation = tDTTransportInformation; return this;
}
public List getSegmentGroup123() {
return segmentGroup123;
}
public SegmentGroup122 setSegmentGroup123(List segmentGroup123) {
this.segmentGroup123 = segmentGroup123; return this;
}
public List getSegmentGroup124() {
return segmentGroup124;
}
public SegmentGroup122 setSegmentGroup124(List segmentGroup124) {
this.segmentGroup124 = segmentGroup124; return this;
}
public List getSegmentGroup126() {
return segmentGroup126;
}
public SegmentGroup122 setSegmentGroup126(List segmentGroup126) {
this.segmentGroup126 = segmentGroup126; return this;
}
public List getSegmentGroup130() {
return segmentGroup130;
}
public SegmentGroup122 setSegmentGroup130(List segmentGroup130) {
this.segmentGroup130 = segmentGroup130; return this;
}
public List getSegmentGroup132() {
return segmentGroup132;
}
public SegmentGroup122 setSegmentGroup132(List segmentGroup132) {
this.segmentGroup132 = segmentGroup132; return this;
}
public List getSegmentGroup133() {
return segmentGroup133;
}
public SegmentGroup122 setSegmentGroup133(List segmentGroup133) {
this.segmentGroup133 = segmentGroup133; return this;
}
public SegmentGroup134 getSegmentGroup134() {
return segmentGroup134;
}
public SegmentGroup122 setSegmentGroup134(SegmentGroup134 segmentGroup134) {
this.segmentGroup134 = segmentGroup134; return this;
}
public List getSegmentGroup137() {
return segmentGroup137;
}
public SegmentGroup122 setSegmentGroup137(List segmentGroup137) {
this.segmentGroup137 = segmentGroup137; return this;
}
public List getSegmentGroup142() {
return segmentGroup142;
}
public SegmentGroup122 setSegmentGroup142(List segmentGroup142) {
this.segmentGroup142 = segmentGroup142; return this;
}
public List getSegmentGroup143() {
return segmentGroup143;
}
public SegmentGroup122 setSegmentGroup143(List segmentGroup143) {
this.segmentGroup143 = segmentGroup143; return this;
}
public List getSegmentGroup145() {
return segmentGroup145;
}
public SegmentGroup122 setSegmentGroup145(List segmentGroup145) {
this.segmentGroup145 = segmentGroup145; return this;
}
public List getSegmentGroup146() {
return segmentGroup146;
}
public SegmentGroup122 setSegmentGroup146(List segmentGroup146) {
this.segmentGroup146 = segmentGroup146; return this;
}
public List getSegmentGroup147() {
return segmentGroup147;
}
public SegmentGroup122 setSegmentGroup147(List segmentGroup147) {
this.segmentGroup147 = segmentGroup147; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy