org.smooks.edifact.binding.d93a.BAPLIE Maven / Gradle / Ivy
/*-
* ========================LICENSE_START=================================
* d93a-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:15 AM UTC
//
package org.smooks.edifact.binding.d93a;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlElementRefs;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for BAPLIE complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="BAPLIE">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="BGM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}BGM-BeginningOfMessage"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DTM-DateTimePeriod"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}RFF-Reference" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}NAD-NameAndAddress" maxOccurs="3" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-1" maxOccurs="3">
* <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/D93A}TDT-DetailsOfTransport"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}LOC-PlaceLocationIdentification"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DTM-DateTimePeriod" maxOccurs="99"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}RFF-Reference" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-2" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}LOC-PlaceLocationIdentification"/>
* <element name="GID" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}GID-GoodsItemDetails" minOccurs="0"/>
* <element name="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}GDS-NatureOfCargo" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}MEA-Measurements" maxOccurs="9"/>
* <element name="DIM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DIM-Dimensions" maxOccurs="9" minOccurs="0"/>
* <element name="TMP" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}TMP-Temperature" minOccurs="0"/>
* <element name="RNG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}RNG-RangeDetails" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}RFF-Reference"/>
* </sequence>
* <element name="SegGrp-3" maxOccurs="3" minOccurs="0">
* <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/D93A}EQD-EquipmentDetails"/>
* <element name="EQA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}EQA-AttachedEquipment" maxOccurs="9" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}NAD-NameAndAddress" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-4" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DGS-DangerousGoods"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BAPLIE", propOrder = {
"bgm",
"dtm",
"rff",
"nad",
"segGrp1",
"segGrp2"
})
public class BAPLIE {
@XmlElement(name = "BGM", required = true)
protected BGMBeginningOfMessage bgm;
@XmlElement(name = "DTM", required = true)
protected DTMDateTimePeriod dtm;
@XmlElement(name = "RFF")
protected RFFReference rff;
@XmlElement(name = "NAD")
protected List nad;
@XmlElement(name = "SegGrp-1", required = true)
protected List segGrp1;
@XmlElement(name = "SegGrp-2")
protected List segGrp2;
/**
* 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 dtm property.
*
* @return
* possible object is
* {@link DTMDateTimePeriod }
*
*/
public DTMDateTimePeriod getDTM() {
return dtm;
}
/**
* Sets the value of the dtm property.
*
* @param value
* allowed object is
* {@link DTMDateTimePeriod }
*
*/
public void setDTM(DTMDateTimePeriod value) {
this.dtm = value;
}
/**
* Gets the value of the rff property.
*
* @return
* possible object is
* {@link RFFReference }
*
*/
public RFFReference getRFF() {
return rff;
}
/**
* Sets the value of the rff property.
*
* @param value
* allowed object is
* {@link RFFReference }
*
*/
public void setRFF(RFFReference value) {
this.rff = value;
}
/**
* Gets the value of the nad 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 nad property.
*
*
* For example, to add a new item, do as follows:
*
* getNAD().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NADNameAndAddress }
*
*
*/
public List getNAD() {
if (nad == null) {
nad = new ArrayList();
}
return this.nad;
}
/**
* Gets the value of the segGrp1 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 segGrp1 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp1().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BAPLIE.SegGrp1 }
*
*
*/
public List getSegGrp1() {
if (segGrp1 == null) {
segGrp1 = new ArrayList();
}
return this.segGrp1;
}
/**
* 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 BAPLIE.SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
public BAPLIE withBGM(BGMBeginningOfMessage value) {
setBGM(value);
return this;
}
public BAPLIE withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
public BAPLIE withRFF(RFFReference value) {
setRFF(value);
return this;
}
public BAPLIE withNAD(NADNameAndAddress... values) {
if (values!= null) {
for (NADNameAndAddress value: values) {
getNAD().add(value);
}
}
return this;
}
public BAPLIE withNAD(Collection values) {
if (values!= null) {
getNAD().addAll(values);
}
return this;
}
public BAPLIE withSegGrp1(BAPLIE.SegGrp1 ... values) {
if (values!= null) {
for (BAPLIE.SegGrp1 value: values) {
getSegGrp1().add(value);
}
}
return this;
}
public BAPLIE withSegGrp1(Collection values) {
if (values!= null) {
getSegGrp1().addAll(values);
}
return this;
}
public BAPLIE withSegGrp2(BAPLIE.SegGrp2 ... values) {
if (values!= null) {
for (BAPLIE.SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public BAPLIE withSegGrp2(Collection values) {
if (values!= null) {
getSegGrp2().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="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}TDT-DetailsOfTransport"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}LOC-PlaceLocationIdentification"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DTM-DateTimePeriod" maxOccurs="99"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}RFF-Reference" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdt",
"loc",
"dtm",
"rff",
"ftx"
})
public static class SegGrp1 {
@XmlElement(name = "TDT", required = true)
protected TDTDetailsOfTransport tdt;
@XmlElement(name = "LOC", required = true)
protected LOCPlaceLocationIdentification loc;
@XmlElement(name = "DTM", required = true)
protected List dtm;
@XmlElement(name = "RFF")
protected RFFReference rff;
@XmlElement(name = "FTX")
protected FTXFreeText ftx;
/**
* 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.
*
* @return
* possible object is
* {@link LOCPlaceLocationIdentification }
*
*/
public LOCPlaceLocationIdentification getLOC() {
return loc;
}
/**
* Sets the value of the loc property.
*
* @param value
* allowed object is
* {@link LOCPlaceLocationIdentification }
*
*/
public void setLOC(LOCPlaceLocationIdentification value) {
this.loc = value;
}
/**
* 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 rff property.
*
* @return
* possible object is
* {@link RFFReference }
*
*/
public RFFReference getRFF() {
return rff;
}
/**
* Sets the value of the rff property.
*
* @param value
* allowed object is
* {@link RFFReference }
*
*/
public void setRFF(RFFReference value) {
this.rff = value;
}
/**
* Gets the value of the ftx property.
*
* @return
* possible object is
* {@link FTXFreeText }
*
*/
public FTXFreeText getFTX() {
return ftx;
}
/**
* Sets the value of the ftx property.
*
* @param value
* allowed object is
* {@link FTXFreeText }
*
*/
public void setFTX(FTXFreeText value) {
this.ftx = value;
}
public BAPLIE.SegGrp1 withTDT(TDTDetailsOfTransport value) {
setTDT(value);
return this;
}
public BAPLIE.SegGrp1 withLOC(LOCPlaceLocationIdentification value) {
setLOC(value);
return this;
}
public BAPLIE.SegGrp1 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public BAPLIE.SegGrp1 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public BAPLIE.SegGrp1 withRFF(RFFReference value) {
setRFF(value);
return this;
}
public BAPLIE.SegGrp1 withFTX(FTXFreeText value) {
setFTX(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="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}LOC-PlaceLocationIdentification"/>
* <element name="GID" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}GID-GoodsItemDetails" minOccurs="0"/>
* <element name="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}GDS-NatureOfCargo" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}MEA-Measurements" maxOccurs="9"/>
* <element name="DIM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DIM-Dimensions" maxOccurs="9" minOccurs="0"/>
* <element name="TMP" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}TMP-Temperature" minOccurs="0"/>
* <element name="RNG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}RNG-RangeDetails" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}RFF-Reference"/>
* </sequence>
* <element name="SegGrp-3" maxOccurs="3" minOccurs="0">
* <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/D93A}EQD-EquipmentDetails"/>
* <element name="EQA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}EQA-AttachedEquipment" maxOccurs="9" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}NAD-NameAndAddress" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-4" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DGS-DangerousGoods"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"content"
})
public static class SegGrp2 {
@XmlElementRefs({
@XmlElementRef(name = "LOC", type = JAXBElement.class, required = false),
@XmlElementRef(name = "GID", type = JAXBElement.class, required = false),
@XmlElementRef(name = "GDS", type = JAXBElement.class, required = false),
@XmlElementRef(name = "FTX", type = JAXBElement.class, required = false),
@XmlElementRef(name = "MEA", type = JAXBElement.class, required = false),
@XmlElementRef(name = "DIM", type = JAXBElement.class, required = false),
@XmlElementRef(name = "TMP", type = JAXBElement.class, required = false),
@XmlElementRef(name = "RNG", type = JAXBElement.class, required = false),
@XmlElementRef(name = "RFF", type = JAXBElement.class, required = false),
@XmlElementRef(name = "SegGrp-3", type = JAXBElement.class, required = false),
@XmlElementRef(name = "SegGrp-4", type = JAXBElement.class, required = false)
})
protected List> content;
/**
* Gets the rest of the content model.
*
*
* You are getting this "catch-all" property because of the following reason:
* The field name "LOC" is used by two different parts of a schema. See:
* line 2276 of file:/home/runner/work/smooks-edi-cartridge/smooks-edi-cartridge/edifact-jaxb-bindings/d93a/target/classes/EDIFACT-Messages.dfdl.xsd
* line 2268 of file:/home/runner/work/smooks-edi-cartridge/smooks-edi-cartridge/edifact-jaxb-bindings/d93a/target/classes/EDIFACT-Messages.dfdl.xsd
*
* To get rid of this property, apply a property customization to one
* of both of the following declarations to change their names:
* Gets the value of the content 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 content property.
*
*
* For example, to add a new item, do as follows:
*
* getContent().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JAXBElement }{@code <}{@link BAPLIE.SegGrp2 .SegGrp3 }{@code >}
* {@link JAXBElement }{@code <}{@link BAPLIE.SegGrp2 .SegGrp4 }{@code >}
* {@link JAXBElement }{@code <}{@link DIMDimensions }{@code >}
* {@link JAXBElement }{@code <}{@link FTXFreeText }{@code >}
* {@link JAXBElement }{@code <}{@link GDSNatureOfCargo }{@code >}
* {@link JAXBElement }{@code <}{@link GIDGoodsItemDetails }{@code >}
* {@link JAXBElement }{@code <}{@link LOCPlaceLocationIdentification }{@code >}
* {@link JAXBElement }{@code <}{@link MEAMeasurements }{@code >}
* {@link JAXBElement }{@code <}{@link RFFReference }{@code >}
* {@link JAXBElement }{@code <}{@link RNGRangeDetails }{@code >}
* {@link JAXBElement }{@code <}{@link TMPTemperature }{@code >}
*
*
*/
public List> getContent() {
if (content == null) {
content = new ArrayList>();
}
return this.content;
}
public BAPLIE.SegGrp2 withContent(JAXBElement> ... values) {
if (values!= null) {
for (JAXBElement> value: values) {
getContent().add(value);
}
}
return this;
}
public BAPLIE.SegGrp2 withContent(Collection> values) {
if (values!= null) {
getContent().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/D93A}EQD-EquipmentDetails"/>
* <element name="EQA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}EQA-AttachedEquipment" maxOccurs="9" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}NAD-NameAndAddress" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"eqd",
"eqa",
"nad"
})
public static class SegGrp3 {
@XmlElement(name = "EQD", required = true)
protected EQDEquipmentDetails eqd;
@XmlElement(name = "EQA")
protected List eqa;
@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 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 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 BAPLIE.SegGrp2 .SegGrp3 withEQD(EQDEquipmentDetails value) {
setEQD(value);
return this;
}
public BAPLIE.SegGrp2 .SegGrp3 withEQA(EQAAttachedEquipment... values) {
if (values!= null) {
for (EQAAttachedEquipment value: values) {
getEQA().add(value);
}
}
return this;
}
public BAPLIE.SegGrp2 .SegGrp3 withEQA(Collection values) {
if (values!= null) {
getEQA().addAll(values);
}
return this;
}
public BAPLIE.SegGrp2 .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="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}DGS-DangerousGoods"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D93A}FTX-FreeText" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"dgs",
"ftx"
})
public static class SegGrp4 {
@XmlElement(name = "DGS", required = true)
protected DGSDangerousGoods dgs;
@XmlElement(name = "FTX")
protected FTXFreeText ftx;
/**
* Gets the value of the dgs property.
*
* @return
* possible object is
* {@link DGSDangerousGoods }
*
*/
public DGSDangerousGoods getDGS() {
return dgs;
}
/**
* Sets the value of the dgs property.
*
* @param value
* allowed object is
* {@link DGSDangerousGoods }
*
*/
public void setDGS(DGSDangerousGoods value) {
this.dgs = value;
}
/**
* Gets the value of the ftx property.
*
* @return
* possible object is
* {@link FTXFreeText }
*
*/
public FTXFreeText getFTX() {
return ftx;
}
/**
* Sets the value of the ftx property.
*
* @param value
* allowed object is
* {@link FTXFreeText }
*
*/
public void setFTX(FTXFreeText value) {
this.ftx = value;
}
public BAPLIE.SegGrp2 .SegGrp4 withDGS(DGSDangerousGoods value) {
setDGS(value);
return this;
}
public BAPLIE.SegGrp2 .SegGrp4 withFTX(FTXFreeText value) {
setFTX(value);
return this;
}
}
}
}