org.milyn.edi.unedifact.d99b.IPPOMO.SegmentGroup19 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99b.IPPOMO;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99b.common.EQDEquipmentDetails;
import org.milyn.edi.unedifact.d99b.common.GISGeneralIndicator;
import java.util.List;
import org.milyn.edi.unedifact.d99b.common.ATTAttribute;
import org.milyn.edi.unedifact.d99b.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d99b.common.PNAPartyIdentification;
import org.milyn.edi.unedifact.d99b.common.QRSQueryAndResponse;
import org.milyn.edi.unedifact.d99b.common.RFFReference;
import org.milyn.edi.unedifact.d99b.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup19 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQDEquipmentDetails eQDEquipmentDetails;
private GISGeneralIndicator gISGeneralIndicator;
private List aTTAttribute;
private DTMDateTimePeriod dTMDateTimePeriod;
private List pNAPartyIdentification;
private List qRSQueryAndResponse;
private List rFFReference;
private List fTXFreeText;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(eQDEquipmentDetails != null) {
nodeWriter.write("EQD");
nodeWriter.write(delimiters.getField());
eQDEquipmentDetails.write(nodeWriter, delimiters);
}
if(gISGeneralIndicator != null) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
gISGeneralIndicator.write(nodeWriter, delimiters);
}
if(aTTAttribute != null && !aTTAttribute.isEmpty()) {
for(ATTAttribute aTTAttributeInst : aTTAttribute) {
nodeWriter.write("ATT");
nodeWriter.write(delimiters.getField());
aTTAttributeInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriod.write(nodeWriter, delimiters);
}
if(pNAPartyIdentification != null && !pNAPartyIdentification.isEmpty()) {
for(PNAPartyIdentification pNAPartyIdentificationInst : pNAPartyIdentification) {
nodeWriter.write("PNA");
nodeWriter.write(delimiters.getField());
pNAPartyIdentificationInst.write(nodeWriter, delimiters);
}
}
if(qRSQueryAndResponse != null && !qRSQueryAndResponse.isEmpty()) {
for(QRSQueryAndResponse qRSQueryAndResponseInst : qRSQueryAndResponse) {
nodeWriter.write("QRS");
nodeWriter.write(delimiters.getField());
qRSQueryAndResponseInst.write(nodeWriter, delimiters);
}
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup19 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public GISGeneralIndicator getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public SegmentGroup19 setGISGeneralIndicator(GISGeneralIndicator gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
public List getATTAttribute() {
return aTTAttribute;
}
public SegmentGroup19 setATTAttribute(List aTTAttribute) {
this.aTTAttribute = aTTAttribute; return this;
}
public DTMDateTimePeriod getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup19 setDTMDateTimePeriod(DTMDateTimePeriod dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getPNAPartyIdentification() {
return pNAPartyIdentification;
}
public SegmentGroup19 setPNAPartyIdentification(List pNAPartyIdentification) {
this.pNAPartyIdentification = pNAPartyIdentification; return this;
}
public List getQRSQueryAndResponse() {
return qRSQueryAndResponse;
}
public SegmentGroup19 setQRSQueryAndResponse(List qRSQueryAndResponse) {
this.qRSQueryAndResponse = qRSQueryAndResponse; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup19 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup19 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
}