org.milyn.edi.unedifact.d02a.GESMES.SegmentGroup10 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d02a.GESMES;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d02a.common.ASIArrayStructureIdentification;
import java.util.List;
import org.milyn.edi.unedifact.d02a.common.GISGeneralIndicator;
import org.milyn.edi.unedifact.d02a.common.FTXFreeText;
import org.milyn.edi.unedifact.d02a.common.IDEIdentity;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup10 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private ASIArrayStructureIdentification aSIArrayStructureIdentification;
private List gISGeneralIndicator;
private List fTXFreeText;
private List iDEIdentity;
private List segmentGroup11;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(aSIArrayStructureIdentification != null) {
nodeWriter.write("ASI");
nodeWriter.write(delimiters.getField());
aSIArrayStructureIdentification.write(nodeWriter, delimiters);
}
if(gISGeneralIndicator != null && !gISGeneralIndicator.isEmpty()) {
for(GISGeneralIndicator gISGeneralIndicatorInst : gISGeneralIndicator) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
gISGeneralIndicatorInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(iDEIdentity != null && !iDEIdentity.isEmpty()) {
for(IDEIdentity iDEIdentityInst : iDEIdentity) {
nodeWriter.write("IDE");
nodeWriter.write(delimiters.getField());
iDEIdentityInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup11 != null && !segmentGroup11.isEmpty()) {
for(SegmentGroup11 segmentGroup11Inst : segmentGroup11) {
segmentGroup11Inst.write(nodeWriter, delimiters);
}
}
}
public ASIArrayStructureIdentification getASIArrayStructureIdentification() {
return aSIArrayStructureIdentification;
}
public SegmentGroup10 setASIArrayStructureIdentification(ASIArrayStructureIdentification aSIArrayStructureIdentification) {
this.aSIArrayStructureIdentification = aSIArrayStructureIdentification; return this;
}
public List getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public SegmentGroup10 setGISGeneralIndicator(List gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup10 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getIDEIdentity() {
return iDEIdentity;
}
public SegmentGroup10 setIDEIdentity(List iDEIdentity) {
this.iDEIdentity = iDEIdentity; return this;
}
public List getSegmentGroup11() {
return segmentGroup11;
}
public SegmentGroup10 setSegmentGroup11(List segmentGroup11) {
this.segmentGroup11 = segmentGroup11; return this;
}
}