org.milyn.edi.unedifact.d99a.QALITY.SegmentGroup32 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99a.QALITY;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99a.common.CCICharacteristicClassId;
import java.util.List;
import org.milyn.edi.unedifact.d99a.common.PSDPhysicalSampleDescription;
import org.milyn.edi.unedifact.d99a.common.SPSSamplingParametersForSummaryStatistics;
import org.milyn.edi.unedifact.d99a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d99a.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup32 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CCICharacteristicClassId cCICharacteristicClassId;
private List pSDPhysicalSampleDescription;
private List sPSSamplingParametersForSummaryStatistic;
private List dTMDateTimePeriod;
private List fTXFreeText;
private List segmentGroup33;
private List segmentGroup34;
private List segmentGroup36;
private List segmentGroup38;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cCICharacteristicClassId != null) {
nodeWriter.write("CCI");
nodeWriter.write(delimiters.getField());
cCICharacteristicClassId.write(nodeWriter, delimiters);
}
if(pSDPhysicalSampleDescription != null && !pSDPhysicalSampleDescription.isEmpty()) {
for(PSDPhysicalSampleDescription pSDPhysicalSampleDescriptionInst : pSDPhysicalSampleDescription) {
nodeWriter.write("PSD");
nodeWriter.write(delimiters.getField());
pSDPhysicalSampleDescriptionInst.write(nodeWriter, delimiters);
}
}
if(sPSSamplingParametersForSummaryStatistic != null && !sPSSamplingParametersForSummaryStatistic.isEmpty()) {
for(SPSSamplingParametersForSummaryStatistics sPSSamplingParametersForSummaryStatisticInst : sPSSamplingParametersForSummaryStatistic) {
nodeWriter.write("SPS");
nodeWriter.write(delimiters.getField());
sPSSamplingParametersForSummaryStatisticInst.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(segmentGroup33 != null && !segmentGroup33.isEmpty()) {
for(SegmentGroup33 segmentGroup33Inst : segmentGroup33) {
segmentGroup33Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup34 != null && !segmentGroup34.isEmpty()) {
for(SegmentGroup34 segmentGroup34Inst : segmentGroup34) {
segmentGroup34Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup36 != null && !segmentGroup36.isEmpty()) {
for(SegmentGroup36 segmentGroup36Inst : segmentGroup36) {
segmentGroup36Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup38 != null && !segmentGroup38.isEmpty()) {
for(SegmentGroup38 segmentGroup38Inst : segmentGroup38) {
segmentGroup38Inst.write(nodeWriter, delimiters);
}
}
}
public CCICharacteristicClassId getCCICharacteristicClassId() {
return cCICharacteristicClassId;
}
public SegmentGroup32 setCCICharacteristicClassId(CCICharacteristicClassId cCICharacteristicClassId) {
this.cCICharacteristicClassId = cCICharacteristicClassId; return this;
}
public List getPSDPhysicalSampleDescription() {
return pSDPhysicalSampleDescription;
}
public SegmentGroup32 setPSDPhysicalSampleDescription(List pSDPhysicalSampleDescription) {
this.pSDPhysicalSampleDescription = pSDPhysicalSampleDescription; return this;
}
public List getSPSSamplingParametersForSummaryStatistic() {
return sPSSamplingParametersForSummaryStatistic;
}
public SegmentGroup32 setSPSSamplingParametersForSummaryStatistic(List sPSSamplingParametersForSummaryStatistic) {
this.sPSSamplingParametersForSummaryStatistic = sPSSamplingParametersForSummaryStatistic; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup32 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup32 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup33() {
return segmentGroup33;
}
public SegmentGroup32 setSegmentGroup33(List segmentGroup33) {
this.segmentGroup33 = segmentGroup33; return this;
}
public List getSegmentGroup34() {
return segmentGroup34;
}
public SegmentGroup32 setSegmentGroup34(List segmentGroup34) {
this.segmentGroup34 = segmentGroup34; return this;
}
public List getSegmentGroup36() {
return segmentGroup36;
}
public SegmentGroup32 setSegmentGroup36(List segmentGroup36) {
this.segmentGroup36 = segmentGroup36; return this;
}
public List getSegmentGroup38() {
return segmentGroup38;
}
public SegmentGroup32 setSegmentGroup38(List segmentGroup38) {
this.segmentGroup38 = segmentGroup38; return this;
}
}