org.milyn.edi.unedifact.d99a.PROTAP.SegmentGroup21 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d99a.PROTAP;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d99a.common.GIRRelatedIdentificationNumbers;
import org.milyn.edi.unedifact.d99a.common.RELRelationship;
import org.milyn.edi.unedifact.d99a.common.RCSRequirementsAndConditions;
import java.util.List;
import org.milyn.edi.unedifact.d99a.common.BIIStructureIdentification;
import org.milyn.edi.unedifact.d99a.common.RFFReference;
import org.milyn.edi.unedifact.d99a.common.IMDItemDescription;
import org.milyn.edi.unedifact.d99a.common.DTMDateTimePeriod;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup21 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbers;
private RELRelationship rELRelationship;
private RCSRequirementsAndConditions rCSRequirementsAndConditions;
private List bIIStructureIdentification;
private List rFFReference;
private List iMDItemDescription;
private List dTMDateTimePeriod;
private List segmentGroup22;
private List segmentGroup23;
private List segmentGroup24;
private List segmentGroup25;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(gIRRelatedIdentificationNumbers != null) {
nodeWriter.write("GIR");
nodeWriter.write(delimiters.getField());
gIRRelatedIdentificationNumbers.write(nodeWriter, delimiters);
}
if(rELRelationship != null) {
nodeWriter.write("REL");
nodeWriter.write(delimiters.getField());
rELRelationship.write(nodeWriter, delimiters);
}
if(rCSRequirementsAndConditions != null) {
nodeWriter.write("RCS");
nodeWriter.write(delimiters.getField());
rCSRequirementsAndConditions.write(nodeWriter, delimiters);
}
if(bIIStructureIdentification != null && !bIIStructureIdentification.isEmpty()) {
for(BIIStructureIdentification bIIStructureIdentificationInst : bIIStructureIdentification) {
nodeWriter.write("BII");
nodeWriter.write(delimiters.getField());
bIIStructureIdentificationInst.write(nodeWriter, delimiters);
}
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(iMDItemDescription != null && !iMDItemDescription.isEmpty()) {
for(IMDItemDescription iMDItemDescriptionInst : iMDItemDescription) {
nodeWriter.write("IMD");
nodeWriter.write(delimiters.getField());
iMDItemDescriptionInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup22 != null && !segmentGroup22.isEmpty()) {
for(SegmentGroup22 segmentGroup22Inst : segmentGroup22) {
segmentGroup22Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup23 != null && !segmentGroup23.isEmpty()) {
for(SegmentGroup23 segmentGroup23Inst : segmentGroup23) {
segmentGroup23Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup24 != null && !segmentGroup24.isEmpty()) {
for(SegmentGroup24 segmentGroup24Inst : segmentGroup24) {
segmentGroup24Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup25 != null && !segmentGroup25.isEmpty()) {
for(SegmentGroup25 segmentGroup25Inst : segmentGroup25) {
segmentGroup25Inst.write(nodeWriter, delimiters);
}
}
}
public GIRRelatedIdentificationNumbers getGIRRelatedIdentificationNumbers() {
return gIRRelatedIdentificationNumbers;
}
public SegmentGroup21 setGIRRelatedIdentificationNumbers(GIRRelatedIdentificationNumbers gIRRelatedIdentificationNumbers) {
this.gIRRelatedIdentificationNumbers = gIRRelatedIdentificationNumbers; return this;
}
public RELRelationship getRELRelationship() {
return rELRelationship;
}
public SegmentGroup21 setRELRelationship(RELRelationship rELRelationship) {
this.rELRelationship = rELRelationship; return this;
}
public RCSRequirementsAndConditions getRCSRequirementsAndConditions() {
return rCSRequirementsAndConditions;
}
public SegmentGroup21 setRCSRequirementsAndConditions(RCSRequirementsAndConditions rCSRequirementsAndConditions) {
this.rCSRequirementsAndConditions = rCSRequirementsAndConditions; return this;
}
public List getBIIStructureIdentification() {
return bIIStructureIdentification;
}
public SegmentGroup21 setBIIStructureIdentification(List bIIStructureIdentification) {
this.bIIStructureIdentification = bIIStructureIdentification; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup21 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getIMDItemDescription() {
return iMDItemDescription;
}
public SegmentGroup21 setIMDItemDescription(List iMDItemDescription) {
this.iMDItemDescription = iMDItemDescription; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup21 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getSegmentGroup22() {
return segmentGroup22;
}
public SegmentGroup21 setSegmentGroup22(List segmentGroup22) {
this.segmentGroup22 = segmentGroup22; return this;
}
public List getSegmentGroup23() {
return segmentGroup23;
}
public SegmentGroup21 setSegmentGroup23(List segmentGroup23) {
this.segmentGroup23 = segmentGroup23; return this;
}
public List getSegmentGroup24() {
return segmentGroup24;
}
public SegmentGroup21 setSegmentGroup24(List segmentGroup24) {
this.segmentGroup24 = segmentGroup24; return this;
}
public List getSegmentGroup25() {
return segmentGroup25;
}
public SegmentGroup21 setSegmentGroup25(List segmentGroup25) {
this.segmentGroup25 = segmentGroup25; return this;
}
}