org.virtuslab.edi.unedifact.d96a.COARRI.SegmentGroup3 Maven / Gradle / Ivy
The newest version!
/**
* This class was generated by Smooks EJC (http://www.smooks.org).
*/
package org.virtuslab.edi.unedifact.d96a.COARRI;
import java.io.Serializable;
import org.milyn.smooks.edi.EDIWritable;
import org.virtuslab.edi.unedifact.d96a.common.EQDEquipmentDetails;
import java.util.List;
import org.virtuslab.edi.unedifact.d96a.common.RFFReference;
import org.virtuslab.edi.unedifact.d96a.common.TMDTransportMovementDetails;
import org.virtuslab.edi.unedifact.d96a.common.DTMDateTimePeriod;
import org.virtuslab.edi.unedifact.d96a.common.LOCPlaceLocationIdentification;
import org.virtuslab.edi.unedifact.d96a.common.MEAMeasurements;
import org.virtuslab.edi.unedifact.d96a.common.DIMDimensions;
import org.virtuslab.edi.unedifact.d96a.common.TMPTemperature;
import org.virtuslab.edi.unedifact.d96a.common.RNGRangeDetails;
import org.virtuslab.edi.unedifact.d96a.common.SELSealNumber;
import org.virtuslab.edi.unedifact.d96a.common.FTXFreeText;
import org.virtuslab.edi.unedifact.d96a.common.DGSDangerousGoods;
import org.virtuslab.edi.unedifact.d96a.common.EQAAttachedEquipment;
import org.virtuslab.edi.unedifact.d96a.common.PIAAdditionalProductId;
import org.virtuslab.edi.unedifact.d96a.common.NADNameAndAddress;
import java.io.Writer;
import org.milyn.edisax.model.internal.Delimiters;
import java.io.IOException;
public class SegmentGroup3 implements Serializable, EDIWritable {
private static final long serialVersionUID = 1L;
private EQDEquipmentDetails eQDEquipmentDetails;
private List rFFReference;
private List tMDTransportMovementDetails;
private List dTMDateTimePeriod;
private List lOCPlaceLocationIdentification;
private List mEAMeasurements;
private List dIMDimensions;
private List tMPTemperature;
private List rNGRangeDetails;
private List sELSealNumber;
private List fTXFreeText;
private List dGSDangerousGoods;
private List eQAAttachedEquipment;
private List pIAAdditionalProductId;
private List segmentGroup4;
private SegmentGroup5 segmentGroup5;
private NADNameAndAddress nADNameAndAddress;
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(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(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(tMPTemperature != null && !tMPTemperature.isEmpty()) {
for(TMPTemperature tMPTemperatureInst : tMPTemperature) {
nodeWriter.write("TMP");
nodeWriter.write(delimiters.getField());
tMPTemperatureInst.write(nodeWriter, delimiters);
}
}
if(rNGRangeDetails != null && !rNGRangeDetails.isEmpty()) {
for(RNGRangeDetails rNGRangeDetailsInst : rNGRangeDetails) {
nodeWriter.write("RNG");
nodeWriter.write(delimiters.getField());
rNGRangeDetailsInst.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(dGSDangerousGoods != null && !dGSDangerousGoods.isEmpty()) {
for(DGSDangerousGoods dGSDangerousGoodsInst : dGSDangerousGoods) {
nodeWriter.write("DGS");
nodeWriter.write(delimiters.getField());
dGSDangerousGoodsInst.write(nodeWriter, delimiters);
}
}
if(eQAAttachedEquipment != null && !eQAAttachedEquipment.isEmpty()) {
for(EQAAttachedEquipment eQAAttachedEquipmentInst : eQAAttachedEquipment) {
nodeWriter.write("EQA");
nodeWriter.write(delimiters.getField());
eQAAttachedEquipmentInst.write(nodeWriter, delimiters);
}
}
if(pIAAdditionalProductId != null && !pIAAdditionalProductId.isEmpty()) {
for(PIAAdditionalProductId pIAAdditionalProductIdInst : pIAAdditionalProductId) {
nodeWriter.write("PIA");
nodeWriter.write(delimiters.getField());
pIAAdditionalProductIdInst.write(nodeWriter, delimiters);
}
}
if(segmentGroup4 != null && !segmentGroup4.isEmpty()) {
for(SegmentGroup4 segmentGroup4Inst : segmentGroup4) {
segmentGroup4Inst.write(nodeWriter, delimiters);
}
}
if(segmentGroup5 != null) {
segmentGroup5.write(nodeWriter, delimiters);
}
if(nADNameAndAddress != null) {
nodeWriter.write("NAD");
nodeWriter.write(delimiters.getField());
nADNameAndAddress.write(nodeWriter, delimiters);
}
}
public EQDEquipmentDetails getEQDEquipmentDetails() {
return eQDEquipmentDetails;
}
public SegmentGroup3 setEQDEquipmentDetails(EQDEquipmentDetails eQDEquipmentDetails) {
this.eQDEquipmentDetails = eQDEquipmentDetails; return this;
}
public List getRFFReference() {
return rFFReference;
}
public SegmentGroup3 setRFFReference(List rFFReference) {
this.rFFReference = rFFReference; return this;
}
public List getTMDTransportMovementDetails() {
return tMDTransportMovementDetails;
}
public SegmentGroup3 setTMDTransportMovementDetails(List tMDTransportMovementDetails) {
this.tMDTransportMovementDetails = tMDTransportMovementDetails; return this;
}
public List getDTMDateTimePeriod() {
return dTMDateTimePeriod;
}
public SegmentGroup3 setDTMDateTimePeriod(List dTMDateTimePeriod) {
this.dTMDateTimePeriod = dTMDateTimePeriod; return this;
}
public List getLOCPlaceLocationIdentification() {
return lOCPlaceLocationIdentification;
}
public SegmentGroup3 setLOCPlaceLocationIdentification(List lOCPlaceLocationIdentification) {
this.lOCPlaceLocationIdentification = lOCPlaceLocationIdentification; return this;
}
public List getMEAMeasurements() {
return mEAMeasurements;
}
public SegmentGroup3 setMEAMeasurements(List mEAMeasurements) {
this.mEAMeasurements = mEAMeasurements; return this;
}
public List getDIMDimensions() {
return dIMDimensions;
}
public SegmentGroup3 setDIMDimensions(List dIMDimensions) {
this.dIMDimensions = dIMDimensions; return this;
}
public List getTMPTemperature() {
return tMPTemperature;
}
public SegmentGroup3 setTMPTemperature(List tMPTemperature) {
this.tMPTemperature = tMPTemperature; return this;
}
public List getRNGRangeDetails() {
return rNGRangeDetails;
}
public SegmentGroup3 setRNGRangeDetails(List rNGRangeDetails) {
this.rNGRangeDetails = rNGRangeDetails; return this;
}
public List getSELSealNumber() {
return sELSealNumber;
}
public SegmentGroup3 setSELSealNumber(List sELSealNumber) {
this.sELSealNumber = sELSealNumber; return this;
}
public List getFTXFreeText() {
return fTXFreeText;
}
public SegmentGroup3 setFTXFreeText(List fTXFreeText) {
this.fTXFreeText = fTXFreeText; return this;
}
public List getDGSDangerousGoods() {
return dGSDangerousGoods;
}
public SegmentGroup3 setDGSDangerousGoods(List dGSDangerousGoods) {
this.dGSDangerousGoods = dGSDangerousGoods; return this;
}
public List getEQAAttachedEquipment() {
return eQAAttachedEquipment;
}
public SegmentGroup3 setEQAAttachedEquipment(List eQAAttachedEquipment) {
this.eQAAttachedEquipment = eQAAttachedEquipment; return this;
}
public List getPIAAdditionalProductId() {
return pIAAdditionalProductId;
}
public SegmentGroup3 setPIAAdditionalProductId(List pIAAdditionalProductId) {
this.pIAAdditionalProductId = pIAAdditionalProductId; return this;
}
public List getSegmentGroup4() {
return segmentGroup4;
}
public SegmentGroup3 setSegmentGroup4(List segmentGroup4) {
this.segmentGroup4 = segmentGroup4; return this;
}
public SegmentGroup5 getSegmentGroup5() {
return segmentGroup5;
}
public SegmentGroup3 setSegmentGroup5(SegmentGroup5 segmentGroup5) {
this.segmentGroup5 = segmentGroup5; return this;
}
public NADNameAndAddress getNADNameAndAddress() {
return nADNameAndAddress;
}
public SegmentGroup3 setNADNameAndAddress(NADNameAndAddress nADNameAndAddress) {
this.nADNameAndAddress = nADNameAndAddress; return this;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy