org.milyn.edi.unedifact.d09b.PROCST.SegmentGroup8 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.IDEIdentity;
import org.milyn.edi.unedifact.d09b.common.RELRelationship;
import org.milyn.edi.unedifact.d09b.common.IMDItemDescription;
import java.util.List;
import org.milyn.edi.unedifact.d09b.common.RCSRequirementsAndConditions;
import org.milyn.edi.unedifact.d09b.common.CCICharacteristicClassId;
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 org.milyn.edi.unedifact.d09b.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup8 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private IDEIdentity iDEIdentity;
private RELRelationship rELRelationship;
private IMDItemDescription iMDItemDescription;
private List rCSRequirementsAndConditions;
private List cCICharacteristicClassId;
private List rFFReference;
private List dTMDateTimePeriod;
private List sTAStatistics;
private List fTXFreeText;
private List segmentGroup9;
private List segmentGroup10;
private List segmentGroup11;
private List segmentGroup12;
private List segmentGroup13;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(iDEIdentity != null) {
nodeWriter.write("IDE");
nodeWriter.write(delimiters.getField());
iDEIdentity.write(nodeWriter, delimiters);
}
if(rELRelationship != null) {
nodeWriter.write("REL");
nodeWriter.write(delimiters.getField());
rELRelationship.write(nodeWriter, delimiters);
}
if(iMDItemDescription != null) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescription.write(nodeWriter, delimiters);
}
if(rCSRequirementsAndConditions != null && !rCSRequirementsAndConditions.isEmpty()) {
for(RCSRequirementsAndConditions rCSRequirementsAndConditionsInst : rCSRequirementsAndConditions) {
nodeWriter.write("RCS");
nodeWriter.write(delimiters.getField());
rCSRequirementsAndConditionsInst.write(nodeWriter, delimiters);
}
}
if(cCICharacteristicClassId != null && !cCICharacteristicClassId.isEmpty()) {
for(CCICharacteristicClassId cCICharacteristicClassIdInst : cCICharacteristicClassId) {
nodeWriter.write("CCI");
nodeWriter.write(delimiters.getField());
cCICharacteristicClassIdInst.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(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.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);
}
}
if(segmentGroup12 != null && !segmentGroup12.isEmpty()) {
for(SegmentGroup12 segmentGroup12Inst : segmentGroup12) {
segmentGroup12Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup13 != null && !segmentGroup13.isEmpty()) {
for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) {
segmentGroup13Inst.write(nodeWriter, delimiters);
}
}
}
public IDEIdentity getIDEIdentity() {
return iDEIdentity;
}
public SegmentGroup8 setIDEIdentity(IDEIdentity iDEIdentity) {
this.iDEIdentity = iDEIdentity; return this;
}
public RELRelationship getRELRelationship() {
return rELRelationship;
}
public SegmentGroup8 setRELRelationship(RELRelationship rELRelationship) {
this.rELRelationship = rELRelationship; return this;
}
public IMDItemDescription getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup8 setIMDItemDescription(IMDItemDescription iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getRCSRequirementsAndConditions() {
return rCSRequirementsAndConditions;
}
public SegmentGroup8 setRCSRequirementsAndConditions(List rCSRequirementsAndConditions) {
this.rCSRequirementsAndConditions = rCSRequirementsAndConditions; return this;
}
public List getCCICharacteristicClassId() {
return cCICharacteristicClassId;
}
public SegmentGroup8 setCCICharacteristicClassId(List cCICharacteristicClassId) {
this.cCICharacteristicClassId = cCICharacteristicClassId; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup8 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup8 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getSTAStatistics() {
return sTAStatistics;
}
public SegmentGroup8 setSTAStatistics(List sTAStatistics) {
this.sTAStatistics = sTAStatistics; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup8 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup9() {
return segmentGroup9;
}
public SegmentGroup8 setSegmentGroup9(List segmentGroup9) {
this.segmentGroup9 = segmentGroup9; return this;
}
public List getSegmentGroup10() {
return segmentGroup10;
}
public SegmentGroup8 setSegmentGroup10(List segmentGroup10) {
this.segmentGroup10 = segmentGroup10; return this;
}
public List getSegmentGroup11() {
return segmentGroup11;
}
public SegmentGroup8 setSegmentGroup11(List segmentGroup11) {
this.segmentGroup11 = segmentGroup11; return this;
}
public List getSegmentGroup12() {
return segmentGroup12;
}
public SegmentGroup8 setSegmentGroup12(List segmentGroup12) {
this.segmentGroup12 = segmentGroup12; return this;
}
public List getSegmentGroup13() {
return segmentGroup13;
}
public SegmentGroup8 setSegmentGroup13(List segmentGroup13) {
this.segmentGroup13 = segmentGroup13; return this;
}
}