org.milyn.edi.unedifact.d09b.GOVCBR.SegmentGroup61 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d09b.GOVCBR;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d09b.common.GORGovernmentalRequirements;
import org.milyn.edi.unedifact.d09b.common.LOCPlaceLocationIdentification;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup61 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private GORGovernmentalRequirements gORGovernmentalRequirements;
private LOCPlaceLocationIdentification lOCPlaceLocationIdentification;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(gORGovernmentalRequirements != null) {
nodeWriter.write("GOR");
nodeWriter.write(delimiters.getField());
gORGovernmentalRequirements.write(nodeWriter, delimiters);
}
if(lOCPlaceLocationIdentification != null) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentification.write(nodeWriter, delimiters);
}
}
public GORGovernmentalRequirements getGORGovernmentalRequirements() {
return gORGovernmentalRequirements;
}
public SegmentGroup61 setGORGovernmentalRequirements(GORGovernmentalRequirements gORGovernmentalRequirements) {
this.gORGovernmentalRequirements = gORGovernmentalRequirements; return this;
}
public LOCPlaceLocationIdentification getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup61 setLOCPlaceLocationIdentification(LOCPlaceLocationIdentification lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
}