org.milyn.edi.unedifact.d07a.COPARN.SegmentGroup13 Maven / Gradle / Ivy
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.milyn.edi.unedifact.d07a.COPARN;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.milyn.edi.unedifact.d07a.common.EQDEquipmentDetails;
import java.util.List;
import org.milyn.edi.unedifact.d07a.common.RFFReference;
import org.milyn.edi.unedifact.d07a.common.EQNNumberOfUnits;
import org.milyn.edi.unedifact.d07a.common.TMDTransportMovementDetails;
import org.milyn.edi.unedifact.d07a.common.DTMDateTimePeriod;
import org.milyn.edi.unedifact.d07a.common.TSRTransportServiceRequirements;
import org.milyn.edi.unedifact.d07a.common.LOCPlaceLocationIdentification;
import org.milyn.edi.unedifact.d07a.common.MEAMeasurements;
import org.milyn.edi.unedifact.d07a.common.DIMDimensions;
import org.milyn.edi.unedifact.d07a.common.SELSealNumber;
import org.milyn.edi.unedifact.d07a.common.FTXFreeText;
import org.milyn.edi.unedifact.d07a.common.PCDPercentageDetails;
import org.milyn.edi.unedifact.d07a.common.MOAMonetaryAmount;
import org.milyn.edi.unedifact.d07a.common.GORGovernmentalRequirements;
import org.milyn.edi.unedifact.d07a.common.EQAAttachedEquipment;
import org.milyn.edi.unedifact.d07a.common.CODComponentDetails;
import org.milyn.edi.unedifact.d07a.common.HANHandlingInstructions;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup13 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQDEquipmentDetails eQDEquipmentDetails;
private List rFFReference;
private EQNNumberOfUnits eQNNumberOfUnits;
private List tMDTransportMovementDetails;
private List dTMDateTimePeriod;
private List tSRTransportServiceRequirements;
private List lOCPlaceLocationIdentification;
private List mEAMeasurements;
private List dIMDimensions;
private List segmentGroup14;
private List sELSealNumber;
private List fTXFreeText;
private List pCDPercentageDetails;
private List segmentGroup15;
private List mOAMonetaryAmount;
private List gORGovernmentalRequirements;
private EQAAttachedEquipment eQAAttachedEquipment;
private CODComponentDetails cODComponentDetails;
private List hANHandlingInstructions;
private List segmentGroup17;
private List segmentGroup18;
private List segmentGroup20;
public void write(Writer writer, Delimiters delimiters) throws IOException {
Writer nodeWriter = writer;
if(eQDEquipmentDetails != null) {
nodeWriter.write("EQD");
nodeWriter.write(delimiters.getField());
eQDEquipmentDetails.write(nodeWriter, delimiters);
}
if(rFFReference != null && !rFFReference.isEmpty()) {
for(RFFReference rFFReferenceInst : rFFReference) {
nodeWriter.write("RFF");
nodeWriter.write(delimiters.getField());
rFFReferenceInst.write(nodeWriter, delimiters);
}
}
if(eQNNumberOfUnits != null) {
nodeWriter.write("EQN");
nodeWriter.write(delimiters.getField());
eQNNumberOfUnits.write(nodeWriter, delimiters);
}
if(tMDTransportMovementDetails != null && !tMDTransportMovementDetails.isEmpty()) {
for(TMDTransportMovementDetails tMDTransportMovementDetailsInst : tMDTransportMovementDetails) {
nodeWriter.write("TMD");
nodeWriter.write(delimiters.getField());
tMDTransportMovementDetailsInst.write(nodeWriter, delimiters);
}
}
if(dTMDateTimePeriod != null && !dTMDateTimePeriod.isEmpty()) {
for(DTMDateTimePeriod dTMDateTimePeriodInst : dTMDateTimePeriod) {
nodeWriter.write("DTM");
nodeWriter.write(delimiters.getField());
dTMDateTimePeriodInst.write(nodeWriter, delimiters);
}
}
if(tSRTransportServiceRequirements != null && !tSRTransportServiceRequirements.isEmpty()) {
for(TSRTransportServiceRequirements tSRTransportServiceRequirementsInst : tSRTransportServiceRequirements) {
nodeWriter.write("TSR");
nodeWriter.write(delimiters.getField());
tSRTransportServiceRequirementsInst.write(nodeWriter, delimiters);
}
}
if(lOCPlaceLocationIdentification != null && !lOCPlaceLocationIdentification.isEmpty()) {
for(LOCPlaceLocationIdentification lOCPlaceLocationIdentificationInst : lOCPlaceLocationIdentification) {
nodeWriter.write("LOC");
nodeWriter.write(delimiters.getField());
lOCPlaceLocationIdentificationInst.write(nodeWriter, delimiters);
}
}
if(mEAMeasurements != null && !mEAMeasurements.isEmpty()) {
for(MEAMeasurements mEAMeasurementsInst : mEAMeasurements) {
nodeWriter.write("MEA");
nodeWriter.write(delimiters.getField());
mEAMeasurementsInst.write(nodeWriter, delimiters);
}
}
if(dIMDimensions != null && !dIMDimensions.isEmpty()) {
for(DIMDimensions dIMDimensionsInst : dIMDimensions) {
nodeWriter.write("DIM");
nodeWriter.write(delimiters.getField());
dIMDimensionsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup14 != null && !segmentGroup14.isEmpty()) {
for(SegmentGroup14 segmentGroup14Inst : segmentGroup14) {
segmentGroup14Inst.write(nodeWriter, delimiters);
}
}
if(sELSealNumber != null && !sELSealNumber.isEmpty()) {
for(SELSealNumber sELSealNumberInst : sELSealNumber) {
nodeWriter.write("SEL");
nodeWriter.write(delimiters.getField());
sELSealNumberInst.write(nodeWriter, delimiters);
}
}
if(fTXFreeText != null && !fTXFreeText.isEmpty()) {
for(FTXFreeText fTXFreeTextInst : fTXFreeText) {
nodeWriter.write("FTX");
nodeWriter.write(delimiters.getField());
fTXFreeTextInst.write(nodeWriter, delimiters);
}
}
if(pCDPercentageDetails != null && !pCDPercentageDetails.isEmpty()) {
for(PCDPercentageDetails pCDPercentageDetailsInst : pCDPercentageDetails) {
nodeWriter.write("PCD");
nodeWriter.write(delimiters.getField());
pCDPercentageDetailsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup15 != null && !segmentGroup15.isEmpty()) {
for(SegmentGroup15 segmentGroup15Inst : segmentGroup15) {
segmentGroup15Inst.write(nodeWriter, delimiters);
}
}
if(mOAMonetaryAmount != null && !mOAMonetaryAmount.isEmpty()) {
for(MOAMonetaryAmount mOAMonetaryAmountInst : mOAMonetaryAmount) {
nodeWriter.write("MOA");
nodeWriter.write(delimiters.getField());
mOAMonetaryAmountInst.write(nodeWriter, delimiters);
}
}
if(gORGovernmentalRequirements != null && !gORGovernmentalRequirements.isEmpty()) {
for(GORGovernmentalRequirements gORGovernmentalRequirementsInst : gORGovernmentalRequirements) {
nodeWriter.write("GOR");
nodeWriter.write(delimiters.getField());
gORGovernmentalRequirementsInst.write(nodeWriter, delimiters);
}
}
if(eQAAttachedEquipment != null) {
nodeWriter.write("EQA");
nodeWriter.write(delimiters.getField());
eQAAttachedEquipment.write(nodeWriter, delimiters);
}
if(cODComponentDetails != null) {
nodeWriter.write("COD");
nodeWriter.write(delimiters.getField());
cODComponentDetails.write(nodeWriter, delimiters);
}
if(hANHandlingInstructions != null && !hANHandlingInstructions.isEmpty()) {
for(HANHandlingInstructions hANHandlingInstructionsInst : hANHandlingInstructions) {
nodeWriter.write("HAN");
nodeWriter.write(delimiters.getField());
hANHandlingInstructionsInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup17 != null && !segmentGroup17.isEmpty()) {
for(SegmentGroup17 segmentGroup17Inst : segmentGroup17) {
segmentGroup17Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup18 != null && !segmentGroup18.isEmpty()) {
for(SegmentGroup18 segmentGroup18Inst : segmentGroup18) {
segmentGroup18Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup20 != null && !segmentGroup20.isEmpty()) {
for(SegmentGroup20 segmentGroup20Inst : segmentGroup20) {
segmentGroup20Inst.write(nodeWriter, delimiters);
}
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup13 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup13 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public EQNNumberOfUnits getEQNNumberOfUnits() {
return eQNNumberOfUnits;
}
public SegmentGroup13 setEQNNumberOfUnits(EQNNumberOfUnits eQNNumberOfUnits) {
this.eQNNumberOfUnits = eQNNumberOfUnits; return this;
}
public List getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup13 setTMDTransportMovementDetails(List tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup13 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getTSRTransportServiceRequirements() {
return tSRTransportServiceRequirements;
}
public SegmentGroup13 setTSRTransportServiceRequirements(List tSRTransportServiceRequirements) {
this.tSRTransportServiceRequirements = tSRTransportServiceRequirements; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup13 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup13 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getDIMDimensions() {
return dIMDimensions;
}
public SegmentGroup13 setDIMDimensions(List dIMDimensions) {
this.dIMDimensions = dIMDimensions; return this;
}
public List getSegmentGroup14() {
return segmentGroup14;
}
public SegmentGroup13 setSegmentGroup14(List segmentGroup14) {
this.segmentGroup14 = segmentGroup14; return this;
}
public List getSELSealNumber() {
return sELSealNumber;
}
public SegmentGroup13 setSELSealNumber(List sELSealNumber) {
this.sELSealNumber = sELSealNumber; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup13 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getPCDPercentageDetails() {
return pCDPercentageDetails;
}
public SegmentGroup13 setPCDPercentageDetails(List pCDPercentageDetails) {
this.pCDPercentageDetails = pCDPercentageDetails; return this;
}
public List getSegmentGroup15() {
return segmentGroup15;
}
public SegmentGroup13 setSegmentGroup15(List segmentGroup15) {
this.segmentGroup15 = segmentGroup15; return this;
}
public List getMOAMonetaryAmount() {
return mOAMonetaryAmount;
}
public SegmentGroup13 setMOAMonetaryAmount(List mOAMonetaryAmount) {
this.mOAMonetaryAmount = mOAMonetaryAmount; return this;
}
public List getGORGovernmentalRequirements() {
return gORGovernmentalRequirements;
}
public SegmentGroup13 setGORGovernmentalRequirements(List gORGovernmentalRequirements) {
this.gORGovernmentalRequirements = gORGovernmentalRequirements; return this;
}
public EQAAttachedEquipment getEQAAttachedEquipment() {
return eQAAttachedEquipment;
}
public SegmentGroup13 setEQAAttachedEquipment(EQAAttachedEquipment eQAAttachedEquipment) {
this.eQAAttachedEquipment = eQAAttachedEquipment; return this;
}
public CODComponentDetails getCODComponentDetails() {
return cODComponentDetails;
}
public SegmentGroup13 setCODComponentDetails(CODComponentDetails cODComponentDetails) {
this.cODComponentDetails = cODComponentDetails; return this;
}
public List getHANHandlingInstructions() {
return hANHandlingInstructions;
}
public SegmentGroup13 setHANHandlingInstructions(List hANHandlingInstructions) {
this.hANHandlingInstructions = hANHandlingInstructions; return this;
}
public List getSegmentGroup17() {
return segmentGroup17;
}
public SegmentGroup13 setSegmentGroup17(List segmentGroup17) {
this.segmentGroup17 = segmentGroup17; return this;
}
public List getSegmentGroup18() {
return segmentGroup18;
}
public SegmentGroup13 setSegmentGroup18(List segmentGroup18) {
this.segmentGroup18 = segmentGroup18; return this;
}
public List getSegmentGroup20() {
return segmentGroup20;
}
public SegmentGroup13 setSegmentGroup20(List segmentGroup20) {
this.segmentGroup20 = segmentGroup20; return this;
}
}