All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.smooks.edifact.binding.d17a.TPFREP Maven / Gradle / Ivy

The newest version!
/*-
 * ========================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 TPFREP complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="TPFREP">
 *   <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" 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-1">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <sequence>
 *                     <element name="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TDT-TransportInformation"/>
 *                     <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"/>
 *                     <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
 *                   </sequence>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="SegGrp-2" maxOccurs="999" minOccurs="0">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence>
 *                   <sequence>
 *                     <element name="EQD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQD-EquipmentDetails"/>
 *                     <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="99" minOccurs="0"/>
 *                   </sequence>
 *                   <element name="SegGrp-3" maxOccurs="999" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <sequence>
 *                               <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod"/>
 *                               <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
 *                               <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="99" minOccurs="0"/>
 *                             </sequence>
 *                           </sequence>
 *                         </restriction>
 *                       </complexContent>
 *                     </complexType>
 *                   </element>
 *                 </sequence>
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="SegGrp-4" maxOccurs="99" minOccurs="0">
 *           <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-5" maxOccurs="999" minOccurs="0">
 *                     <complexType>
 *                       <complexContent>
 *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                           <sequence>
 *                             <sequence>
 *                               <element name="EQD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQD-EquipmentDetails"/>
 *                             </sequence>
 *                             <element name="SegGrp-6" maxOccurs="99" minOccurs="0">
 *                               <complexType>
 *                                 <complexContent>
 *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                                     <sequence>
 *                                       <sequence>
 *                                         <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity"/>
 *                                         <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" 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 = "TPFREP", propOrder = { "bgm", "dtm", "ftx", "segGrp1", "segGrp2", "segGrp4" }) public class TPFREP { @XmlElement(name = "BGM", required = true) protected BGMBeginningOfMessage bgm; @XmlElement(name = "DTM") protected DTMDateTimePeriod dtm; @XmlElement(name = "FTX") protected List ftx; @XmlElement(name = "SegGrp-1", required = true) protected TPFREP.SegGrp1 segGrp1; @XmlElement(name = "SegGrp-2") protected List segGrp2; @XmlElement(name = "SegGrp-4") protected List segGrp4; /** * Gets the value of the bgm property. * * @return * possible object is * {@link BGMBeginningOfMessage } * */ public BGMBeginningOfMessage getBGM() { return bgm; } /** * Sets the value of the bgm property. * * @param value * allowed object is * {@link BGMBeginningOfMessage } * */ public void setBGM(BGMBeginningOfMessage value) { this.bgm = value; } /** * Gets the value of the dtm property. * * @return * possible object is * {@link DTMDateTimePeriod } * */ public DTMDateTimePeriod getDTM() { return dtm; } /** * Sets the value of the dtm property. * * @param value * allowed object is * {@link DTMDateTimePeriod } * */ public void setDTM(DTMDateTimePeriod value) { this.dtm = value; } /** * Gets the value of the 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 segGrp1 property. * * @return * possible object is * {@link TPFREP.SegGrp1 } * */ public TPFREP.SegGrp1 getSegGrp1() { return segGrp1; } /** * Sets the value of the segGrp1 property. * * @param value * allowed object is * {@link TPFREP.SegGrp1 } * */ public void setSegGrp1(TPFREP.SegGrp1 value) { this.segGrp1 = value; } /** * Gets the value of the segGrp2 property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the segGrp2 property. * *

* For example, to add a new item, do as follows: *

     *    getSegGrp2().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TPFREP.SegGrp2 } * * */ public List getSegGrp2() { if (segGrp2 == null) { segGrp2 = new ArrayList(); } return this.segGrp2; } /** * 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 TPFREP.SegGrp4 } * * */ public List getSegGrp4() { if (segGrp4 == null) { segGrp4 = new ArrayList(); } return this.segGrp4; } public TPFREP withBGM(BGMBeginningOfMessage value) { setBGM(value); return this; } public TPFREP withDTM(DTMDateTimePeriod value) { setDTM(value); return this; } public TPFREP withFTX(FTXFreeText... values) { if (values!= null) { for (FTXFreeText value: values) { getFTX().add(value); } } return this; } public TPFREP withFTX(Collection values) { if (values!= null) { getFTX().addAll(values); } return this; } public TPFREP withSegGrp1(TPFREP.SegGrp1 value) { setSegGrp1(value); return this; } public TPFREP withSegGrp2(TPFREP.SegGrp2 ... values) { if (values!= null) { for (TPFREP.SegGrp2 value: values) { getSegGrp2().add(value); } } return this; } public TPFREP withSegGrp2(Collection values) { if (values!= null) { getSegGrp2().addAll(values); } return this; } public TPFREP withSegGrp4(TPFREP.SegGrp4 ... values) { if (values!= null) { for (TPFREP.SegGrp4 value: values) { getSegGrp4().add(value); } } return this; } public TPFREP 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="TDT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}TDT-TransportInformation"/>
     *           <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"/>
     *           <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
     *         </sequence>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "tdt", "loc", "dtm", "rff" }) public static class SegGrp1 { @XmlElement(name = "TDT", required = true) protected TDTTransportInformation tdt; @XmlElement(name = "LOC", required = true) protected LOCPlaceLocationIdentification loc; @XmlElement(name = "DTM") protected List dtm; @XmlElement(name = "RFF") protected List rff; /** * 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 loc property. * * @return * possible object is * {@link LOCPlaceLocationIdentification } * */ public LOCPlaceLocationIdentification getLOC() { return loc; } /** * Sets the value of the loc property. * * @param value * allowed object is * {@link LOCPlaceLocationIdentification } * */ public void setLOC(LOCPlaceLocationIdentification value) { this.loc = value; } /** * Gets the value of the dtm property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the Jakarta XML Binding object. * This is why there is not a set method for the dtm property. * *

* For example, to add a new item, do as follows: *

         *    getDTM().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link DTMDateTimePeriod } * * */ public List getDTM() { if (dtm == null) { dtm = new ArrayList(); } return this.dtm; } /** * Gets the value of the rff property. * *

* 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; } public TPFREP.SegGrp1 withTDT(TDTTransportInformation value) { setTDT(value); return this; } public TPFREP.SegGrp1 withLOC(LOCPlaceLocationIdentification value) { setLOC(value); return this; } public TPFREP.SegGrp1 withDTM(DTMDateTimePeriod... values) { if (values!= null) { for (DTMDateTimePeriod value: values) { getDTM().add(value); } } return this; } public TPFREP.SegGrp1 withDTM(Collection values) { if (values!= null) { getDTM().addAll(values); } return this; } public TPFREP.SegGrp1 withRFF(RFFReference... values) { if (values!= null) { for (RFFReference value: values) { getRFF().add(value); } } return this; } public TPFREP.SegGrp1 withRFF(Collection values) { if (values!= null) { getRFF().addAll(values); } return this; } } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <sequence>
     *         <sequence>
     *           <element name="EQD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQD-EquipmentDetails"/>
     *           <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="99" minOccurs="0"/>
     *         </sequence>
     *         <element name="SegGrp-3" maxOccurs="999" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence>
     *                   <sequence>
     *                     <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod"/>
     *                     <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
     *                     <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="99" minOccurs="0"/>
     *                   </sequence>
     *                 </sequence>
     *               </restriction>
     *             </complexContent>
     *           </complexType>
     *         </element>
     *       </sequence>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "eqd", "qty", "segGrp3" }) public static class SegGrp2 { @XmlElement(name = "EQD", required = true) protected EQDEquipmentDetails eqd; @XmlElement(name = "QTY") protected List qty; @XmlElement(name = "SegGrp-3") protected List segGrp3; /** * Gets the value of the eqd property. * * @return * possible object is * {@link EQDEquipmentDetails } * */ public EQDEquipmentDetails getEQD() { return eqd; } /** * Sets the value of the eqd property. * * @param value * allowed object is * {@link EQDEquipmentDetails } * */ public void setEQD(EQDEquipmentDetails value) { this.eqd = value; } /** * Gets the value of the 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 TPFREP.SegGrp2 .SegGrp3 } * * */ public List getSegGrp3() { if (segGrp3 == null) { segGrp3 = new ArrayList(); } return this.segGrp3; } public TPFREP.SegGrp2 withEQD(EQDEquipmentDetails value) { setEQD(value); return this; } public TPFREP.SegGrp2 withQTY(QTYQuantity... values) { if (values!= null) { for (QTYQuantity value: values) { getQTY().add(value); } } return this; } public TPFREP.SegGrp2 withQTY(Collection values) { if (values!= null) { getQTY().addAll(values); } return this; } public TPFREP.SegGrp2 withSegGrp3(TPFREP.SegGrp2 .SegGrp3 ... values) { if (values!= null) { for (TPFREP.SegGrp2 .SegGrp3 value: values) { getSegGrp3().add(value); } } return this; } public TPFREP.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="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod"/>
         *           <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
         *           <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity" maxOccurs="99" minOccurs="0"/>
         *         </sequence>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "dtm", "ftx", "qty" }) public static class SegGrp3 { @XmlElement(name = "DTM", required = true) protected DTMDateTimePeriod dtm; @XmlElement(name = "FTX") protected List ftx; @XmlElement(name = "QTY") protected List qty; /** * 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 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 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; } public TPFREP.SegGrp2 .SegGrp3 withDTM(DTMDateTimePeriod value) { setDTM(value); return this; } public TPFREP.SegGrp2 .SegGrp3 withFTX(FTXFreeText... values) { if (values!= null) { for (FTXFreeText value: values) { getFTX().add(value); } } return this; } public TPFREP.SegGrp2 .SegGrp3 withFTX(Collection values) { if (values!= null) { getFTX().addAll(values); } return this; } public TPFREP.SegGrp2 .SegGrp3 withQTY(QTYQuantity... values) { if (values!= null) { for (QTYQuantity value: values) { getQTY().add(value); } } return this; } public TPFREP.SegGrp2 .SegGrp3 withQTY(Collection values) { if (values!= null) { getQTY().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-5" maxOccurs="999" minOccurs="0">
     *           <complexType>
     *             <complexContent>
     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                 <sequence>
     *                   <sequence>
     *                     <element name="EQD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQD-EquipmentDetails"/>
     *                   </sequence>
     *                   <element name="SegGrp-6" maxOccurs="99" minOccurs="0">
     *                     <complexType>
     *                       <complexContent>
     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *                           <sequence>
     *                             <sequence>
     *                               <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity"/>
     *                               <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" 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 = { "nad", "segGrp5" }) public static class SegGrp4 { @XmlElement(name = "NAD", required = true) protected NADNameAndAddress nad; @XmlElement(name = "SegGrp-5") protected List segGrp5; /** * 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 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 TPFREP.SegGrp4 .SegGrp5 } * * */ public List getSegGrp5() { if (segGrp5 == null) { segGrp5 = new ArrayList(); } return this.segGrp5; } public TPFREP.SegGrp4 withNAD(NADNameAndAddress value) { setNAD(value); return this; } public TPFREP.SegGrp4 withSegGrp5(TPFREP.SegGrp4 .SegGrp5 ... values) { if (values!= null) { for (TPFREP.SegGrp4 .SegGrp5 value: values) { getSegGrp5().add(value); } } return this; } public TPFREP.SegGrp4 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="EQD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}EQD-EquipmentDetails"/>
         *         </sequence>
         *         <element name="SegGrp-6" maxOccurs="99" minOccurs="0">
         *           <complexType>
         *             <complexContent>
         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         *                 <sequence>
         *                   <sequence>
         *                     <element name="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity"/>
         *                     <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
         *                   </sequence>
         *                 </sequence>
         *               </restriction>
         *             </complexContent>
         *           </complexType>
         *         </element>
         *       </sequence>
         *     </restriction>
         *   </complexContent>
         * </complexType>
         * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "eqd", "segGrp6" }) public static class SegGrp5 { @XmlElement(name = "EQD", required = true) protected EQDEquipmentDetails eqd; @XmlElement(name = "SegGrp-6") protected List segGrp6; /** * Gets the value of the eqd property. * * @return * possible object is * {@link EQDEquipmentDetails } * */ public EQDEquipmentDetails getEQD() { return eqd; } /** * Sets the value of the eqd property. * * @param value * allowed object is * {@link EQDEquipmentDetails } * */ public void setEQD(EQDEquipmentDetails value) { this.eqd = value; } /** * Gets the value of the 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 TPFREP.SegGrp4 .SegGrp5 .SegGrp6 } * * */ public List getSegGrp6() { if (segGrp6 == null) { segGrp6 = new ArrayList(); } return this.segGrp6; } public TPFREP.SegGrp4 .SegGrp5 withEQD(EQDEquipmentDetails value) { setEQD(value); return this; } public TPFREP.SegGrp4 .SegGrp5 withSegGrp6(TPFREP.SegGrp4 .SegGrp5 .SegGrp6 ... values) { if (values!= null) { for (TPFREP.SegGrp4 .SegGrp5 .SegGrp6 value: values) { getSegGrp6().add(value); } } return this; } public TPFREP.SegGrp4 .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="QTY" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}QTY-Quantity"/>
             *           <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
             *         </sequence>
             *       </sequence>
             *     </restriction>
             *   </complexContent>
             * </complexType>
             * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "qty", "ftx" }) public static class SegGrp6 { @XmlElement(name = "QTY", required = true) protected QTYQuantity qty; @XmlElement(name = "FTX") protected List ftx; /** * Gets the value of the qty property. * * @return * possible object is * {@link QTYQuantity } * */ public QTYQuantity getQTY() { return qty; } /** * Sets the value of the qty property. * * @param value * allowed object is * {@link QTYQuantity } * */ public void setQTY(QTYQuantity value) { this.qty = 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; } public TPFREP.SegGrp4 .SegGrp5 .SegGrp6 withQTY(QTYQuantity value) { setQTY(value); return this; } public TPFREP.SegGrp4 .SegGrp5 .SegGrp6 withFTX(FTXFreeText... values) { if (values!= null) { for (FTXFreeText value: values) { getFTX().add(value); } } return this; } public TPFREP.SegGrp4 .SegGrp5 .SegGrp6 withFTX(Collection values) { if (values!= null) { getFTX().addAll(values); } return this; } } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy