org.smooks.edifact.binding.d17a.PRODEX 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 PRODEX complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PRODEX">
* <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="2"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements"/>
* <element name="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAD-NameAndAddress" maxOccurs="2"/>
* </sequence>
* <element name="SegGrp-1" maxOccurs="5">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-2" maxOccurs="99">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="IMD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}IMD-ItemDescription"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="10" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-3" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="LIN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LIN-LineItem"/>
* <element name="GEI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GEI-ProcessingInformation" maxOccurs="2" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="2" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="5" minOccurs="0"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="5" minOccurs="0"/>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TDT-TransportInformation" maxOccurs="5" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" 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 = "PRODEX", propOrder = {
"bgm",
"dtm",
"mea",
"nad",
"segGrp1",
"segGrp2"
})
public class PRODEX {
@XmlElement(name = "BGM", required = true)
protected BGMBeginningOfMessage bgm;
@XmlElement(name = "DTM", required = true)
protected List dtm;
@XmlElement(name = "MEA", required = true)
protected MEAMeasurements mea;
@XmlElement(name = "NAD", required = true)
protected List nad;
@XmlElement(name = "SegGrp-1", required = true)
protected List segGrp1;
@XmlElement(name = "SegGrp-2", required = true)
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.
*
*
* 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.
*
* @return
* possible object is
* {@link MEAMeasurements }
*
*/
public MEAMeasurements getMEA() {
return mea;
}
/**
* Sets the value of the mea property.
*
* @param value
* allowed object is
* {@link MEAMeasurements }
*
*/
public void setMEA(MEAMeasurements value) {
this.mea = 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 PRODEX.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 PRODEX.SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
public PRODEX withBGM(BGMBeginningOfMessage value) {
setBGM(value);
return this;
}
public PRODEX withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public PRODEX withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public PRODEX withMEA(MEAMeasurements value) {
setMEA(value);
return this;
}
public PRODEX withNAD(NADNameAndAddress... values) {
if (values!= null) {
for (NADNameAndAddress value: values) {
getNAD().add(value);
}
}
return this;
}
public PRODEX withNAD(Collection values) {
if (values!= null) {
getNAD().addAll(values);
}
return this;
}
public PRODEX withSegGrp1(PRODEX.SegGrp1 ... values) {
if (values!= null) {
for (PRODEX.SegGrp1 value: values) {
getSegGrp1().add(value);
}
}
return this;
}
public PRODEX withSegGrp1(Collection values) {
if (values!= null) {
getSegGrp1().addAll(values);
}
return this;
}
public PRODEX withSegGrp2(PRODEX.SegGrp2 ... values) {
if (values!= null) {
for (PRODEX.SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public PRODEX 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="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"rff",
"dtm"
})
public static class SegGrp1 {
@XmlElement(name = "RFF", required = true)
protected RFFReference rff;
@XmlElement(name = "DTM")
protected DTMDateTimePeriod 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 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;
}
public PRODEX.SegGrp1 withRFF(RFFReference value) {
setRFF(value);
return this;
}
public PRODEX.SegGrp1 withDTM(DTMDateTimePeriod value) {
setDTM(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="IMD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}IMD-ItemDescription"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="10" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-3" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="LIN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LIN-LineItem"/>
* <element name="GEI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GEI-ProcessingInformation" maxOccurs="2" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="2" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="5" minOccurs="0"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="5" minOccurs="0"/>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TDT-TransportInformation" maxOccurs="5" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"imd",
"qty",
"segGrp3"
})
public static class SegGrp2 {
@XmlElement(name = "IMD", required = true)
protected IMDItemDescription imd;
@XmlElement(name = "QTY")
protected List qty;
@XmlElement(name = "SegGrp-3")
protected List segGrp3;
/**
* Gets the value of the imd property.
*
* @return
* possible object is
* {@link IMDItemDescription }
*
*/
public IMDItemDescription getIMD() {
return imd;
}
/**
* Sets the value of the imd property.
*
* @param value
* allowed object is
* {@link IMDItemDescription }
*
*/
public void setIMD(IMDItemDescription value) {
this.imd = 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 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 PRODEX.SegGrp2 .SegGrp3 }
*
*
*/
public List getSegGrp3() {
if (segGrp3 == null) {
segGrp3 = new ArrayList();
}
return this.segGrp3;
}
public PRODEX.SegGrp2 withIMD(IMDItemDescription value) {
setIMD(value);
return this;
}
public PRODEX.SegGrp2 withQTY(QTYQuantity... values) {
if (values!= null) {
for (QTYQuantity value: values) {
getQTY().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 withQTY(Collection values) {
if (values!= null) {
getQTY().addAll(values);
}
return this;
}
public PRODEX.SegGrp2 withSegGrp3(PRODEX.SegGrp2 .SegGrp3 ... values) {
if (values!= null) {
for (PRODEX.SegGrp2 .SegGrp3 value: values) {
getSegGrp3().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 withSegGrp3(Collection values) {
if (values!= null) {
getSegGrp3().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="LIN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LIN-LineItem"/>
* <element name="GEI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GEI-ProcessingInformation" maxOccurs="2" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="2" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* <element name="MEA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}MEA-Measurements" maxOccurs="5" minOccurs="0"/>
* <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="5" minOccurs="0"/>
* <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TDT-TransportInformation" maxOccurs="5" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"lin",
"gei",
"loc",
"dtm",
"mea",
"qty",
"tdt",
"segGrp4"
})
public static class SegGrp3 {
@XmlElement(name = "LIN", required = true)
protected LINLineItem lin;
@XmlElement(name = "GEI")
protected List gei;
@XmlElement(name = "LOC")
protected List loc;
@XmlElement(name = "DTM")
protected DTMDateTimePeriod dtm;
@XmlElement(name = "MEA")
protected List mea;
@XmlElement(name = "QTY")
protected List qty;
@XmlElement(name = "TDT")
protected List tdt;
@XmlElement(name = "SegGrp-4")
protected List segGrp4;
/**
* Gets the value of the lin property.
*
* @return
* possible object is
* {@link LINLineItem }
*
*/
public LINLineItem getLIN() {
return lin;
}
/**
* Sets the value of the lin property.
*
* @param value
* allowed object is
* {@link LINLineItem }
*
*/
public void setLIN(LINLineItem value) {
this.lin = value;
}
/**
* Gets the value of the gei 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 gei property.
*
*
* For example, to add a new item, do as follows:
*
* getGEI().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GEIProcessingInformation }
*
*
*/
public List getGEI() {
if (gei == null) {
gei = new ArrayList();
}
return this.gei;
}
/**
* 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.
*
* @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 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 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 tdt 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 tdt property.
*
*
* For example, to add a new item, do as follows:
*
* getTDT().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TDTTransportInformation }
*
*
*/
public List getTDT() {
if (tdt == null) {
tdt = new ArrayList();
}
return this.tdt;
}
/**
* 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 PRODEX.SegGrp2 .SegGrp3 .SegGrp4 }
*
*
*/
public List getSegGrp4() {
if (segGrp4 == null) {
segGrp4 = new ArrayList();
}
return this.segGrp4;
}
public PRODEX.SegGrp2 .SegGrp3 withLIN(LINLineItem value) {
setLIN(value);
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withGEI(GEIProcessingInformation... values) {
if (values!= null) {
for (GEIProcessingInformation value: values) {
getGEI().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withGEI(Collection values) {
if (values!= null) {
getGEI().addAll(values);
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withLOC(Collection values) {
if (values!= null) {
getLOC().addAll(values);
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withMEA(MEAMeasurements... values) {
if (values!= null) {
for (MEAMeasurements value: values) {
getMEA().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withMEA(Collection values) {
if (values!= null) {
getMEA().addAll(values);
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withQTY(QTYQuantity... values) {
if (values!= null) {
for (QTYQuantity value: values) {
getQTY().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withQTY(Collection values) {
if (values!= null) {
getQTY().addAll(values);
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withTDT(TDTTransportInformation... values) {
if (values!= null) {
for (TDTTransportInformation value: values) {
getTDT().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withTDT(Collection values) {
if (values!= null) {
getTDT().addAll(values);
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withSegGrp4(PRODEX.SegGrp2 .SegGrp3 .SegGrp4 ... values) {
if (values!= null) {
for (PRODEX.SegGrp2 .SegGrp3 .SegGrp4 value: values) {
getSegGrp4().add(value);
}
}
return this;
}
public PRODEX.SegGrp2 .SegGrp3 withSegGrp4(Collection values) {
if (values!= null) {
getSegGrp4().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="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"rff",
"dtm"
})
public static class SegGrp4 {
@XmlElement(name = "RFF", required = true)
protected RFFReference rff;
@XmlElement(name = "DTM")
protected DTMDateTimePeriod 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 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;
}
public PRODEX.SegGrp2 .SegGrp3 .SegGrp4 withRFF(RFFReference value) {
setRFF(value);
return this;
}
public PRODEX.SegGrp2 .SegGrp3 .SegGrp4 withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
}
}
}
}