org.milyn.edi.unedifact.d99a.IPPOMO.Ippomo Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99a.IPPOMO;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.smooks.edi.EDIMessage;
import org.milyn.edi.unedifact.d99a.common.BGMBeginningOfMessage;
import org.milyn.edi.unedifact.d99a.common.GISGeneralIndicator;
import java.util.List;
import org.milyn.edi.unedifact.d99a.common.ATTAttribute;
import org.milyn.edi.unedifact.d99a.common.CTAContactInformation;
import org.milyn.edi.unedifact.d99a.common.RFFReference;
import org.milyn.edi.unedifact.d99a.common.QTYQuantity;
import org.milyn.edi.unedifact.d99a.common.SEQSequenceDetails;
import org.milyn.edi.unedifact.d99a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d99a.common.Uns;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
@EDIMessage
public class Ippomo implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private BGMBeginningOfMessage bGMBeginningOfMessage;
private GISGeneralIndicator gISGeneralIndicator;
private List aTTAttribute;
private CTAContactInformation cTAContactInformation;
private List rFFReference;
private QTYQuantity qTYQuantity;
private SEQSequenceDetails sEQSequenceDetails;
private List dTMDateTimePeriod;
private List segmentGroup1;
private List segmentGroup3;
private List segmentGroup7;
private List segmentGroup13;
private List segmentGroup17;
private Uns uNSSectionControl;
private List segmentGroup33;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(bGMBeginningOfMessage != null) {
nodeWriter.write("BGM");
nodeWriter.write(delimiters.getField());
bGMBeginningOfMessage.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(cTAContactInformation != null) {
nodeWriter.write("CTA");
nodeWriter.write(delimiters.getField());
cTAContactInformation.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(qTYQuantity != null) {
nodeWriter.write("QTY");
nodeWriter.write(delimiters.getField());
qTYQuantity.write(nodeWriter, delimiters);
}
if(sEQSequenceDetails != null) {
nodeWriter.write("SEQ");
nodeWriter.write(delimiters.getField());
sEQSequenceDetails.write(nodeWriter, delimiters);
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup1 != null && !segmentGroup1.isEmpty()) {
for(SegmentGroup1 segmentGroup1Inst : segmentGroup1) {
segmentGroup1Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup3 != null && !segmentGroup3.isEmpty()) {
for(SegmentGroup3 segmentGroup3Inst : segmentGroup3) {
segmentGroup3Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup7 != null && !segmentGroup7.isEmpty()) {
for(SegmentGroup7 segmentGroup7Inst : segmentGroup7) {
segmentGroup7Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup13 != null && !segmentGroup13.isEmpty()) {
for(SegmentGroup13 segmentGroup13Inst : segmentGroup13) {
segmentGroup13Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
segmentGroup17Inst.write(nodeWriter, delimiters);
}
}
if(uNSSectionControl != null) {
nodeWriter.write("UNS");
nodeWriter.write(delimiters.getField());
uNSSectionControl.write(nodeWriter, delimiters);
}
if(segmentGroup33 != null && !segmentGroup33.isEmpty()) {
for(SegmentGroup33 segmentGroup33Inst : segmentGroup33) {
segmentGroup33Inst.write(nodeWriter, delimiters);
}
}
}
public BGMBeginningOfMessage getBGMBeginningOfMessage() {
return bGMBeginningOfMessage;
}
public Ippomo setBGMBeginningOfMessage(BGMBeginningOfMessage bGMBeginningOfMessage) {
this.bGMBeginningOfMessage = bGMBeginningOfMessage; return this;
}
public GISGeneralIndicator getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public Ippomo setGISGeneralIndicator(GISGeneralIndicator gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
public List getATTAttribute() {
return aTTAttribute;
}
public Ippomo setATTAttribute(List aTTAttribute) {
this.aTTAttribute = aTTAttribute; return this;
}
public CTAContactInformation getCTAContactInformation() {
return cTAContactInformation;
}
public Ippomo setCTAContactInformation(CTAContactInformation cTAContactInformation) {
this.cTAContactInformation = cTAContactInformation; return this;
}
public List getRFFReference() {
return rFFReference;
}
public Ippomo setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public QTYQuantity getQTYQuantity() {
return qTYQuantity;
}
public Ippomo setQTYQuantity(QTYQuantity qTYQuantity) {
this.qTYQuantity = qTYQuantity; return this;
}
public SEQSequenceDetails getSEQSequenceDetails() {
return sEQSequenceDetails;
}
public Ippomo setSEQSequenceDetails(SEQSequenceDetails sEQSequenceDetails) {
this.sEQSequenceDetails = sEQSequenceDetails; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public Ippomo setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getSegmentGroup1() {
return segmentGroup1;
}
public Ippomo setSegmentGroup1(List segmentGroup1) {
this.segmentGroup1 = segmentGroup1; return this;
}
public List getSegmentGroup3() {
return segmentGroup3;
}
public Ippomo setSegmentGroup3(List segmentGroup3) {
this.segmentGroup3 = segmentGroup3; return this;
}
public List getSegmentGroup7() {
return segmentGroup7;
}
public Ippomo setSegmentGroup7(List segmentGroup7) {
this.segmentGroup7 = segmentGroup7; return this;
}
public List getSegmentGroup13() {
return segmentGroup13;
}
public Ippomo setSegmentGroup13(List segmentGroup13) {
this.segmentGroup13 = segmentGroup13; return this;
}
public List getSegmentGroup17() {
return segmentGroup17;
}
public Ippomo setSegmentGroup17(List segmentGroup17) {
this.segmentGroup17 = segmentGroup17; return this;
}
public Uns getUNSSectionControl() {
return uNSSectionControl;
}
public Ippomo setUNSSectionControl(Uns uNSSectionControl) {
this.uNSSectionControl = uNSSectionControl; return this;
}
public List getSegmentGroup33() {
return segmentGroup33;
}
public Ippomo setSegmentGroup33(List segmentGroup33) {
this.segmentGroup33 = segmentGroup33; return this;
}
}