org.milyn.edi.unedifact.d09b.IFCSUM.SegmentGroup51 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.IFCSUM;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.GIDGoodsItemDetails;
import org.milyn.edi.unedifact.d09b.common.HANHandlingInstructions;
import org.milyn.edi.unedifact.d09b.common.TMPTemperature;
import org.milyn.edi.unedifact.d09b.common.RNGRangeDetails;
import org.milyn.edi.unedifact.d09b.common.TMDTransportMovementDetails;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.LOCPlaceLocationIdentification;
import org.milyn.edi.unedifact.d09b.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d09b.common.PIAAdditionalProductId;
import org.milyn.edi.unedifact.d09b.common.GINGoodsIdentityNumber;
import org.milyn.edi.unedifact.d09b.common.FTXFreeText;
import org.milyn.edi.unedifact.d09b.common.GDSNatureOfCargo;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup51 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private GIDGoodsItemDetails gIDGoodsItemDetails;
private HANHandlingInstructions hANHandlingInstructions;
private TMPTemperature tMPTemperature;
private RNGRangeDetails rNGRangeDetails;
private TMDTransportMovementDetails tMDTransportMovementDetails;
private List lOCPlaceLocationIdentification;
private List mOAMonetaryAmount;
private List pIAAdditionalProductId;
private List gINGoodsIdentityNumber;
private List fTXFreeText;
private List segmentGroup52;
private List gDSNatureOfCargo;
private List segmentGroup53;
private List segmentGroup54;
private List segmentGroup55;
private List segmentGroup56;
private List segmentGroup57;
private List segmentGroup58;
private List segmentGroup60;
private List segmentGroup62;
private List segmentGroup64;
private List segmentGroup65;
private List segmentGroup66;
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(hANHandlingInstructions != null) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
hANHandlingInstructions.write(nodeWriter, delimiters);
}
if(tMPTemperature != null) {
nodeWriter.write("TMP");
nodeWriter.write(delimiters.getField());
tMPTemperature.write(nodeWriter, delimiters);
}
if(rNGRangeDetails != null) {
nodeWriter.write("RNG");
nodeWriter.write(delimiters.getField());
rNGRangeDetails.write(nodeWriter, delimiters);
}
if(tMDTransportMovementDetails != null) {
nodeWriter.write("TMD");
nodeWriter.write(delimiters.getField());
tMDTransportMovementDetails.write(nodeWriter, delimiters);
}
if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(pIAAdditionalProductId != null && !pIAAdditionalProductId.isEmpty()) {
for(PIAAdditionalProductId pIAAdditionalProductIdInst : pIAAdditionalProductId) {
nodeWriter.write("PIA");
nodeWriter.write(delimiters.getField());
pIAAdditionalProductIdInst.write(nodeWriter, delimiters);
}
}
if(gINGoodsIdentityNumber != null && !gINGoodsIdentityNumber.isEmpty()) {
for(GINGoodsIdentityNumber gINGoodsIdentityNumberInst : gINGoodsIdentityNumber) {
nodeWriter.write("GIN");
nodeWriter.write(delimiters.getField());
gINGoodsIdentityNumberInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup52 != null && !segmentGroup52.isEmpty()) {
for(SegmentGroup52 segmentGroup52Inst : segmentGroup52) {
segmentGroup52Inst.write(nodeWriter, delimiters);
}
}
if(gDSNatureOfCargo != null && !gDSNatureOfCargo.isEmpty()) {
for(GDSNatureOfCargo gDSNatureOfCargoInst : gDSNatureOfCargo) {
nodeWriter.write("GDS");
nodeWriter.write(delimiters.getField());
gDSNatureOfCargoInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup53 != null && !segmentGroup53.isEmpty()) {
for(SegmentGroup53 segmentGroup53Inst : segmentGroup53) {
segmentGroup53Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup54 != null && !segmentGroup54.isEmpty()) {
for(SegmentGroup54 segmentGroup54Inst : segmentGroup54) {
segmentGroup54Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup55 != null && !segmentGroup55.isEmpty()) {
for(SegmentGroup55 segmentGroup55Inst : segmentGroup55) {
segmentGroup55Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup56 != null && !segmentGroup56.isEmpty()) {
for(SegmentGroup56 segmentGroup56Inst : segmentGroup56) {
segmentGroup56Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup57 != null && !segmentGroup57.isEmpty()) {
for(SegmentGroup57 segmentGroup57Inst : segmentGroup57) {
segmentGroup57Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup58 != null && !segmentGroup58.isEmpty()) {
for(SegmentGroup58 segmentGroup58Inst : segmentGroup58) {
segmentGroup58Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup60 != null && !segmentGroup60.isEmpty()) {
for(SegmentGroup60 segmentGroup60Inst : segmentGroup60) {
segmentGroup60Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup62 != null && !segmentGroup62.isEmpty()) {
for(SegmentGroup62 segmentGroup62Inst : segmentGroup62) {
segmentGroup62Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup64 != null && !segmentGroup64.isEmpty()) {
for(SegmentGroup64 segmentGroup64Inst : segmentGroup64) {
segmentGroup64Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup65 != null && !segmentGroup65.isEmpty()) {
for(SegmentGroup65 segmentGroup65Inst : segmentGroup65) {
segmentGroup65Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup66 != null && !segmentGroup66.isEmpty()) {
for(SegmentGroup66 segmentGroup66Inst : segmentGroup66) {
segmentGroup66Inst.write(nodeWriter, delimiters);
}
}
}
public GIDGoodsItemDetails getGIDGoodsItemDetails() {
return gIDGoodsItemDetails;
}
public SegmentGroup51 setGIDGoodsItemDetails(GIDGoodsItemDetails gIDGoodsItemDetails) {
this.gIDGoodsItemDetails = gIDGoodsItemDetails; return this;
}
public HANHandlingInstructions getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup51 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public TMPTemperature getTMPTemperature() {
return tMPTemperature;
}
public SegmentGroup51 setTMPTemperature(TMPTemperature tMPTemperature) {
this.tMPTemperature = tMPTemperature; return this;
}
public RNGRangeDetails getRNGRangeDetails() {
return rNGRangeDetails;
}
public SegmentGroup51 setRNGRangeDetails(RNGRangeDetails rNGRangeDetails) {
this.rNGRangeDetails = rNGRangeDetails; return this;
}
public TMDTransportMovementDetails getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup51 setTMDTransportMovementDetails(TMDTransportMovementDetails tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup51 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup51 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup51 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getGINGoodsIdentityNumber() {
return gINGoodsIdentityNumber;
}
public SegmentGroup51 setGINGoodsIdentityNumber(List gINGoodsIdentityNumber) {
this.gINGoodsIdentityNumber = gINGoodsIdentityNumber; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup51 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup52() {
return segmentGroup52;
}
public SegmentGroup51 setSegmentGroup52(List segmentGroup52) {
this.segmentGroup52 = segmentGroup52; return this;
}
public List getGDSNatureOfCargo() {
return gDSNatureOfCargo;
}
public SegmentGroup51 setGDSNatureOfCargo(List gDSNatureOfCargo) {
this.gDSNatureOfCargo = gDSNatureOfCargo; return this;
}
public List getSegmentGroup53() {
return segmentGroup53;
}
public SegmentGroup51 setSegmentGroup53(List segmentGroup53) {
this.segmentGroup53 = segmentGroup53; return this;
}
public List getSegmentGroup54() {
return segmentGroup54;
}
public SegmentGroup51 setSegmentGroup54(List segmentGroup54) {
this.segmentGroup54 = segmentGroup54; return this;
}
public List getSegmentGroup55() {
return segmentGroup55;
}
public SegmentGroup51 setSegmentGroup55(List segmentGroup55) {
this.segmentGroup55 = segmentGroup55; return this;
}
public List getSegmentGroup56() {
return segmentGroup56;
}
public SegmentGroup51 setSegmentGroup56(List segmentGroup56) {
this.segmentGroup56 = segmentGroup56; return this;
}
public List getSegmentGroup57() {
return segmentGroup57;
}
public SegmentGroup51 setSegmentGroup57(List segmentGroup57) {
this.segmentGroup57 = segmentGroup57; return this;
}
public List getSegmentGroup58() {
return segmentGroup58;
}
public SegmentGroup51 setSegmentGroup58(List segmentGroup58) {
this.segmentGroup58 = segmentGroup58; return this;
}
public List getSegmentGroup60() {
return segmentGroup60;
}
public SegmentGroup51 setSegmentGroup60(List segmentGroup60) {
this.segmentGroup60 = segmentGroup60; return this;
}
public List getSegmentGroup62() {
return segmentGroup62;
}
public SegmentGroup51 setSegmentGroup62(List segmentGroup62) {
this.segmentGroup62 = segmentGroup62; return this;
}
public List getSegmentGroup64() {
return segmentGroup64;
}
public SegmentGroup51 setSegmentGroup64(List segmentGroup64) {
this.segmentGroup64 = segmentGroup64; return this;
}
public List getSegmentGroup65() {
return segmentGroup65;
}
public SegmentGroup51 setSegmentGroup65(List segmentGroup65) {
this.segmentGroup65 = segmentGroup65; return this;
}
public List getSegmentGroup66() {
return segmentGroup66;
}
public SegmentGroup51 setSegmentGroup66(List segmentGroup66) {
this.segmentGroup66 = segmentGroup66; return this;
}
}