org.virtuslab.edi.unedifact.d96a.REQOTE.SegmentGroup46 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.REQOTE;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.ALCAllowanceOrCharge;
import java.util.List;
import org.virtuslab.edi.unedifact.d96a.common.ALIAdditionalInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup46 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private ALCAllowanceOrCharge aLCAllowanceOrCharge;
private List aLIAdditionalInformation;
private SegmentGroup47 segmentGroup47;
private SegmentGroup48 segmentGroup48;
private List segmentGroup49;
private SegmentGroup50 segmentGroup50;
private List segmentGroup51;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(aLCAllowanceOrCharge != null) {
nodeWriter.write("ALC");
nodeWriter.write(delimiters.getField());
aLCAllowanceOrCharge.write(nodeWriter, delimiters);
}
if(aLIAdditionalInformation != null && !aLIAdditionalInformation.isEmpty()) {
for(ALIAdditionalInformation aLIAdditionalInformationInst : aLIAdditionalInformation) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
aLIAdditionalInformationInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup47 != null) {
segmentGroup47.write(nodeWriter, delimiters);
}
if(segmentGroup48 != null) {
segmentGroup48.write(nodeWriter, delimiters);
}
if(segmentGroup49 != null && !segmentGroup49.isEmpty()) {
for(SegmentGroup49 segmentGroup49Inst : segmentGroup49) {
segmentGroup49Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup50 != null) {
segmentGroup50.write(nodeWriter, delimiters);
}
if(segmentGroup51 != null && !segmentGroup51.isEmpty()) {
for(SegmentGroup51 segmentGroup51Inst : segmentGroup51) {
segmentGroup51Inst.write(nodeWriter, delimiters);
}
}
}
public ALCAllowanceOrCharge getALCAllowanceOrCharge() {
return aLCAllowanceOrCharge;
}
public SegmentGroup46 setALCAllowanceOrCharge(ALCAllowanceOrCharge aLCAllowanceOrCharge) {
this.aLCAllowanceOrCharge = aLCAllowanceOrCharge; return this;
}
public List getALIAdditionalInformation() {
return aLIAdditionalInformation;
}
public SegmentGroup46 setALIAdditionalInformation(List aLIAdditionalInformation) {
this.aLIAdditionalInformation = aLIAdditionalInformation; return this;
}
public SegmentGroup47 getSegmentGroup47() {
return segmentGroup47;
}
public SegmentGroup46 setSegmentGroup47(SegmentGroup47 segmentGroup47) {
this.segmentGroup47 = segmentGroup47; return this;
}
public SegmentGroup48 getSegmentGroup48() {
return segmentGroup48;
}
public SegmentGroup46 setSegmentGroup48(SegmentGroup48 segmentGroup48) {
this.segmentGroup48 = segmentGroup48; return this;
}
public List getSegmentGroup49() {
return segmentGroup49;
}
public SegmentGroup46 setSegmentGroup49(List segmentGroup49) {
this.segmentGroup49 = segmentGroup49; return this;
}
public SegmentGroup50 getSegmentGroup50() {
return segmentGroup50;
}
public SegmentGroup46 setSegmentGroup50(SegmentGroup50 segmentGroup50) {
this.segmentGroup50 = segmentGroup50; return this;
}
public List getSegmentGroup51() {
return segmentGroup51;
}
public SegmentGroup46 setSegmentGroup51(List segmentGroup51) {
this.segmentGroup51 = segmentGroup51; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy