org.milyn.edi.unedifact.d97a.GESMES.SegmentGroup11 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d97a.GESMES;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d97a.common.DSIDataSetIdentification;
import java.util.List;
import org.milyn.edi.unedifact.d97a.common.STSStatus;
import org.milyn.edi.unedifact.d97a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d97a.common.FTXFreeText;
import org.milyn.edi.unedifact.d97a.common.GIRRelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d97a.common.ARRArrayInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup11 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private DSIDataSetIdentification dSIDataSetIdentification;
private List sTSStatus;
private List dTMDateTimePeriod;
private List fTXFreeText;
private List gIRRelatedIdentificationNumbers;
private List aRRArrayInformation;
private List segmentGroup12;
private List segmentGroup16;
private List segmentGroup18;
private List segmentGroup20;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(dSIDataSetIdentification != null) {
nodeWriter.write("DSI");
nodeWriter.write(delimiters.getField());
dSIDataSetIdentification.write(nodeWriter, delimiters);
}
if(sTSStatus != null && !sTSStatus.isEmpty()) {
for(STSStatus sTSStatusInst : sTSStatus) {
nodeWriter.write("STS");
nodeWriter.write(delimiters.getField());
sTSStatusInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(gIRRelatedIdentificationNumbers != null && !gIRRelatedIdentificationNumbers.isEmpty()) {
for(GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbersInst : gIRRelatedIdentificationNumbers) {
nodeWriter.write("GIR");
nodeWriter.write(delimiters.getField());
gIRRelatedIdentificationNumbersInst.write(nodeWriter, delimiters);
}
}
if(aRRArrayInformation != null && !aRRArrayInformation.isEmpty()) {
for(ARRArrayInformation aRRArrayInformationInst : aRRArrayInformation) {
nodeWriter.write("ARR");
nodeWriter.write(delimiters.getField());
aRRArrayInformationInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
segmentGroup12Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup16 != null && !segmentGroup16.isEmpty()) {
for(SegmentGroup16 segmentGroup16Inst : segmentGroup16) {
segmentGroup16Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup18 != null && !segmentGroup18.isEmpty()) {
for(SegmentGroup18 segmentGroup18Inst : segmentGroup18) {
segmentGroup18Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
segmentGroup20Inst.write(nodeWriter, delimiters);
}
}
}
public DSIDataSetIdentification getDSIDataSetIdentification() {
return dSIDataSetIdentification;
}
public SegmentGroup11 setDSIDataSetIdentification(DSIDataSetIdentification dSIDataSetIdentification) {
this.dSIDataSetIdentification = dSIDataSetIdentification; return this;
}
public List getSTSStatus() {
return sTSStatus;
}
public SegmentGroup11 setSTSStatus(List sTSStatus) {
this.sTSStatus = sTSStatus; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup11 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup11 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getGIRRelatedIdentificationNumbers() {
return gIRRelatedIdentificationNumbers;
}
public SegmentGroup11 setGIRRelatedIdentificationNumbers(List gIRRelatedIdentificationNumbers) {
this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers; return this;
}
public List getARRArrayInformation() {
return aRRArrayInformation;
}
public SegmentGroup11 setARRArrayInformation(List aRRArrayInformation) {
this.aRRArrayInformation = aRRArrayInformation; return this;
}
public List getSegmentGroup12() {
return segmentGroup12;
}
public SegmentGroup11 setSegmentGroup12(List segmentGroup12) {
this.segmentGroup12 = segmentGroup12; return this;
}
public List getSegmentGroup16() {
return segmentGroup16;
}
public SegmentGroup11 setSegmentGroup16(List segmentGroup16) {
this.segmentGroup16 = segmentGroup16; return this;
}
public List getSegmentGroup18() {
return segmentGroup18;
}
public SegmentGroup11 setSegmentGroup18(List segmentGroup18) {
this.segmentGroup18 = segmentGroup18; return this;
}
public List getSegmentGroup20() {
return segmentGroup20;
}
public SegmentGroup11 setSegmentGroup20(List segmentGroup20) {
this.segmentGroup20 = segmentGroup20; return this;
}
}