org.milyn.edi.unedifact.d99a.IFCSUM.SegmentGroup41 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.GIDGoodsItemDetails;
import org.milyn.edi.unedifact.d99a.common.HANHandlingInstructions;
import org.milyn.edi.unedifact.d99a.common.TMPTemperature;
import org.milyn.edi.unedifact.d99a.common.RNGRangeDetails;
import org.milyn.edi.unedifact.d99a.common.TMDTransportMovementDetails;
import java.util.List;
import org.milyn.edi.unedifact.d99a.common.LOCPlaceLocationIdentification;
import org.milyn.edi.unedifact.d99a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d99a.common.PIAAdditionalProductId;
import org.milyn.edi.unedifact.d99a.common.GINGoodsIdentityNumber;
import org.milyn.edi.unedifact.d99a.common.FTXFreeText;
import org.milyn.edi.unedifact.d99a.common.GDSNatureOfCargo;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup41 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 segmentGroup42;
private List gDSNatureOfCargo;
private List segmentGroup43;
private List segmentGroup44;
private List segmentGroup45;
private List segmentGroup46;
private List segmentGroup47;
private List segmentGroup48;
private List segmentGroup50;
private List segmentGroup52;
private List segmentGroup54;
private List segmentGroup55;
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(segmentGroup42 != null && !segmentGroup42.isEmpty()) {
for(SegmentGroup42 segmentGroup42Inst : segmentGroup42) {
segmentGroup42Inst.write(nodeWriter, delimiters);
}
}
if(gDSNatureOfCargo != null && !gDSNatureOfCargo.isEmpty()) {
for(GDSNatureOfCargo gDSNatureOfCargoInst : gDSNatureOfCargo) {
nodeWriter.write("GDS");
nodeWriter.write(delimiters.getField());
gDSNatureOfCargoInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup43 != null && !segmentGroup43.isEmpty()) {
for(SegmentGroup43 segmentGroup43Inst : segmentGroup43) {
segmentGroup43Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup44 != null && !segmentGroup44.isEmpty()) {
for(SegmentGroup44 segmentGroup44Inst : segmentGroup44) {
segmentGroup44Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup45 != null && !segmentGroup45.isEmpty()) {
for(SegmentGroup45 segmentGroup45Inst : segmentGroup45) {
segmentGroup45Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup46 != null && !segmentGroup46.isEmpty()) {
for(SegmentGroup46 segmentGroup46Inst : segmentGroup46) {
segmentGroup46Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup47 != null && !segmentGroup47.isEmpty()) {
for(SegmentGroup47 segmentGroup47Inst : segmentGroup47) {
segmentGroup47Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup48 != null && !segmentGroup48.isEmpty()) {
for(SegmentGroup48 segmentGroup48Inst : segmentGroup48) {
segmentGroup48Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup50 != null && !segmentGroup50.isEmpty()) {
for(SegmentGroup50 segmentGroup50Inst : segmentGroup50) {
segmentGroup50Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup52 != null && !segmentGroup52.isEmpty()) {
for(SegmentGroup52 segmentGroup52Inst : segmentGroup52) {
segmentGroup52Inst.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);
}
}
}
public GIDGoodsItemDetails getGIDGoodsItemDetails() {
return gIDGoodsItemDetails;
}
public SegmentGroup41 setGIDGoodsItemDetails(GIDGoodsItemDetails gIDGoodsItemDetails) {
this.gIDGoodsItemDetails = gIDGoodsItemDetails; return this;
}
public HANHandlingInstructions getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup41 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public TMPTemperature getTMPTemperature() {
return tMPTemperature;
}
public SegmentGroup41 setTMPTemperature(TMPTemperature tMPTemperature) {
this.tMPTemperature = tMPTemperature; return this;
}
public RNGRangeDetails getRNGRangeDetails() {
return rNGRangeDetails;
}
public SegmentGroup41 setRNGRangeDetails(RNGRangeDetails rNGRangeDetails) {
this.rNGRangeDetails = rNGRangeDetails; return this;
}
public TMDTransportMovementDetails getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup41 setTMDTransportMovementDetails(TMDTransportMovementDetails tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup41 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup41 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup41 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getGINGoodsIdentityNumber() {
return gINGoodsIdentityNumber;
}
public SegmentGroup41 setGINGoodsIdentityNumber(List gINGoodsIdentityNumber) {
this.gINGoodsIdentityNumber = gINGoodsIdentityNumber; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup41 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup42() {
return segmentGroup42;
}
public SegmentGroup41 setSegmentGroup42(List segmentGroup42) {
this.segmentGroup42 = segmentGroup42; return this;
}
public List getGDSNatureOfCargo() {
return gDSNatureOfCargo;
}
public SegmentGroup41 setGDSNatureOfCargo(List gDSNatureOfCargo) {
this.gDSNatureOfCargo = gDSNatureOfCargo; return this;
}
public List getSegmentGroup43() {
return segmentGroup43;
}
public SegmentGroup41 setSegmentGroup43(List segmentGroup43) {
this.segmentGroup43 = segmentGroup43; return this;
}
public List getSegmentGroup44() {
return segmentGroup44;
}
public SegmentGroup41 setSegmentGroup44(List segmentGroup44) {
this.segmentGroup44 = segmentGroup44; return this;
}
public List getSegmentGroup45() {
return segmentGroup45;
}
public SegmentGroup41 setSegmentGroup45(List segmentGroup45) {
this.segmentGroup45 = segmentGroup45; return this;
}
public List getSegmentGroup46() {
return segmentGroup46;
}
public SegmentGroup41 setSegmentGroup46(List segmentGroup46) {
this.segmentGroup46 = segmentGroup46; return this;
}
public List getSegmentGroup47() {
return segmentGroup47;
}
public SegmentGroup41 setSegmentGroup47(List segmentGroup47) {
this.segmentGroup47 = segmentGroup47; return this;
}
public List getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup41 setSegmentGroup48(List segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
public List getSegmentGroup50() {
return segmentGroup50;
}
public SegmentGroup41 setSegmentGroup50(List segmentGroup50) {
this.segmentGroup50 = segmentGroup50; return this;
}
public List getSegmentGroup52() {
return segmentGroup52;
}
public SegmentGroup41 setSegmentGroup52(List segmentGroup52) {
this.segmentGroup52 = segmentGroup52; return this;
}
public List getSegmentGroup54() {
return segmentGroup54;
}
public SegmentGroup41 setSegmentGroup54(List segmentGroup54) {
this.segmentGroup54 = segmentGroup54; return this;
}
public List getSegmentGroup55() {
return segmentGroup55;
}
public SegmentGroup41 setSegmentGroup55(List segmentGroup55) {
this.segmentGroup55 = segmentGroup55; return this;
}
}