org.milyn.edi.unedifact.d02a.PRODAT.SegmentGroup28 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d02a.PRODAT;
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.COMCommunicationContact;
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 SegmentGroup28 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EFIExternalFileLinkIdentification eFIExternalFileLinkIdentification;
private List cEDComputerEnvironmentDetails;
private List cOMCommunicationContact;
private List rFFReference;
private List dTMDateTimePeriod;
private List qTYQuantity;
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(cOMCommunicationContact != null && !cOMCommunicationContact.isEmpty()) {
for(COMCommunicationContact cOMCommunicationContactInst : cOMCommunicationContact) {
nodeWriter.write("COM");
nodeWriter.write(delimiters.getField());
cOMCommunicationContactInst.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);
}
}
}
public EFIExternalFileLinkIdentification getEFIExternalFileLinkIdentification() {
return eFIExternalFileLinkIdentification;
}
public SegmentGroup28 setEFIExternalFileLinkIdentification(EFIExternalFileLinkIdentification eFIExternalFileLinkIdentification) {
this.eFIExternalFileLinkIdentification = eFIExternalFileLinkIdentification; return this;
}
public List getCEDComputerEnvironmentDetails() {
return cEDComputerEnvironmentDetails;
}
public SegmentGroup28 setCEDComputerEnvironmentDetails(List cEDComputerEnvironmentDetails) {
this.cEDComputerEnvironmentDetails = cEDComputerEnvironmentDetails; return this;
}
public List getCOMCommunicationContact() {
return cOMCommunicationContact;
}
public SegmentGroup28 setCOMCommunicationContact(List cOMCommunicationContact) {
this.cOMCommunicationContact = cOMCommunicationContact; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup28 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup28 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup28 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
}