org.milyn.edi.unedifact.d01a.ISENDS.SegmentGroup8 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d01a.ISENDS;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d01a.common.RNGRangeDetails;
import java.util.List;
import org.milyn.edi.unedifact.d01a.common.GEIProcessingInformation;
import org.milyn.edi.unedifact.d01a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d01a.common.RFFReference;
import org.milyn.edi.unedifact.d01a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d01a.common.MKSMarketSalesChannelInformation;
import org.milyn.edi.unedifact.d01a.common.ICDInsuranceCoverDescription;
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 RNGRangeDetails rNGRangeDetails;
private List gEIProcessingInformation;
private List mOAMonetaryAmount;
private List rFFReference;
private List dTMDateTimePeriod;
private List mKSMarketSalesChannelInformation;
private List iCDInsuranceCoverDescription;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(rNGRangeDetails != null) {
nodeWriter.write("RNG");
nodeWriter.write(delimiters.getField());
rNGRangeDetails.write(nodeWriter, delimiters);
}
if(gEIProcessingInformation != null && !gEIProcessingInformation.isEmpty()) {
for(GEIProcessingInformation gEIProcessingInformationInst : gEIProcessingInformation) {
nodeWriter.write("GEI");
nodeWriter.write(delimiters.getField());
gEIProcessingInformationInst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.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(mKSMarketSalesChannelInformation != null && !mKSMarketSalesChannelInformation.isEmpty()) {
for(MKSMarketSalesChannelInformation mKSMarketSalesChannelInformationInst : mKSMarketSalesChannelInformation) {
nodeWriter.write("MKS");
nodeWriter.write(delimiters.getField());
mKSMarketSalesChannelInformationInst.write(nodeWriter, delimiters);
}
}
if(iCDInsuranceCoverDescription != null && !iCDInsuranceCoverDescription.isEmpty()) {
for(ICDInsuranceCoverDescription iCDInsuranceCoverDescriptionInst : iCDInsuranceCoverDescription) {
nodeWriter.write("ICD");
nodeWriter.write(delimiters.getField());
iCDInsuranceCoverDescriptionInst.write(nodeWriter, delimiters);
}
}
}
public RNGRangeDetails getRNGRangeDetails() {
return rNGRangeDetails;
}
public SegmentGroup8 setRNGRangeDetails(RNGRangeDetails rNGRangeDetails) {
this.rNGRangeDetails = rNGRangeDetails; return this;
}
public List getGEIProcessingInformation() {
return gEIProcessingInformation;
}
public SegmentGroup8 setGEIProcessingInformation(List gEIProcessingInformation) {
this.gEIProcessingInformation = gEIProcessingInformation; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup8 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; 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 getMKSMarketSalesChannelInformation() {
return mKSMarketSalesChannelInformation;
}
public SegmentGroup8 setMKSMarketSalesChannelInformation(List mKSMarketSalesChannelInformation) {
this.mKSMarketSalesChannelInformation = mKSMarketSalesChannelInformation; return this;
}
public List getICDInsuranceCoverDescription() {
return iCDInsuranceCoverDescription;
}
public SegmentGroup8 setICDInsuranceCoverDescription(List iCDInsuranceCoverDescription) {
this.iCDInsuranceCoverDescription = iCDInsuranceCoverDescription; return this;
}
}