org.virtuslab.edi.unedifact.d96a.RECADV.SegmentGroup8 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.RECADV;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.CDIPhysicalOrLogicalState;
import java.util.List;
import org.virtuslab.edi.unedifact.d96a.common.INPPartiesToInstruction;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup8 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private CDIPhysicalOrLogicalState cDIPhysicalOrLogicalState;
private List iNPPartiesToInstruction;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(cDIPhysicalOrLogicalState != null) {
nodeWriter.write("CDI");
nodeWriter.write(delimiters.getField());
cDIPhysicalOrLogicalState.write(nodeWriter, delimiters);
}
if(iNPPartiesToInstruction != null && !iNPPartiesToInstruction.isEmpty()) {
for(INPPartiesToInstruction iNPPartiesToInstructionInst : iNPPartiesToInstruction) {
nodeWriter.write("INP");
nodeWriter.write(delimiters.getField());
iNPPartiesToInstructionInst.write(nodeWriter, delimiters);
}
}
}
public CDIPhysicalOrLogicalState getCDIPhysicalOrLogicalState() {
return cDIPhysicalOrLogicalState;
}
public SegmentGroup8 setCDIPhysicalOrLogicalState(CDIPhysicalOrLogicalState cDIPhysicalOrLogicalState) {
this.cDIPhysicalOrLogicalState = cDIPhysicalOrLogicalState; return this;
}
public List getINPPartiesToInstruction() {
return iNPPartiesToInstruction;
}
public SegmentGroup8 setINPPartiesToInstruction(List iNPPartiesToInstruction) {
this.iNPPartiesToInstruction = iNPPartiesToInstruction; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy