org.milyn.edi.unedifact.d98a.RESMSG.SegmentGroup5 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.RESMSG;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.IMDItemDescription;
import org.milyn.edi.unedifact.d98a.common.QTYQuantity;
import org.milyn.edi.unedifact.d98a.common.LANLanguage;
import java.util.List;
import org.milyn.edi.unedifact.d98a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d98a.common.NADNameAndAddress;
import org.milyn.edi.unedifact.d98a.common.RFFReference;
import org.milyn.edi.unedifact.d98a.common.PCDPercentageDetails;
import org.milyn.edi.unedifact.d98a.common.PAIPaymentInstructions;
import org.milyn.edi.unedifact.d98a.common.PATPaymentTermsBasis;
import org.milyn.edi.unedifact.d98a.common.FIIFinancialInstitutionInformation;
import org.milyn.edi.unedifact.d98a.common.DIMDimensions;
import org.milyn.edi.unedifact.d98a.common.FTXFreeText;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup5 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private IMDItemDescription iMDItemDescription;
private QTYQuantity qTYQuantity;
private LANLanguage lANLanguage;
private List dTMDateTimePeriod;
private NADNameAndAddress nADNameAndAddress;
private List rFFReference;
private PCDPercentageDetails pCDPercentageDetails;
private PAIPaymentInstructions pAIPaymentInstructions;
private List pATPaymentTermsBasis;
private List fIIFinancialInstitutionInformation;
private List dIMDimensions;
private List fTXFreeText;
private List segmentGroup6;
private List segmentGroup7;
private List segmentGroup8;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(iMDItemDescription != null) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescription.write(nodeWriter, delimiters);
}
if(qTYQuantity != null) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantity.write(nodeWriter, delimiters);
}
if(lANLanguage != null) {
nodeWriter.write("LAN");
nodeWriter.write(delimiters.getField());
lANLanguage.write(nodeWriter, delimiters);
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(nADNameAndAddress != null) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddress.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(pCDPercentageDetails != null) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetails.write(nodeWriter, delimiters);
}
if(pAIPaymentInstructions != null) {
nodeWriter.write("PAI");
nodeWriter.write(delimiters.getField());
pAIPaymentInstructions.write(nodeWriter, delimiters);
}
if(pATPaymentTermsBasis != null && !pATPaymentTermsBasis.isEmpty()) {
for(PATPaymentTermsBasis pATPaymentTermsBasisInst : pATPaymentTermsBasis) {
nodeWriter.write("PAT");
nodeWriter.write(delimiters.getField());
pATPaymentTermsBasisInst.write(nodeWriter, delimiters);
}
}
if(fIIFinancialInstitutionInformation != null && !fIIFinancialInstitutionInformation.isEmpty()) {
for(FIIFinancialInstitutionInformation fIIFinancialInstitutionInformationInst : fIIFinancialInstitutionInformation) {
nodeWriter.write("FII");
nodeWriter.write(delimiters.getField());
fIIFinancialInstitutionInformationInst.write(nodeWriter, delimiters);
}
}
if(dIMDimensions != null && !dIMDimensions.isEmpty()) {
for(DIMDimensions dIMDimensionsInst : dIMDimensions) {
nodeWriter.write("DIM");
nodeWriter.write(delimiters.getField());
dIMDimensionsInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup6 != null && !segmentGroup6.isEmpty()) {
for(SegmentGroup6 segmentGroup6Inst : segmentGroup6) {
segmentGroup6Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup7 != null && !segmentGroup7.isEmpty()) {
for(SegmentGroup7 segmentGroup7Inst : segmentGroup7) {
segmentGroup7Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup8 != null && !segmentGroup8.isEmpty()) {
for(SegmentGroup8 segmentGroup8Inst : segmentGroup8) {
segmentGroup8Inst.write(nodeWriter, delimiters);
}
}
}
public IMDItemDescription getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup5 setIMDItemDescription(IMDItemDescription iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public QTYQuantity getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup5 setQTYQuantity(QTYQuantity qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public LANLanguage getLANLanguage() {
return lANLanguage;
}
public SegmentGroup5 setLANLanguage(LANLanguage lANLanguage) {
this.lANLanguage = lANLanguage; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup5 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public NADNameAndAddress getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup5 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup5 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public PCDPercentageDetails getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup5 setPCDPercentageDetails(PCDPercentageDetails pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public PAIPaymentInstructions getPAIPaymentInstructions() {
return pAIPaymentInstructions;
}
public SegmentGroup5 setPAIPaymentInstructions(PAIPaymentInstructions pAIPaymentInstructions) {
this.pAIPaymentInstructions = pAIPaymentInstructions; return this;
}
public List getPATPaymentTermsBasis() {
return pATPaymentTermsBasis;
}
public SegmentGroup5 setPATPaymentTermsBasis(List pATPaymentTermsBasis) {
this.pATPaymentTermsBasis = pATPaymentTermsBasis; return this;
}
public List getFIIFinancialInstitutionInformation() {
return fIIFinancialInstitutionInformation;
}
public SegmentGroup5 setFIIFinancialInstitutionInformation(List fIIFinancialInstitutionInformation) {
this.fIIFinancialInstitutionInformation = fIIFinancialInstitutionInformation; return this;
}
public List getDIMDimensions() {
return dIMDimensions;
}
public SegmentGroup5 setDIMDimensions(List dIMDimensions) {
this.dIMDimensions = dIMDimensions; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup5 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getSegmentGroup6() {
return segmentGroup6;
}
public SegmentGroup5 setSegmentGroup6(List segmentGroup6) {
this.segmentGroup6 = segmentGroup6; return this;
}
public List getSegmentGroup7() {
return segmentGroup7;
}
public SegmentGroup5 setSegmentGroup7(List segmentGroup7) {
this.segmentGroup7 = segmentGroup7; return this;
}
public List getSegmentGroup8() {
return segmentGroup8;
}
public SegmentGroup5 setSegmentGroup8(List segmentGroup8) {
this.segmentGroup8 = segmentGroup8; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy