org.milyn.edi.unedifact.d02a.CONEST.SegmentGroup31 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d02a.CONEST;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d02a.common.RCSRequirementsAndConditions;
import org.milyn.edi.unedifact.d02a.common.BIIStructureIdentification;
import org.milyn.edi.unedifact.d02a.common.GISGeneralIndicator;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup31 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private RCSRequirementsAndConditions rCSRequirementsAndConditions;
private BIIStructureIdentification bIIStructureIdentification;
private GISGeneralIndicator gISGeneralIndicator;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(rCSRequirementsAndConditions != null) {
nodeWriter.write("RCS");
nodeWriter.write(delimiters.getField());
rCSRequirementsAndConditions.write(nodeWriter, delimiters);
}
if(bIIStructureIdentification != null) {
nodeWriter.write("BII");
nodeWriter.write(delimiters.getField());
bIIStructureIdentification.write(nodeWriter, delimiters);
}
if(gISGeneralIndicator != null) {
nodeWriter.write("GIS");
nodeWriter.write(delimiters.getField());
gISGeneralIndicator.write(nodeWriter, delimiters);
}
}
public RCSRequirementsAndConditions getRCSRequirementsAndConditions() {
return rCSRequirementsAndConditions;
}
public SegmentGroup31 setRCSRequirementsAndConditions(RCSRequirementsAndConditions rCSRequirementsAndConditions) {
this.rCSRequirementsAndConditions = rCSRequirementsAndConditions; return this;
}
public BIIStructureIdentification getBIIStructureIdentification() {
return bIIStructureIdentification;
}
public SegmentGroup31 setBIIStructureIdentification(BIIStructureIdentification bIIStructureIdentification) {
this.bIIStructureIdentification = bIIStructureIdentification; return this;
}
public GISGeneralIndicator getGISGeneralIndicator() {
return gISGeneralIndicator;
}
public SegmentGroup31 setGISGeneralIndicator(GISGeneralIndicator gISGeneralIndicator) {
this.gISGeneralIndicator = gISGeneralIndicator; return this;
}
}