org.milyn.edi.unedifact.d06b.IPPOMO.SegmentGroup28 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d06b.IPPOMO;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d06b.common.PNAPartyIdentification;
import java.util.List;
import org.milyn.edi.unedifact.d06b.common.ICDInsuranceCoverDescription;
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 PNAPartyIdentification pNAPartyIdentification;
private List iCDInsuranceCoverDescription;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(pNAPartyIdentification != null) {
nodeWriter.write("PNA");
nodeWriter.write(delimiters.getField());
pNAPartyIdentification.write(nodeWriter, delimiters);
}
if(iCDInsuranceCoverDescription != null && !iCDInsuranceCoverDescription.isEmpty()) {
for(ICDInsuranceCoverDescription iCDInsuranceCoverDescriptionInst : iCDInsuranceCoverDescription) {
nodeWriter.write("ICD");
nodeWriter.write(delimiters.getField());
iCDInsuranceCoverDescriptionInst.write(nodeWriter, delimiters);
}
}
}
public PNAPartyIdentification getPNAPartyIdentification() {
return pNAPartyIdentification;
}
public SegmentGroup28 setPNAPartyIdentification(PNAPartyIdentification pNAPartyIdentification) {
this.pNAPartyIdentification = pNAPartyIdentification; return this;
}
public List getICDInsuranceCoverDescription() {
return iCDInsuranceCoverDescription;
}
public SegmentGroup28 setICDInsuranceCoverDescription(List iCDInsuranceCoverDescription) {
this.iCDInsuranceCoverDescription = iCDInsuranceCoverDescription; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy