org.milyn.edi.unedifact.d98a.ORDERS.SegmentGroup43 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.ORDERS;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.AllowanceOrCharge;
import java.util.List;
import org.milyn.edi.unedifact.d98a.common.AdditionalInformation;
import org.milyn.edi.unedifact.d98a.common.DateTimePeriod;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup43 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private AllowanceOrCharge allowanceOrCharge;
private List additionalInformation;
private List dateTimePeriod;
private SegmentGroup44 segmentGroup44;
private SegmentGroup45 segmentGroup45;
private List segmentGroup46;
private SegmentGroup47 segmentGroup47;
private List segmentGroup48;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(allowanceOrCharge != null) {
nodeWriter.write("ALC");
nodeWriter.write(delimiters.getField());
allowanceOrCharge.write(nodeWriter, delimiters);
}
if(additionalInformation != null && !additionalInformation.isEmpty()) {
for(AdditionalInformation additionalInformationInst : additionalInformation) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
additionalInformationInst.write(nodeWriter, delimiters);
}
}
if(dateTimePeriod != null && !dateTimePeriod.isEmpty()) {
for(DateTimePeriod dateTimePeriodInst : dateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup44 != null) {
segmentGroup44.write(nodeWriter, delimiters);
}
if(segmentGroup45 != null) {
segmentGroup45.write(nodeWriter, delimiters);
}
if(segmentGroup46 != null && !segmentGroup46.isEmpty()) {
for(SegmentGroup46 segmentGroup46Inst : segmentGroup46) {
segmentGroup46Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup47 != null) {
segmentGroup47.write(nodeWriter, delimiters);
}
if(segmentGroup48 != null && !segmentGroup48.isEmpty()) {
for(SegmentGroup48 segmentGroup48Inst : segmentGroup48) {
segmentGroup48Inst.write(nodeWriter, delimiters);
}
}
}
public AllowanceOrCharge getAllowanceOrCharge() {
return allowanceOrCharge;
}
public SegmentGroup43 setAllowanceOrCharge(AllowanceOrCharge allowanceOrCharge) {
this.allowanceOrCharge = allowanceOrCharge; return this;
}
public List getAdditionalInformation() {
return additionalInformation;
}
public SegmentGroup43 setAdditionalInformation(List additionalInformation) {
this.additionalInformation = additionalInformation; return this;
}
public List getDateTimePeriod() {
return dateTimePeriod;
}
public SegmentGroup43 setDateTimePeriod(List dateTimePeriod) {
this.dateTimePeriod = dateTimePeriod; return this;
}
public SegmentGroup44 getSegmentGroup44() {
return segmentGroup44;
}
public SegmentGroup43 setSegmentGroup44(SegmentGroup44 segmentGroup44) {
this.segmentGroup44 = segmentGroup44; return this;
}
public SegmentGroup45 getSegmentGroup45() {
return segmentGroup45;
}
public SegmentGroup43 setSegmentGroup45(SegmentGroup45 segmentGroup45) {
this.segmentGroup45 = segmentGroup45; return this;
}
public List getSegmentGroup46() {
return segmentGroup46;
}
public SegmentGroup43 setSegmentGroup46(List segmentGroup46) {
this.segmentGroup46 = segmentGroup46; return this;
}
public SegmentGroup47 getSegmentGroup47() {
return segmentGroup47;
}
public SegmentGroup43 setSegmentGroup47(SegmentGroup47 segmentGroup47) {
this.segmentGroup47 = segmentGroup47; return this;
}
public List getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup43 setSegmentGroup48(List segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy