org.smooks.edifact.binding.d96a.COARRI Maven / Gradle / Ivy
/*-
* ========================LICENSE_START=================================
* d96a-edifact-binding
* %%
* Copyright (C) 2020 - 2025 Smooks
* %%
* Licensed under the terms of the Apache License Version 2.0, or
* the GNU Lesser General Public License version 3.0 or later.
*
* SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-or-later
*
* ======================================================================
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ======================================================================
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* =========================LICENSE_END==================================
*/
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.04 at 11:58:50 AM UTC
//
package org.smooks.edifact.binding.d96a;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for COARRI complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="COARRI">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="BGM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}BGM-BeginningOfMessage"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-1">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TDT-DetailsOfTransport"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-2" maxOccurs="9">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}NAD-NameAndAddress"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-3" maxOccurs="9999">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="EQD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}EQD-EquipmentDetails"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="TMD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TMD-TransportMovementDetails" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="DIM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DIM-Dimensions" maxOccurs="9" minOccurs="0"/>
* <element name="TMP" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TMP-Temperature" maxOccurs="9" minOccurs="0"/>
* <element name="RNG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}RNG-RangeDetails" maxOccurs="9" minOccurs="0"/>
* <element name="SEL" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}SEL-SealNumber" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DGS-DangerousGoods" maxOccurs="9" minOccurs="0"/>
* <element name="EQA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}EQA-AttachedEquipment" maxOccurs="9" minOccurs="0"/>
* <element name="PIA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}PIA-AdditionalProductId" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DAM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DAM-Damage"/>
* <element name="COD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}COD-ComponentDetails" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TDT-DetailsOfTransport"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <sequence>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}NAD-NameAndAddress" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <sequence>
* <element name="CNT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}CNT-ControlTotal"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "COARRI", propOrder = {
"bgm",
"ftx",
"rff",
"segGrp1",
"segGrp2",
"segGrp3",
"cnt"
})
public class COARRI {
@XmlElement(name = "BGM", required = true)
protected BGMBeginningOfMessage bgm;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "SegGrp-1", required = true)
protected COARRI.SegGrp1 segGrp1;
@XmlElement(name = "SegGrp-2", required = true)
protected List segGrp2;
@XmlElement(name = "SegGrp-3", required = true)
protected List segGrp3;
@XmlElement(name = "CNT", required = true)
protected CNTControlTotal cnt;
/**
* Gets the value of the bgm property.
*
* @return
* possible object is
* {@link BGMBeginningOfMessage }
*
*/
public BGMBeginningOfMessage getBGM() {
return bgm;
}
/**
* Sets the value of the bgm property.
*
* @param value
* allowed object is
* {@link BGMBeginningOfMessage }
*
*/
public void setBGM(BGMBeginningOfMessage value) {
this.bgm = value;
}
/**
* Gets the value of the ftx property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the ftx property.
*
*
* For example, to add a new item, do as follows:
*
* getFTX().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FTXFreeText }
*
*
*/
public List getFTX() {
if (ftx == null) {
ftx = new ArrayList();
}
return this.ftx;
}
/**
* Gets the value of the rff property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the segGrp1 property.
*
* @return
* possible object is
* {@link COARRI.SegGrp1 }
*
*/
public COARRI.SegGrp1 getSegGrp1() {
return segGrp1;
}
/**
* Sets the value of the segGrp1 property.
*
* @param value
* allowed object is
* {@link COARRI.SegGrp1 }
*
*/
public void setSegGrp1(COARRI.SegGrp1 value) {
this.segGrp1 = value;
}
/**
* Gets the value of the segGrp2 property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the segGrp2 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp2().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COARRI.SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
/**
* Gets the value of the segGrp3 property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the segGrp3 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp3().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COARRI.SegGrp3 }
*
*
*/
public List getSegGrp3() {
if (segGrp3 == null) {
segGrp3 = new ArrayList();
}
return this.segGrp3;
}
/**
* Gets the value of the cnt property.
*
* @return
* possible object is
* {@link CNTControlTotal }
*
*/
public CNTControlTotal getCNT() {
return cnt;
}
/**
* Sets the value of the cnt property.
*
* @param value
* allowed object is
* {@link CNTControlTotal }
*
*/
public void setCNT(CNTControlTotal value) {
this.cnt = value;
}
public COARRI withBGM(BGMBeginningOfMessage value) {
setBGM(value);
return this;
}
public COARRI withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public COARRI withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public COARRI withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public COARRI withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public COARRI withSegGrp1(COARRI.SegGrp1 value) {
setSegGrp1(value);
return this;
}
public COARRI withSegGrp2(COARRI.SegGrp2 ... values) {
if (values!= null) {
for (COARRI.SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public COARRI withSegGrp2(Collection values) {
if (values!= null) {
getSegGrp2().addAll(values);
}
return this;
}
public COARRI withSegGrp3(COARRI.SegGrp3 ... values) {
if (values!= null) {
for (COARRI.SegGrp3 value: values) {
getSegGrp3().add(value);
}
}
return this;
}
public COARRI withSegGrp3(Collection values) {
if (values!= null) {
getSegGrp3().addAll(values);
}
return this;
}
public COARRI withCNT(CNTControlTotal value) {
setCNT(value);
return this;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TDT-DetailsOfTransport"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdt",
"rff",
"loc",
"dtm"
})
public static class SegGrp1 {
@XmlElement(name = "TDT", required = true)
protected TDTDetailsOfTransport tdt;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "LOC")
protected List loc;
@XmlElement(name = "DTM")
protected List dtm;
/**
* Gets the value of the tdt property.
*
* @return
* possible object is
* {@link TDTDetailsOfTransport }
*
*/
public TDTDetailsOfTransport getTDT() {
return tdt;
}
/**
* Sets the value of the tdt property.
*
* @param value
* allowed object is
* {@link TDTDetailsOfTransport }
*
*/
public void setTDT(TDTDetailsOfTransport value) {
this.tdt = value;
}
/**
* Gets the value of the rff property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the loc property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the loc property.
*
*
* For example, to add a new item, do as follows:
*
* getLOC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LOCPlaceLocationIdentification }
*
*
*/
public List getLOC() {
if (loc == null) {
loc = new ArrayList();
}
return this.loc;
}
/**
* Gets the value of the dtm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dtm property.
*
*
* For example, to add a new item, do as follows:
*
* getDTM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DTMDateTimePeriod }
*
*
*/
public List getDTM() {
if (dtm == null) {
dtm = new ArrayList();
}
return this.dtm;
}
public COARRI.SegGrp1 withTDT(TDTDetailsOfTransport value) {
setTDT(value);
return this;
}
public COARRI.SegGrp1 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public COARRI.SegGrp1 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public COARRI.SegGrp1 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public COARRI.SegGrp1 withLOC(Collection values) {
if (values!= null) {
getLOC().addAll(values);
}
return this;
}
public COARRI.SegGrp1 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public COARRI.SegGrp1 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}NAD-NameAndAddress"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"nad",
"cta"
})
public static class SegGrp2 {
@XmlElement(name = "NAD", required = true)
protected NADNameAndAddress nad;
@XmlElement(name = "CTA")
protected List cta;
/**
* Gets the value of the nad property.
*
* @return
* possible object is
* {@link NADNameAndAddress }
*
*/
public NADNameAndAddress getNAD() {
return nad;
}
/**
* Sets the value of the nad property.
*
* @param value
* allowed object is
* {@link NADNameAndAddress }
*
*/
public void setNAD(NADNameAndAddress value) {
this.nad = value;
}
/**
* Gets the value of the cta property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the cta property.
*
*
* For example, to add a new item, do as follows:
*
* getCTA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CTAContactInformation }
*
*
*/
public List getCTA() {
if (cta == null) {
cta = new ArrayList();
}
return this.cta;
}
public COARRI.SegGrp2 withNAD(NADNameAndAddress value) {
setNAD(value);
return this;
}
public COARRI.SegGrp2 withCTA(CTAContactInformation... values) {
if (values!= null) {
for (CTAContactInformation value: values) {
getCTA().add(value);
}
}
return this;
}
public COARRI.SegGrp2 withCTA(Collection values) {
if (values!= null) {
getCTA().addAll(values);
}
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="EQD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}EQD-EquipmentDetails"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="TMD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TMD-TransportMovementDetails" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="DIM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DIM-Dimensions" maxOccurs="9" minOccurs="0"/>
* <element name="TMP" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TMP-Temperature" maxOccurs="9" minOccurs="0"/>
* <element name="RNG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}RNG-RangeDetails" maxOccurs="9" minOccurs="0"/>
* <element name="SEL" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}SEL-SealNumber" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DGS-DangerousGoods" maxOccurs="9" minOccurs="0"/>
* <element name="EQA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}EQA-AttachedEquipment" maxOccurs="9" minOccurs="0"/>
* <element name="PIA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}PIA-AdditionalProductId" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DAM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DAM-Damage"/>
* <element name="COD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}COD-ComponentDetails" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TDT-DetailsOfTransport"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <sequence>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}NAD-NameAndAddress" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"eqd",
"rff",
"tmd",
"dtm",
"loc",
"mea",
"dim",
"tmp",
"rng",
"sel",
"ftx",
"dgs",
"eqa",
"pia",
"segGrp4",
"segGrp5",
"nad"
})
public static class SegGrp3 {
@XmlElement(name = "EQD", required = true)
protected EQDEquipmentDetails eqd;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "TMD")
protected List tmd;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "LOC")
protected List loc;
@XmlElement(name = "MEA")
protected List mea;
@XmlElement(name = "DIM")
protected List dim;
@XmlElement(name = "TMP")
protected List tmp;
@XmlElement(name = "RNG")
protected List rng;
@XmlElement(name = "SEL")
protected List sel;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "DGS")
protected List dgs;
@XmlElement(name = "EQA")
protected List eqa;
@XmlElement(name = "PIA")
protected List pia;
@XmlElement(name = "SegGrp-4")
protected List segGrp4;
@XmlElement(name = "SegGrp-5")
protected COARRI.SegGrp3 .SegGrp5 segGrp5;
@XmlElement(name = "NAD")
protected NADNameAndAddress nad;
/**
* Gets the value of the eqd property.
*
* @return
* possible object is
* {@link EQDEquipmentDetails }
*
*/
public EQDEquipmentDetails getEQD() {
return eqd;
}
/**
* Sets the value of the eqd property.
*
* @param value
* allowed object is
* {@link EQDEquipmentDetails }
*
*/
public void setEQD(EQDEquipmentDetails value) {
this.eqd = value;
}
/**
* Gets the value of the rff property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the tmd property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the tmd property.
*
*
* For example, to add a new item, do as follows:
*
* getTMD().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TMDTransportMovementDetails }
*
*
*/
public List getTMD() {
if (tmd == null) {
tmd = new ArrayList();
}
return this.tmd;
}
/**
* Gets the value of the dtm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dtm property.
*
*
* For example, to add a new item, do as follows:
*
* getDTM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DTMDateTimePeriod }
*
*
*/
public List getDTM() {
if (dtm == null) {
dtm = new ArrayList();
}
return this.dtm;
}
/**
* Gets the value of the loc property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the loc property.
*
*
* For example, to add a new item, do as follows:
*
* getLOC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LOCPlaceLocationIdentification }
*
*
*/
public List getLOC() {
if (loc == null) {
loc = new ArrayList();
}
return this.loc;
}
/**
* Gets the value of the mea property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the mea property.
*
*
* For example, to add a new item, do as follows:
*
* getMEA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MEAMeasurements }
*
*
*/
public List getMEA() {
if (mea == null) {
mea = new ArrayList();
}
return this.mea;
}
/**
* Gets the value of the dim property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dim property.
*
*
* For example, to add a new item, do as follows:
*
* getDIM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DIMDimensions }
*
*
*/
public List getDIM() {
if (dim == null) {
dim = new ArrayList();
}
return this.dim;
}
/**
* Gets the value of the tmp property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the tmp property.
*
*
* For example, to add a new item, do as follows:
*
* getTMP().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TMPTemperature }
*
*
*/
public List getTMP() {
if (tmp == null) {
tmp = new ArrayList();
}
return this.tmp;
}
/**
* Gets the value of the rng property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rng property.
*
*
* For example, to add a new item, do as follows:
*
* getRNG().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RNGRangeDetails }
*
*
*/
public List getRNG() {
if (rng == null) {
rng = new ArrayList();
}
return this.rng;
}
/**
* Gets the value of the sel property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the sel property.
*
*
* For example, to add a new item, do as follows:
*
* getSEL().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SELSealNumber }
*
*
*/
public List getSEL() {
if (sel == null) {
sel = new ArrayList();
}
return this.sel;
}
/**
* Gets the value of the ftx property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the ftx property.
*
*
* For example, to add a new item, do as follows:
*
* getFTX().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FTXFreeText }
*
*
*/
public List getFTX() {
if (ftx == null) {
ftx = new ArrayList();
}
return this.ftx;
}
/**
* Gets the value of the dgs property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dgs property.
*
*
* For example, to add a new item, do as follows:
*
* getDGS().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DGSDangerousGoods }
*
*
*/
public List getDGS() {
if (dgs == null) {
dgs = new ArrayList();
}
return this.dgs;
}
/**
* Gets the value of the eqa property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the eqa property.
*
*
* For example, to add a new item, do as follows:
*
* getEQA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EQAAttachedEquipment }
*
*
*/
public List getEQA() {
if (eqa == null) {
eqa = new ArrayList();
}
return this.eqa;
}
/**
* Gets the value of the pia property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the pia property.
*
*
* For example, to add a new item, do as follows:
*
* getPIA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PIAAdditionalProductId }
*
*
*/
public List getPIA() {
if (pia == null) {
pia = new ArrayList();
}
return this.pia;
}
/**
* Gets the value of the segGrp4 property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the segGrp4 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp4().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COARRI.SegGrp3 .SegGrp4 }
*
*
*/
public List getSegGrp4() {
if (segGrp4 == null) {
segGrp4 = new ArrayList();
}
return this.segGrp4;
}
/**
* Gets the value of the segGrp5 property.
*
* @return
* possible object is
* {@link COARRI.SegGrp3 .SegGrp5 }
*
*/
public COARRI.SegGrp3 .SegGrp5 getSegGrp5() {
return segGrp5;
}
/**
* Sets the value of the segGrp5 property.
*
* @param value
* allowed object is
* {@link COARRI.SegGrp3 .SegGrp5 }
*
*/
public void setSegGrp5(COARRI.SegGrp3 .SegGrp5 value) {
this.segGrp5 = value;
}
/**
* Gets the value of the nad property.
*
* @return
* possible object is
* {@link NADNameAndAddress }
*
*/
public NADNameAndAddress getNAD() {
return nad;
}
/**
* Sets the value of the nad property.
*
* @param value
* allowed object is
* {@link NADNameAndAddress }
*
*/
public void setNAD(NADNameAndAddress value) {
this.nad = value;
}
public COARRI.SegGrp3 withEQD(EQDEquipmentDetails value) {
setEQD(value);
return this;
}
public COARRI.SegGrp3 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withTMD(TMDTransportMovementDetails... values) {
if (values!= null) {
for (TMDTransportMovementDetails value: values) {
getTMD().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withTMD(Collection values) {
if (values!= null) {
getTMD().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withLOC(Collection values) {
if (values!= null) {
getLOC().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withMEA(MEAMeasurements... values) {
if (values!= null) {
for (MEAMeasurements value: values) {
getMEA().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withMEA(Collection values) {
if (values!= null) {
getMEA().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withDIM(DIMDimensions... values) {
if (values!= null) {
for (DIMDimensions value: values) {
getDIM().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withDIM(Collection values) {
if (values!= null) {
getDIM().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withTMP(TMPTemperature... values) {
if (values!= null) {
for (TMPTemperature value: values) {
getTMP().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withTMP(Collection values) {
if (values!= null) {
getTMP().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withRNG(RNGRangeDetails... values) {
if (values!= null) {
for (RNGRangeDetails value: values) {
getRNG().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withRNG(Collection values) {
if (values!= null) {
getRNG().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withSEL(SELSealNumber... values) {
if (values!= null) {
for (SELSealNumber value: values) {
getSEL().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withSEL(Collection values) {
if (values!= null) {
getSEL().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withDGS(DGSDangerousGoods... values) {
if (values!= null) {
for (DGSDangerousGoods value: values) {
getDGS().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withDGS(Collection values) {
if (values!= null) {
getDGS().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withEQA(EQAAttachedEquipment... values) {
if (values!= null) {
for (EQAAttachedEquipment value: values) {
getEQA().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withEQA(Collection values) {
if (values!= null) {
getEQA().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withPIA(PIAAdditionalProductId... values) {
if (values!= null) {
for (PIAAdditionalProductId value: values) {
getPIA().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withPIA(Collection values) {
if (values!= null) {
getPIA().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withSegGrp4(COARRI.SegGrp3 .SegGrp4 ... values) {
if (values!= null) {
for (COARRI.SegGrp3 .SegGrp4 value: values) {
getSegGrp4().add(value);
}
}
return this;
}
public COARRI.SegGrp3 withSegGrp4(Collection values) {
if (values!= null) {
getSegGrp4().addAll(values);
}
return this;
}
public COARRI.SegGrp3 withSegGrp5(COARRI.SegGrp3 .SegGrp5 value) {
setSegGrp5(value);
return this;
}
public COARRI.SegGrp3 withNAD(NADNameAndAddress value) {
setNAD(value);
return this;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DAM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DAM-Damage"/>
* <element name="COD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}COD-ComponentDetails" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"dam",
"cod"
})
public static class SegGrp4 {
@XmlElement(name = "DAM", required = true)
protected DAMDamage dam;
@XmlElement(name = "COD")
protected CODComponentDetails cod;
/**
* Gets the value of the dam property.
*
* @return
* possible object is
* {@link DAMDamage }
*
*/
public DAMDamage getDAM() {
return dam;
}
/**
* Sets the value of the dam property.
*
* @param value
* allowed object is
* {@link DAMDamage }
*
*/
public void setDAM(DAMDamage value) {
this.dam = value;
}
/**
* Gets the value of the cod property.
*
* @return
* possible object is
* {@link CODComponentDetails }
*
*/
public CODComponentDetails getCOD() {
return cod;
}
/**
* Sets the value of the cod property.
*
* @param value
* allowed object is
* {@link CODComponentDetails }
*
*/
public void setCOD(CODComponentDetails value) {
this.cod = value;
}
public COARRI.SegGrp3 .SegGrp4 withDAM(DAMDamage value) {
setDAM(value);
return this;
}
public COARRI.SegGrp3 .SegGrp4 withCOD(CODComponentDetails value) {
setCOD(value);
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}TDT-DetailsOfTransport"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D96A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdt",
"loc",
"dtm"
})
public static class SegGrp5 {
@XmlElement(name = "TDT", required = true)
protected TDTDetailsOfTransport tdt;
@XmlElement(name = "LOC")
protected List loc;
@XmlElement(name = "DTM")
protected List dtm;
/**
* Gets the value of the tdt property.
*
* @return
* possible object is
* {@link TDTDetailsOfTransport }
*
*/
public TDTDetailsOfTransport getTDT() {
return tdt;
}
/**
* Sets the value of the tdt property.
*
* @param value
* allowed object is
* {@link TDTDetailsOfTransport }
*
*/
public void setTDT(TDTDetailsOfTransport value) {
this.tdt = value;
}
/**
* Gets the value of the loc property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the loc property.
*
*
* For example, to add a new item, do as follows:
*
* getLOC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LOCPlaceLocationIdentification }
*
*
*/
public List getLOC() {
if (loc == null) {
loc = new ArrayList();
}
return this.loc;
}
/**
* Gets the value of the dtm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dtm property.
*
*
* For example, to add a new item, do as follows:
*
* getDTM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DTMDateTimePeriod }
*
*
*/
public List getDTM() {
if (dtm == null) {
dtm = new ArrayList();
}
return this.dtm;
}
public COARRI.SegGrp3 .SegGrp5 withTDT(TDTDetailsOfTransport value) {
setTDT(value);
return this;
}
public COARRI.SegGrp3 .SegGrp5 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public COARRI.SegGrp3 .SegGrp5 withLOC(Collection values) {
if (values!= null) {
getLOC().addAll(values);
}
return this;
}
public COARRI.SegGrp3 .SegGrp5 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public COARRI.SegGrp3 .SegGrp5 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
}
}
}