org.virtuslab.edi.unedifact.d96a.CONDRO.SegmentGroup6 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.CONDRO;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.EFIExternalFileLinkIdentification;
import java.util.List;
import org.virtuslab.edi.unedifact.d96a.common.CEDComputerEnvironmentDetails;
import org.virtuslab.edi.unedifact.d96a.common.DTMDateTimePeriod;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup6 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EFIExternalFileLinkIdentification eFIExternalFileLinkIdentification;
private List cEDComputerEnvironmentDetails;
private List dTMDateTimePeriod;
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(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
}
public EFIExternalFileLinkIdentification getEFIExternalFileLinkIdentification() {
return eFIExternalFileLinkIdentification;
}
public SegmentGroup6 setEFIExternalFileLinkIdentification(EFIExternalFileLinkIdentification eFIExternalFileLinkIdentification) {
this.eFIExternalFileLinkIdentification = eFIExternalFileLinkIdentification; return this;
}
public List getCEDComputerEnvironmentDetails() {
return cEDComputerEnvironmentDetails;
}
public SegmentGroup6 setCEDComputerEnvironmentDetails(List cEDComputerEnvironmentDetails) {
this.cEDComputerEnvironmentDetails = cEDComputerEnvironmentDetails; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup6 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy