org.smooks.edifact.binding.d17a.BERMAN Maven / Gradle / Ivy
/*-
* ========================LICENSE_START=================================
* d17a-edifact-binding
* %%
* Copyright (C) 2020 - 2024 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: 2024.11.12 at 09:05:05 AM UTC
//
package org.smooks.edifact.binding.d17a;
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 BERMAN complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="BERMAN">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="BGM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}BGM-BeginningOfMessage"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-1" maxOccurs="99">
* <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/D17A}NAD-NameAndAddress"/>
* </sequence>
* <element name="SegGrp-2" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-3" maxOccurs="99">
* <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/D17A}TDT-TransportInformation"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="99" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="999" 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/D17A}LOC-PlaceLocationIdentification"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-5" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GOR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GOR-GovernmentalRequirements"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="99" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-6" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DOC-DocumentMessageDetails"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-7" maxOccurs="99" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="TSR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TSR-TransportServiceRequirements"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-8" maxOccurs="9" 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/D17A}LOC-PlaceLocationIdentification"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="9" minOccurs="0"/>
* <element name="POC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}POC-PurposeOfConveyanceCall" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-9" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="HAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}HAN-HandlingInstructions"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-10" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GDS-NatureOfCargo"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="EQN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQN-NumberOfUnits" maxOccurs="9" minOccurs="0"/>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DGS-DangerousGoods" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BERMAN", propOrder = {
"bgm",
"dtm",
"ftx",
"rff",
"qty",
"segGrp1",
"segGrp3",
"segGrp7"
})
public class BERMAN {
@XmlElement(name = "BGM", required = true)
protected BGMBeginningOfMessage bgm;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "QTY")
protected List qty;
@XmlElement(name = "SegGrp-1", required = true)
protected List segGrp1;
@XmlElement(name = "SegGrp-3", required = true)
protected List segGrp3;
@XmlElement(name = "SegGrp-7")
protected List segGrp7;
/**
* 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.
*
*
* 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 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 qty 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 qty property.
*
*
* For example, to add a new item, do as follows:
*
* getQTY().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QTYQuantity }
*
*
*/
public List getQTY() {
if (qty == null) {
qty = new ArrayList();
}
return this.qty;
}
/**
* 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 BERMAN.SegGrp1 }
*
*
*/
public List getSegGrp1() {
if (segGrp1 == null) {
segGrp1 = new ArrayList();
}
return this.segGrp1;
}
/**
* 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 BERMAN.SegGrp3 }
*
*
*/
public List getSegGrp3() {
if (segGrp3 == null) {
segGrp3 = new ArrayList();
}
return this.segGrp3;
}
/**
* Gets the value of the segGrp7 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 segGrp7 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp7().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BERMAN.SegGrp7 }
*
*
*/
public List getSegGrp7() {
if (segGrp7 == null) {
segGrp7 = new ArrayList();
}
return this.segGrp7;
}
public BERMAN withBGM(BGMBeginningOfMessage value) {
setBGM(value);
return this;
}
public BERMAN withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public BERMAN withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public BERMAN withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public BERMAN withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public BERMAN withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public BERMAN withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public BERMAN withQTY(QTYQuantity... values) {
if (values!= null) {
for (QTYQuantity value: values) {
getQTY().add(value);
}
}
return this;
}
public BERMAN withQTY(Collection values) {
if (values!= null) {
getQTY().addAll(values);
}
return this;
}
public BERMAN withSegGrp1(BERMAN.SegGrp1 ... values) {
if (values!= null) {
for (BERMAN.SegGrp1 value: values) {
getSegGrp1().add(value);
}
}
return this;
}
public BERMAN withSegGrp1(Collection values) {
if (values!= null) {
getSegGrp1().addAll(values);
}
return this;
}
public BERMAN withSegGrp3(BERMAN.SegGrp3 ... values) {
if (values!= null) {
for (BERMAN.SegGrp3 value: values) {
getSegGrp3().add(value);
}
}
return this;
}
public BERMAN withSegGrp3(Collection values) {
if (values!= null) {
getSegGrp3().addAll(values);
}
return this;
}
public BERMAN withSegGrp7(BERMAN.SegGrp7 ... values) {
if (values!= null) {
for (BERMAN.SegGrp7 value: values) {
getSegGrp7().add(value);
}
}
return this;
}
public BERMAN withSegGrp7(Collection values) {
if (values!= null) {
getSegGrp7().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/D17A}NAD-NameAndAddress"/>
* </sequence>
* <element name="SegGrp-2" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"nad",
"segGrp2"
})
public static class SegGrp1 {
@XmlElement(name = "NAD", required = true)
protected NADNameAndAddress nad;
@XmlElement(name = "SegGrp-2")
protected List segGrp2;
/**
* 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 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 BERMAN.SegGrp1 .SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
public BERMAN.SegGrp1 withNAD(NADNameAndAddress value) {
setNAD(value);
return this;
}
public BERMAN.SegGrp1 withSegGrp2(BERMAN.SegGrp1 .SegGrp2 ... values) {
if (values!= null) {
for (BERMAN.SegGrp1 .SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public BERMAN.SegGrp1 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="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"cta",
"com"
})
public static class SegGrp2 {
@XmlElement(name = "CTA", required = true)
protected CTAContactInformation cta;
@XmlElement(name = "COM")
protected List com;
/**
* Gets the value of the cta property.
*
* @return
* possible object is
* {@link CTAContactInformation }
*
*/
public CTAContactInformation getCTA() {
return cta;
}
/**
* Sets the value of the cta property.
*
* @param value
* allowed object is
* {@link CTAContactInformation }
*
*/
public void setCTA(CTAContactInformation value) {
this.cta = value;
}
/**
* Gets the value of the com 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 com property.
*
*
* For example, to add a new item, do as follows:
*
* getCOM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COMCommunicationContact }
*
*
*/
public List getCOM() {
if (com == null) {
com = new ArrayList();
}
return this.com;
}
public BERMAN.SegGrp1 .SegGrp2 withCTA(CTAContactInformation value) {
setCTA(value);
return this;
}
public BERMAN.SegGrp1 .SegGrp2 withCOM(COMCommunicationContact... values) {
if (values!= null) {
for (COMCommunicationContact value: values) {
getCOM().add(value);
}
}
return this;
}
public BERMAN.SegGrp1 .SegGrp2 withCOM(Collection values) {
if (values!= null) {
getCOM().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/D17A}TDT-TransportInformation"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="99" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="999" 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/D17A}LOC-PlaceLocationIdentification"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-5" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GOR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GOR-GovernmentalRequirements"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="99" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-6" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DOC-DocumentMessageDetails"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tdt",
"rff",
"dtm",
"mea",
"ftx",
"com",
"segGrp4",
"segGrp5"
})
public static class SegGrp3 {
@XmlElement(name = "TDT", required = true)
protected TDTTransportInformation tdt;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "MEA")
protected List mea;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "COM")
protected List com;
@XmlElement(name = "SegGrp-4")
protected List segGrp4;
@XmlElement(name = "SegGrp-5")
protected List segGrp5;
/**
* Gets the value of the tdt property.
*
* @return
* possible object is
* {@link TDTTransportInformation }
*
*/
public TDTTransportInformation getTDT() {
return tdt;
}
/**
* Sets the value of the tdt property.
*
* @param value
* allowed object is
* {@link TDTTransportInformation }
*
*/
public void setTDT(TDTTransportInformation 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 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 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 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 com 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 com property.
*
*
* For example, to add a new item, do as follows:
*
* getCOM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COMCommunicationContact }
*
*
*/
public List getCOM() {
if (com == null) {
com = new ArrayList();
}
return this.com;
}
/**
* 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 BERMAN.SegGrp3 .SegGrp4 }
*
*
*/
public List getSegGrp4() {
if (segGrp4 == null) {
segGrp4 = new ArrayList();
}
return this.segGrp4;
}
/**
* Gets the value of the segGrp5 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 segGrp5 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp5().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BERMAN.SegGrp3 .SegGrp5 }
*
*
*/
public List getSegGrp5() {
if (segGrp5 == null) {
segGrp5 = new ArrayList();
}
return this.segGrp5;
}
public BERMAN.SegGrp3 withTDT(TDTTransportInformation value) {
setTDT(value);
return this;
}
public BERMAN.SegGrp3 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 withMEA(MEAMeasurements... values) {
if (values!= null) {
for (MEAMeasurements value: values) {
getMEA().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 withMEA(Collection values) {
if (values!= null) {
getMEA().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 withCOM(COMCommunicationContact... values) {
if (values!= null) {
for (COMCommunicationContact value: values) {
getCOM().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 withCOM(Collection values) {
if (values!= null) {
getCOM().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 withSegGrp4(BERMAN.SegGrp3 .SegGrp4 ... values) {
if (values!= null) {
for (BERMAN.SegGrp3 .SegGrp4 value: values) {
getSegGrp4().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 withSegGrp4(Collection values) {
if (values!= null) {
getSegGrp4().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 withSegGrp5(BERMAN.SegGrp3 .SegGrp5 ... values) {
if (values!= null) {
for (BERMAN.SegGrp3 .SegGrp5 value: values) {
getSegGrp5().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 withSegGrp5(Collection values) {
if (values!= null) {
getSegGrp5().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="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"loc",
"dtm"
})
public static class SegGrp4 {
@XmlElement(name = "LOC", required = true)
protected LOCPlaceLocationIdentification loc;
@XmlElement(name = "DTM")
protected List dtm;
/**
* 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;
}
public BERMAN.SegGrp3 .SegGrp4 withLOC(LOCPlaceLocationIdentification value) {
setLOC(value);
return this;
}
public BERMAN.SegGrp3 .SegGrp4 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 .SegGrp4 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="GOR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GOR-GovernmentalRequirements"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="99" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-6" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="DOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DOC-DocumentMessageDetails"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"gor",
"rff",
"nad",
"segGrp6"
})
public static class SegGrp5 {
@XmlElement(name = "GOR", required = true)
protected GORGovernmentalRequirements gor;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "NAD")
protected List nad;
@XmlElement(name = "SegGrp-6")
protected List segGrp6;
/**
* Gets the value of the gor property.
*
* @return
* possible object is
* {@link GORGovernmentalRequirements }
*
*/
public GORGovernmentalRequirements getGOR() {
return gor;
}
/**
* Sets the value of the gor property.
*
* @param value
* allowed object is
* {@link GORGovernmentalRequirements }
*
*/
public void setGOR(GORGovernmentalRequirements value) {
this.gor = 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 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 segGrp6 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 segGrp6 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp6().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BERMAN.SegGrp3 .SegGrp5 .SegGrp6 }
*
*
*/
public List getSegGrp6() {
if (segGrp6 == null) {
segGrp6 = new ArrayList();
}
return this.segGrp6;
}
public BERMAN.SegGrp3 .SegGrp5 withGOR(GORGovernmentalRequirements value) {
setGOR(value);
return this;
}
public BERMAN.SegGrp3 .SegGrp5 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 withNAD(NADNameAndAddress... values) {
if (values!= null) {
for (NADNameAndAddress value: values) {
getNAD().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 withNAD(Collection values) {
if (values!= null) {
getNAD().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 withSegGrp6(BERMAN.SegGrp3 .SegGrp5 .SegGrp6 ... values) {
if (values!= null) {
for (BERMAN.SegGrp3 .SegGrp5 .SegGrp6 value: values) {
getSegGrp6().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 withSegGrp6(Collection values) {
if (values!= null) {
getSegGrp6().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="DOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DOC-DocumentMessageDetails"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"doc",
"dtm",
"loc"
})
public static class SegGrp6 {
@XmlElement(name = "DOC", required = true)
protected DOCDocumentMessageDetails doc;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "LOC")
protected List loc;
/**
* Gets the value of the doc property.
*
* @return
* possible object is
* {@link DOCDocumentMessageDetails }
*
*/
public DOCDocumentMessageDetails getDOC() {
return doc;
}
/**
* Sets the value of the doc property.
*
* @param value
* allowed object is
* {@link DOCDocumentMessageDetails }
*
*/
public void setDOC(DOCDocumentMessageDetails value) {
this.doc = 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 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;
}
public BERMAN.SegGrp3 .SegGrp5 .SegGrp6 withDOC(DOCDocumentMessageDetails value) {
setDOC(value);
return this;
}
public BERMAN.SegGrp3 .SegGrp5 .SegGrp6 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 .SegGrp6 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 .SegGrp6 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public BERMAN.SegGrp3 .SegGrp5 .SegGrp6 withLOC(Collection values) {
if (values!= null) {
getLOC().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="TSR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TSR-TransportServiceRequirements"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-8" maxOccurs="9" 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/D17A}LOC-PlaceLocationIdentification"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="9" minOccurs="0"/>
* <element name="POC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}POC-PurposeOfConveyanceCall" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-9" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="HAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}HAN-HandlingInstructions"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-10" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GDS-NatureOfCargo"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="EQN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQN-NumberOfUnits" maxOccurs="9" minOccurs="0"/>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DGS-DangerousGoods" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"tsr",
"qty",
"ftx",
"segGrp8"
})
public static class SegGrp7 {
@XmlElement(name = "TSR", required = true)
protected TSRTransportServiceRequirements tsr;
@XmlElement(name = "QTY")
protected List qty;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "SegGrp-8")
protected List segGrp8;
/**
* Gets the value of the tsr property.
*
* @return
* possible object is
* {@link TSRTransportServiceRequirements }
*
*/
public TSRTransportServiceRequirements getTSR() {
return tsr;
}
/**
* Sets the value of the tsr property.
*
* @param value
* allowed object is
* {@link TSRTransportServiceRequirements }
*
*/
public void setTSR(TSRTransportServiceRequirements value) {
this.tsr = value;
}
/**
* Gets the value of the qty 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 qty property.
*
*
* For example, to add a new item, do as follows:
*
* getQTY().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QTYQuantity }
*
*
*/
public List getQTY() {
if (qty == null) {
qty = new ArrayList();
}
return this.qty;
}
/**
* 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 segGrp8 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 segGrp8 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp8().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BERMAN.SegGrp7 .SegGrp8 }
*
*
*/
public List getSegGrp8() {
if (segGrp8 == null) {
segGrp8 = new ArrayList();
}
return this.segGrp8;
}
public BERMAN.SegGrp7 withTSR(TSRTransportServiceRequirements value) {
setTSR(value);
return this;
}
public BERMAN.SegGrp7 withQTY(QTYQuantity... values) {
if (values!= null) {
for (QTYQuantity value: values) {
getQTY().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 withQTY(Collection values) {
if (values!= null) {
getQTY().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 withSegGrp8(BERMAN.SegGrp7 .SegGrp8 ... values) {
if (values!= null) {
for (BERMAN.SegGrp7 .SegGrp8 value: values) {
getSegGrp8().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 withSegGrp8(Collection values) {
if (values!= null) {
getSegGrp8().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="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="9" minOccurs="0"/>
* <element name="POC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}POC-PurposeOfConveyanceCall" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-9" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="HAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}HAN-HandlingInstructions"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-10" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GDS-NatureOfCargo"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="EQN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQN-NumberOfUnits" maxOccurs="9" minOccurs="0"/>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DGS-DangerousGoods" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"loc",
"mea",
"dtm",
"qty",
"poc",
"ftx",
"segGrp9"
})
public static class SegGrp8 {
@XmlElement(name = "LOC", required = true)
protected LOCPlaceLocationIdentification loc;
@XmlElement(name = "MEA")
protected List mea;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "QTY")
protected List qty;
@XmlElement(name = "POC")
protected List poc;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "SegGrp-9")
protected List segGrp9;
/**
* 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 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 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 qty 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 qty property.
*
*
* For example, to add a new item, do as follows:
*
* getQTY().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QTYQuantity }
*
*
*/
public List getQTY() {
if (qty == null) {
qty = new ArrayList();
}
return this.qty;
}
/**
* Gets the value of the poc 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 poc property.
*
*
* For example, to add a new item, do as follows:
*
* getPOC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link POCPurposeOfConveyanceCall }
*
*
*/
public List getPOC() {
if (poc == null) {
poc = new ArrayList();
}
return this.poc;
}
/**
* 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 segGrp9 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 segGrp9 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp9().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BERMAN.SegGrp7 .SegGrp8 .SegGrp9 }
*
*
*/
public List getSegGrp9() {
if (segGrp9 == null) {
segGrp9 = new ArrayList();
}
return this.segGrp9;
}
public BERMAN.SegGrp7 .SegGrp8 withLOC(LOCPlaceLocationIdentification value) {
setLOC(value);
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withMEA(MEAMeasurements... values) {
if (values!= null) {
for (MEAMeasurements value: values) {
getMEA().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withMEA(Collection values) {
if (values!= null) {
getMEA().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withQTY(QTYQuantity... values) {
if (values!= null) {
for (QTYQuantity value: values) {
getQTY().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withQTY(Collection values) {
if (values!= null) {
getQTY().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withPOC(POCPurposeOfConveyanceCall... values) {
if (values!= null) {
for (POCPurposeOfConveyanceCall value: values) {
getPOC().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withPOC(Collection values) {
if (values!= null) {
getPOC().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withSegGrp9(BERMAN.SegGrp7 .SegGrp8 .SegGrp9 ... values) {
if (values!= null) {
for (BERMAN.SegGrp7 .SegGrp8 .SegGrp9 value: values) {
getSegGrp9().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 withSegGrp9(Collection values) {
if (values!= null) {
getSegGrp9().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="HAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}HAN-HandlingInstructions"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-10" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GDS-NatureOfCargo"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="EQN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQN-NumberOfUnits" maxOccurs="9" minOccurs="0"/>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DGS-DangerousGoods" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"han",
"nad",
"segGrp10"
})
public static class SegGrp9 {
@XmlElement(name = "HAN", required = true)
protected HANHandlingInstructions han;
@XmlElement(name = "NAD")
protected List nad;
@XmlElement(name = "SegGrp-10")
protected List segGrp10;
/**
* Gets the value of the han property.
*
* @return
* possible object is
* {@link HANHandlingInstructions }
*
*/
public HANHandlingInstructions getHAN() {
return han;
}
/**
* Sets the value of the han property.
*
* @param value
* allowed object is
* {@link HANHandlingInstructions }
*
*/
public void setHAN(HANHandlingInstructions value) {
this.han = 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 segGrp10 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 segGrp10 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp10().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 }
*
*
*/
public List getSegGrp10() {
if (segGrp10 == null) {
segGrp10 = new ArrayList();
}
return this.segGrp10;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 withHAN(HANHandlingInstructions value) {
setHAN(value);
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 withNAD(NADNameAndAddress... values) {
if (values!= null) {
for (NADNameAndAddress value: values) {
getNAD().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 withNAD(Collection values) {
if (values!= null) {
getNAD().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 withSegGrp10(BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 ... values) {
if (values!= null) {
for (BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 value: values) {
getSegGrp10().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 withSegGrp10(Collection values) {
if (values!= null) {
getSegGrp10().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="GDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GDS-NatureOfCargo"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="9" minOccurs="0"/>
* <element name="EQN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQN-NumberOfUnits" maxOccurs="9" minOccurs="0"/>
* <element name="DGS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DGS-DangerousGoods" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"gds",
"ftx",
"mea",
"eqn",
"dgs"
})
public static class SegGrp10 {
@XmlElement(name = "GDS", required = true)
protected GDSNatureOfCargo gds;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "MEA")
protected List mea;
@XmlElement(name = "EQN")
protected List eqn;
@XmlElement(name = "DGS")
protected List dgs;
/**
* Gets the value of the gds property.
*
* @return
* possible object is
* {@link GDSNatureOfCargo }
*
*/
public GDSNatureOfCargo getGDS() {
return gds;
}
/**
* Sets the value of the gds property.
*
* @param value
* allowed object is
* {@link GDSNatureOfCargo }
*
*/
public void setGDS(GDSNatureOfCargo value) {
this.gds = 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 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 eqn 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 eqn property.
*
*
* For example, to add a new item, do as follows:
*
* getEQN().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link EQNNumberOfUnits }
*
*
*/
public List getEQN() {
if (eqn == null) {
eqn = new ArrayList();
}
return this.eqn;
}
/**
* 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;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withGDS(GDSNatureOfCargo value) {
setGDS(value);
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withMEA(MEAMeasurements... values) {
if (values!= null) {
for (MEAMeasurements value: values) {
getMEA().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withMEA(Collection values) {
if (values!= null) {
getMEA().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withEQN(EQNNumberOfUnits... values) {
if (values!= null) {
for (EQNNumberOfUnits value: values) {
getEQN().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withEQN(Collection values) {
if (values!= null) {
getEQN().addAll(values);
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withDGS(DGSDangerousGoods... values) {
if (values!= null) {
for (DGSDangerousGoods value: values) {
getDGS().add(value);
}
}
return this;
}
public BERMAN.SegGrp7 .SegGrp8 .SegGrp9 .SegGrp10 withDGS(Collection values) {
if (values!= null) {
getDGS().addAll(values);
}
return this;
}
}
}
}
}
}