org.milyn.edi.unedifact.d98a.CONPVA.SegmentGroup28 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d98a.CONPVA;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d98a.common.AllowanceOrCharge;
import org.milyn.edi.unedifact.d98a.common.AdditionalInformation;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup28 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private AllowanceOrCharge allowanceOrCharge;
private AdditionalInformation additionalInformation;
private SegmentGroup29 segmentGroup29;
private SegmentGroup30 segmentGroup30;
private SegmentGroup31 segmentGroup31;
private SegmentGroup32 segmentGroup32;
private SegmentGroup33 segmentGroup33;
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) {
nodeWriter.write("ALI");
nodeWriter.write(delimiters.getField());
additionalInformation.write(nodeWriter, delimiters);
}
if(segmentGroup29 != null) {
segmentGroup29.write(nodeWriter, delimiters);
}
if(segmentGroup30 != null) {
segmentGroup30.write(nodeWriter, delimiters);
}
if(segmentGroup31 != null) {
segmentGroup31.write(nodeWriter, delimiters);
}
if(segmentGroup32 != null) {
segmentGroup32.write(nodeWriter, delimiters);
}
if(segmentGroup33 != null) {
segmentGroup33.write(nodeWriter, delimiters);
}
}
public AllowanceOrCharge getAllowanceOrCharge() {
return allowanceOrCharge;
}
public SegmentGroup28 setAllowanceOrCharge(AllowanceOrCharge allowanceOrCharge) {
this.allowanceOrCharge = allowanceOrCharge; return this;
}
public AdditionalInformation getAdditionalInformation() {
return additionalInformation;
}
public SegmentGroup28 setAdditionalInformation(AdditionalInformation additionalInformation) {
this.additionalInformation = additionalInformation; return this;
}
public SegmentGroup29 getSegmentGroup29() {
return segmentGroup29;
}
public SegmentGroup28 setSegmentGroup29(SegmentGroup29 segmentGroup29) {
this.segmentGroup29 = segmentGroup29; return this;
}
public SegmentGroup30 getSegmentGroup30() {
return segmentGroup30;
}
public SegmentGroup28 setSegmentGroup30(SegmentGroup30 segmentGroup30) {
this.segmentGroup30 = segmentGroup30; return this;
}
public SegmentGroup31 getSegmentGroup31() {
return segmentGroup31;
}
public SegmentGroup28 setSegmentGroup31(SegmentGroup31 segmentGroup31) {
this.segmentGroup31 = segmentGroup31; return this;
}
public SegmentGroup32 getSegmentGroup32() {
return segmentGroup32;
}
public SegmentGroup28 setSegmentGroup32(SegmentGroup32 segmentGroup32) {
this.segmentGroup32 = segmentGroup32; return this;
}
public SegmentGroup33 getSegmentGroup33() {
return segmentGroup33;
}
public SegmentGroup28 setSegmentGroup33(SegmentGroup33 segmentGroup33) {
this.segmentGroup33 = segmentGroup33; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy