org.milyn.edi.unedifact.d94a.IFTMBC.SegmentGroup6 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d94a.IFTMBC;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d94a.common.GIDGoodsItemDetails;
import org.milyn.edi.unedifact.d94a.common.HANHandlingInstructions;
import org.milyn.edi.unedifact.d94a.common.TMPTemperature;
import org.milyn.edi.unedifact.d94a.common.RNGRangeDetails;
import org.milyn.edi.unedifact.d94a.common.TMDTransportMovementDetails;
import java.util.List;
import org.milyn.edi.unedifact.d94a.common.LOCPlaceLocationIdentification;
import org.milyn.edi.unedifact.d94a.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup6 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 fTXFreeText;
private List segmentGroup7;
private List segmentGroup81;
private List segmentGroup82;
private List segmentGroup9;
private List segmentGroup10;
private List segmentGroup11;
private List segmentGroup12;
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(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup7 != null && !segmentGroup7.isEmpty()) {
for(SegmentGroup7 segmentGroup7Inst : segmentGroup7) {
segmentGroup7Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup81 != null && !segmentGroup81.isEmpty()) {
for(SegmentGroup81 segmentGroup81Inst : segmentGroup81) {
segmentGroup81Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup82 != null && !segmentGroup82.isEmpty()) {
for(SegmentGroup82 segmentGroup82Inst : segmentGroup82) {
segmentGroup82Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup9 != null && !segmentGroup9.isEmpty()) {
for(SegmentGroup9 segmentGroup9Inst : segmentGroup9) {
segmentGroup9Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup10 != null && !segmentGroup10.isEmpty()) {
for(SegmentGroup10 segmentGroup10Inst : segmentGroup10) {
segmentGroup10Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup11 != null && !segmentGroup11.isEmpty()) {
for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) {
segmentGroup11Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
segmentGroup12Inst.write(nodeWriter, delimiters);
}
}
}
public GIDGoodsItemDetails getGIDGoodsItemDetails() {
return gIDGoodsItemDetails;
}
public SegmentGroup6 setGIDGoodsItemDetails(GIDGoodsItemDetails gIDGoodsItemDetails) {
this.gIDGoodsItemDetails = gIDGoodsItemDetails; return this;
}
public HANHandlingInstructions getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup6 setHANHandlingInstructions(HANHandlingInstructions hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public TMPTemperature getTMPTemperature() {
return tMPTemperature;
}
public SegmentGroup6 setTMPTemperature(TMPTemperature tMPTemperature) {
this.tMPTemperature = tMPTemperature; return this;
}
public RNGRangeDetails getRNGRangeDetails() {
return rNGRangeDetails;
}
public SegmentGroup6 setRNGRangeDetails(RNGRangeDetails rNGRangeDetails) {
this.rNGRangeDetails = rNGRangeDetails; return this;
}
public TMDTransportMovementDetails getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup6 setTMDTransportMovementDetails(TMDTransportMovementDetails tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup6 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup6 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup7() {
return segmentGroup7;
}
public SegmentGroup6 setSegmentGroup7(List segmentGroup7) {
this.segmentGroup7 = segmentGroup7; return this;
}
public List getSegmentGroup81() {
return segmentGroup81;
}
public SegmentGroup6 setSegmentGroup81(List segmentGroup81) {
this.segmentGroup81 = segmentGroup81; return this;
}
public List getSegmentGroup82() {
return segmentGroup82;
}
public SegmentGroup6 setSegmentGroup82(List segmentGroup82) {
this.segmentGroup82 = segmentGroup82; return this;
}
public List getSegmentGroup9() {
return segmentGroup9;
}
public SegmentGroup6 setSegmentGroup9(List segmentGroup9) {
this.segmentGroup9 = segmentGroup9; return this;
}
public List getSegmentGroup10() {
return segmentGroup10;
}
public SegmentGroup6 setSegmentGroup10(List segmentGroup10) {
this.segmentGroup10 = segmentGroup10; return this;
}
public List getSegmentGroup11() {
return segmentGroup11;
}
public SegmentGroup6 setSegmentGroup11(List segmentGroup11) {
this.segmentGroup11 = segmentGroup11; return this;
}
public List getSegmentGroup12() {
return segmentGroup12;
}
public SegmentGroup6 setSegmentGroup12(List segmentGroup12) {
this.segmentGroup12 = segmentGroup12; return this;
}
}