org.milyn.edi.unedifact.d09b.PROCST.SegmentGroup13 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.PROCST;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.CAVCharacteristicValue;
import org.milyn.edi.unedifact.d09b.common.PRCProcessIdentification;
import org.milyn.edi.unedifact.d09b.common.IMDItemDescription;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.RFFReference;
import org.milyn.edi.unedifact.d09b.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d09b.common.STAStatistics;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup13 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CAVCharacteristicValue cAVCharacteristicValue;
private PRCProcessIdentification pRCProcessIdentification;
private IMDItemDescription iMDItemDescription;
private List rFFReference;
private List dTMDateTimePeriod;
private List sTAStatistics;
private List segmentGroup14;
private List segmentGroup15;
private List segmentGroup16;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cAVCharacteristicValue != null) {
nodeWriter.write("CAV");
nodeWriter.write(delimiters.getField());
cAVCharacteristicValue.write(nodeWriter, delimiters);
}
if(pRCProcessIdentification != null) {
nodeWriter.write("PRC");
nodeWriter.write(delimiters.getField());
pRCProcessIdentification.write(nodeWriter, delimiters);
}
if(iMDItemDescription != null) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescription.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(sTAStatistics != null && !sTAStatistics.isEmpty()) {
for(STAStatistics sTAStatisticsInst : sTAStatistics) {
nodeWriter.write("STA");
nodeWriter.write(delimiters.getField());
sTAStatisticsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
segmentGroup14Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
segmentGroup15Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup16 != null && !segmentGroup16.isEmpty()) {
for(SegmentGroup16 segmentGroup16Inst : segmentGroup16) {
segmentGroup16Inst.write(nodeWriter, delimiters);
}
}
}
public CAVCharacteristicValue getCAVCharacteristicValue() {
return cAVCharacteristicValue;
}
public SegmentGroup13 setCAVCharacteristicValue(CAVCharacteristicValue cAVCharacteristicValue) {
this.cAVCharacteristicValue = cAVCharacteristicValue; return this;
}
public PRCProcessIdentification getPRCProcessIdentification() {
return pRCProcessIdentification;
}
public SegmentGroup13 setPRCProcessIdentification(PRCProcessIdentification pRCProcessIdentification) {
this.pRCProcessIdentification = pRCProcessIdentification; return this;
}
public IMDItemDescription getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup13 setIMDItemDescription(IMDItemDescription iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup13 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup13 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getSTAStatistics() {
return sTAStatistics;
}
public SegmentGroup13 setSTAStatistics(List sTAStatistics) {
this.sTAStatistics = sTAStatistics; return this;
}
public List getSegmentGroup14() {
return segmentGroup14;
}
public SegmentGroup13 setSegmentGroup14(List segmentGroup14) {
this.segmentGroup14 = segmentGroup14; return this;
}
public List getSegmentGroup15() {
return segmentGroup15;
}
public SegmentGroup13 setSegmentGroup15(List segmentGroup15) {
this.segmentGroup15 = segmentGroup15; return this;
}
public List getSegmentGroup16() {
return segmentGroup16;
}
public SegmentGroup13 setSegmentGroup16(List segmentGroup16) {
this.segmentGroup16 = segmentGroup16; return this;
}
}