org.milyn.edi.unedifact.d02a.CONDRA.SegmentGroup5 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d02a.CONDRA;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d02a.common.EFIExternalFileLinkIdentification;
import java.util.List;
import org.milyn.edi.unedifact.d02a.common.CEDComputerEnvironmentDetails;
import org.milyn.edi.unedifact.d02a.common.RFFReference;
import org.milyn.edi.unedifact.d02a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d02a.common.QTYQuantity;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup5 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EFIExternalFileLinkIdentification eFIExternalFileLinkIdentification;
private List cEDComputerEnvironmentDetails;
private List rFFReference;
private List dTMDateTimePeriod;
private List qTYQuantity;
private List segmentGroup6;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(eFIExternalFileLinkIdentification != null) {
nodeWriter.write("EFI");
nodeWriter.write(delimiters.getField());
eFIExternalFileLinkIdentification.write(nodeWriter, delimiters);
}
if(cEDComputerEnvironmentDetails != null && !cEDComputerEnvironmentDetails.isEmpty()) {
for(CEDComputerEnvironmentDetails cEDComputerEnvironmentDetailsInst : cEDComputerEnvironmentDetails) {
nodeWriter.write("CED");
nodeWriter.write(delimiters.getField());
cEDComputerEnvironmentDetailsInst.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(qTYQuantity != null && !qTYQuantity.isEmpty()) {
for(QTYQuantity qTYQuantityInst : qTYQuantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantityInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup6 != null && !segmentGroup6.isEmpty()) {
for(SegmentGroup6 segmentGroup6Inst : segmentGroup6) {
segmentGroup6Inst.write(nodeWriter, delimiters);
}
}
}
public EFIExternalFileLinkIdentification getEFIExternalFileLinkIdentification() {
return eFIExternalFileLinkIdentification;
}
public SegmentGroup5 setEFIExternalFileLinkIdentification(EFIExternalFileLinkIdentification eFIExternalFileLinkIdentification) {
this.eFIExternalFileLinkIdentification = eFIExternalFileLinkIdentification; return this;
}
public List getCEDComputerEnvironmentDetails() {
return cEDComputerEnvironmentDetails;
}
public SegmentGroup5 setCEDComputerEnvironmentDetails(List cEDComputerEnvironmentDetails) {
this.cEDComputerEnvironmentDetails = cEDComputerEnvironmentDetails; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup5 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup5 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup5 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getSegmentGroup6() {
return segmentGroup6;
}
public SegmentGroup5 setSegmentGroup6(List segmentGroup6) {
this.segmentGroup6 = segmentGroup6; return this;
}
}