org.milyn.edi.unedifact.d05a.MOVINS.SegmentGroup6 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d05a.MOVINS;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d05a.common.LOCPlaceLocationIdentification;
import java.util.List;
import org.milyn.edi.unedifact.d05a.common.RFFReference;
import org.milyn.edi.unedifact.d05a.common.FTXFreeText;
import org.milyn.edi.unedifact.d05a.common.MEAMeasurements;
import org.milyn.edi.unedifact.d05a.common.DIMDimensions;
import org.milyn.edi.unedifact.d05a.common.NADNameAndAddress;
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 LOCPlaceLocationIdentification lOC1PlaceLocationIdentification;
private List rFFReference;
private List fTXFreeText;
private List mEAMeasurements;
private List dIMDimensions;
private List lOC2PlaceLocationIdentification;
private List nADNameAndAddress;
private SegmentGroup7 segmentGroup7;
private List segmentGroup8;
private List segmentGroup9;
private List segmentGroup10;
private List segmentGroup11;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(lOC1PlaceLocationIdentification != null) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOC1PlaceLocationIdentification.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(dIMDimensions != null && !dIMDimensions.isEmpty()) {
for(DIMDimensions dIMDimensionsInst : dIMDimensions) {
nodeWriter.write("DIM");
nodeWriter.write(delimiters.getField());
dIMDimensionsInst.write(nodeWriter, delimiters);
}
}
if(lOC2PlaceLocationIdentification != null && !lOC2PlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOC2PlaceLocationIdentificationInst : lOC2PlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOC2PlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(nADNameAndAddress != null && !nADNameAndAddress.isEmpty()) {
for(NADNameAndAddress nADNameAndAddressInst : nADNameAndAddress) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddressInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup7 != null) {
segmentGroup7.write(nodeWriter, delimiters);
}
if(segmentGroup8 != null && !segmentGroup8.isEmpty()) {
for(SegmentGroup8 segmentGroup8Inst : segmentGroup8) {
segmentGroup8Inst.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);
}
}
}
public LOCPlaceLocationIdentification getLOC1PlaceLocationIdentification() {
return lOC1PlaceLocationIdentification;
}
public SegmentGroup6 setLOC1PlaceLocationIdentification(LOCPlaceLocationIdentification lOC1PlaceLocationIdentification) {
this.lOC1PlaceLocationIdentification = lOC1PlaceLocationIdentification; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup6 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup6 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup6 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getDIMDimensions() {
return dIMDimensions;
}
public SegmentGroup6 setDIMDimensions(List dIMDimensions) {
this.dIMDimensions = dIMDimensions; return this;
}
public List getLOC2PlaceLocationIdentification() {
return lOC2PlaceLocationIdentification;
}
public SegmentGroup6 setLOC2PlaceLocationIdentification(List lOC2PlaceLocationIdentification) {
this.lOC2PlaceLocationIdentification = lOC2PlaceLocationIdentification; return this;
}
public List getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup6 setNADNameAndAddress(List nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public SegmentGroup7 getSegmentGroup7() {
return segmentGroup7;
}
public SegmentGroup6 setSegmentGroup7(SegmentGroup7 segmentGroup7) {
this.segmentGroup7 = segmentGroup7; return this;
}
public List getSegmentGroup8() {
return segmentGroup8;
}
public SegmentGroup6 setSegmentGroup8(List segmentGroup8) {
this.segmentGroup8 = segmentGroup8; 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;
}
}