org.milyn.edi.unedifact.d10a.GOVCBR.SegmentGroup45 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d10a.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d10a.common.DOCDocumentMessageDetails;
import org.milyn.edi.unedifact.d10a.common.SEQSequenceDetails;
import java.util.List;
import org.milyn.edi.unedifact.d10a.common.RFFReference;
import org.milyn.edi.unedifact.d10a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d10a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d10a.common.ALIAdditionalInformation;
import org.milyn.edi.unedifact.d10a.common.QTYQuantity;
import org.milyn.edi.unedifact.d10a.common.TSRTransportServiceRequirements;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup45 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private DOCDocumentMessageDetails dOCDocumentMessageDetails;
private SEQSequenceDetails sEQSequenceDetails;
private List rFFReference;
private List dTMDateTimePeriod;
private List mOAMonetaryAmount;
private ALIAdditionalInformation aLIAdditionalInformation;
private List qTYQuantity;
private List tSRTransportServiceRequirements;
private List segmentGroup46;
private List segmentGroup48;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(dOCDocumentMessageDetails != null) {
nodeWriter.write("DOC");
nodeWriter.write(delimiters.getField());
dOCDocumentMessageDetails.write(nodeWriter, delimiters);
}
if(sEQSequenceDetails != null) {
nodeWriter.write("SEQ");
nodeWriter.write(delimiters.getField());
sEQSequenceDetails.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(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(aLIAdditionalInformation != null) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
aLIAdditionalInformation.write(nodeWriter, delimiters);
}
if(qTYQuantity != null && !qTYQuantity.isEmpty()) {
for(QTYQuantity qTYQuantityInst : qTYQuantity) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantityInst.write(nodeWriter, delimiters);
}
}
if(tSRTransportServiceRequirements != null && !tSRTransportServiceRequirements.isEmpty()) {
for(TSRTransportServiceRequirements tSRTransportServiceRequirementsInst : tSRTransportServiceRequirements) {
nodeWriter.write("TSR");
nodeWriter.write(delimiters.getField());
tSRTransportServiceRequirementsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup46 != null && !segmentGroup46.isEmpty()) {
for(SegmentGroup46 segmentGroup46Inst : segmentGroup46) {
segmentGroup46Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup48 != null && !segmentGroup48.isEmpty()) {
for(SegmentGroup48 segmentGroup48Inst : segmentGroup48) {
segmentGroup48Inst.write(nodeWriter, delimiters);
}
}
}
public DOCDocumentMessageDetails getDOCDocumentMessageDetails() {
return dOCDocumentMessageDetails;
}
public SegmentGroup45 setDOCDocumentMessageDetails(DOCDocumentMessageDetails dOCDocumentMessageDetails) {
this.dOCDocumentMessageDetails = dOCDocumentMessageDetails; return this;
}
public SEQSequenceDetails getSEQSequenceDetails() {
return sEQSequenceDetails;
}
public SegmentGroup45 setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
this.sEQSequenceDetails = sEQSequenceDetails; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup45 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup45 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup45 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public ALIAdditionalInformation getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup45 setALIAdditionalInformation(ALIAdditionalInformation aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public List getQTYQuantity() {
return qTYQuantity;
}
public SegmentGroup45 setQTYQuantity(List qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public List getTSRTransportServiceRequirements() {
return tSRTransportServiceRequirements;
}
public SegmentGroup45 setTSRTransportServiceRequirements(List tSRTransportServiceRequirements) {
this.tSRTransportServiceRequirements = tSRTransportServiceRequirements; return this;
}
public List getSegmentGroup46() {
return segmentGroup46;
}
public SegmentGroup45 setSegmentGroup46(List segmentGroup46) {
this.segmentGroup46 = segmentGroup46; return this;
}
public List getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup45 setSegmentGroup48(List segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy