org.smooks.edifact.binding.d97b.DIRDEF Maven / Gradle / Ivy
/*-
* ========================LICENSE_START=================================
* d97b-edifact-binding
* %%
* Copyright (C) 2020 - 2025 Smooks
* %%
* Licensed under the terms of the Apache License Version 2.0, or
* the GNU Lesser General Public License version 3.0 or later.
*
* SPDX-License-Identifier: Apache-2.0 OR LGPL-3.0-or-later
*
* ======================================================================
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
* ======================================================================
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
* =========================LICENSE_END==================================
*/
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.04 at 11:59:16 AM UTC
//
package org.smooks.edifact.binding.d97b;
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 DIRDEF complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DIRDEF">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="BGM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}BGM-BeginningOfMessage" minOccurs="0"/>
* <element name="DII" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}DII-DirectoryIdentification"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-1" maxOccurs="9" 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/D97B}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/D97B}CTA-ContactInformation"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-3" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="MSG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}MSG-MessageTypeIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="999" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}DTM-DateTimePeriod"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="SGU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}SGU-SegmentUsageDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GRU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}GRU-SegmentGroupUsageDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-6" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="SEG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}SEG-SegmentIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="ELU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}ELU-DataElementUsageDetails" maxOccurs="99" minOccurs="0"/>
* <element name="REL" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}REL-Relationship" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-7" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="CMP" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}CMP-CompositeDataElementIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="ELU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}ELU-DataElementUsageDetails" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-8" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="ELM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}ELM-SimpleDataElementDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-9" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="CDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}CDS-CodeSetIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-10" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="CDV" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}CDV-CodeValueDefinition"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}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 = "DIRDEF", propOrder = {
"bgm",
"dii",
"dtm",
"ftx",
"segGrp1",
"segGrp3",
"segGrp6",
"segGrp7",
"segGrp8",
"segGrp9"
})
public class DIRDEF {
@XmlElement(name = "BGM")
protected BGMBeginningOfMessage bgm;
@XmlElement(name = "DII", required = true)
protected DIIDirectoryIdentification dii;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "SegGrp-1")
protected List segGrp1;
@XmlElement(name = "SegGrp-3")
protected List segGrp3;
@XmlElement(name = "SegGrp-6")
protected List segGrp6;
@XmlElement(name = "SegGrp-7")
protected List segGrp7;
@XmlElement(name = "SegGrp-8")
protected List segGrp8;
@XmlElement(name = "SegGrp-9")
protected List segGrp9;
/**
* 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 dii property.
*
* @return
* possible object is
* {@link DIIDirectoryIdentification }
*
*/
public DIIDirectoryIdentification getDII() {
return dii;
}
/**
* Sets the value of the dii property.
*
* @param value
* allowed object is
* {@link DIIDirectoryIdentification }
*
*/
public void setDII(DIIDirectoryIdentification value) {
this.dii = 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 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 DIRDEF.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 DIRDEF.SegGrp3 }
*
*
*/
public List getSegGrp3() {
if (segGrp3 == null) {
segGrp3 = new ArrayList();
}
return this.segGrp3;
}
/**
* 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 DIRDEF.SegGrp6 }
*
*
*/
public List getSegGrp6() {
if (segGrp6 == null) {
segGrp6 = new ArrayList();
}
return this.segGrp6;
}
/**
* 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 DIRDEF.SegGrp7 }
*
*
*/
public List getSegGrp7() {
if (segGrp7 == null) {
segGrp7 = new ArrayList();
}
return this.segGrp7;
}
/**
* 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 DIRDEF.SegGrp8 }
*
*
*/
public List getSegGrp8() {
if (segGrp8 == null) {
segGrp8 = new ArrayList();
}
return this.segGrp8;
}
/**
* 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 DIRDEF.SegGrp9 }
*
*
*/
public List getSegGrp9() {
if (segGrp9 == null) {
segGrp9 = new ArrayList();
}
return this.segGrp9;
}
public DIRDEF withBGM(BGMBeginningOfMessage value) {
setBGM(value);
return this;
}
public DIRDEF withDII(DIIDirectoryIdentification value) {
setDII(value);
return this;
}
public DIRDEF withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public DIRDEF withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public DIRDEF withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public DIRDEF withSegGrp1(DIRDEF.SegGrp1 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp1 value: values) {
getSegGrp1().add(value);
}
}
return this;
}
public DIRDEF withSegGrp1(Collection values) {
if (values!= null) {
getSegGrp1().addAll(values);
}
return this;
}
public DIRDEF withSegGrp3(DIRDEF.SegGrp3 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp3 value: values) {
getSegGrp3().add(value);
}
}
return this;
}
public DIRDEF withSegGrp3(Collection values) {
if (values!= null) {
getSegGrp3().addAll(values);
}
return this;
}
public DIRDEF withSegGrp6(DIRDEF.SegGrp6 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp6 value: values) {
getSegGrp6().add(value);
}
}
return this;
}
public DIRDEF withSegGrp6(Collection values) {
if (values!= null) {
getSegGrp6().addAll(values);
}
return this;
}
public DIRDEF withSegGrp7(DIRDEF.SegGrp7 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp7 value: values) {
getSegGrp7().add(value);
}
}
return this;
}
public DIRDEF withSegGrp7(Collection values) {
if (values!= null) {
getSegGrp7().addAll(values);
}
return this;
}
public DIRDEF withSegGrp8(DIRDEF.SegGrp8 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp8 value: values) {
getSegGrp8().add(value);
}
}
return this;
}
public DIRDEF withSegGrp8(Collection values) {
if (values!= null) {
getSegGrp8().addAll(values);
}
return this;
}
public DIRDEF withSegGrp9(DIRDEF.SegGrp9 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp9 value: values) {
getSegGrp9().add(value);
}
}
return this;
}
public DIRDEF 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="NAD" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}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/D97B}CTA-ContactInformation"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}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 DIRDEF.SegGrp1 .SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
public DIRDEF.SegGrp1 withNAD(NADNameAndAddress value) {
setNAD(value);
return this;
}
public DIRDEF.SegGrp1 withSegGrp2(DIRDEF.SegGrp1 .SegGrp2 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp1 .SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public DIRDEF.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/D97B}CTA-ContactInformation"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}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 DIRDEF.SegGrp1 .SegGrp2 withCTA(CTAContactInformation value) {
setCTA(value);
return this;
}
public DIRDEF.SegGrp1 .SegGrp2 withCOM(COMCommunicationContact... values) {
if (values!= null) {
for (COMCommunicationContact value: values) {
getCOM().add(value);
}
}
return this;
}
public DIRDEF.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="MSG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}MSG-MessageTypeIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="999" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}DTM-DateTimePeriod"/>
* </sequence>
* <element name="SegGrp-4" maxOccurs="999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="SGU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}SGU-SegmentUsageDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GRU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}GRU-SegmentGroupUsageDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"msg",
"ftx",
"dtm",
"segGrp4"
})
public static class SegGrp3 {
@XmlElement(name = "MSG", required = true)
protected MSGMessageTypeIdentification msg;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "DTM", required = true)
protected DTMDateTimePeriod dtm;
@XmlElement(name = "SegGrp-4")
protected List segGrp4;
/**
* Gets the value of the msg property.
*
* @return
* possible object is
* {@link MSGMessageTypeIdentification }
*
*/
public MSGMessageTypeIdentification getMSG() {
return msg;
}
/**
* Sets the value of the msg property.
*
* @param value
* allowed object is
* {@link MSGMessageTypeIdentification }
*
*/
public void setMSG(MSGMessageTypeIdentification value) {
this.msg = 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 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 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 DIRDEF.SegGrp3 .SegGrp4 }
*
*
*/
public List getSegGrp4() {
if (segGrp4 == null) {
segGrp4 = new ArrayList();
}
return this.segGrp4;
}
public DIRDEF.SegGrp3 withMSG(MSGMessageTypeIdentification value) {
setMSG(value);
return this;
}
public DIRDEF.SegGrp3 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp3 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public DIRDEF.SegGrp3 withDTM(DTMDateTimePeriod value) {
setDTM(value);
return this;
}
public DIRDEF.SegGrp3 withSegGrp4(DIRDEF.SegGrp3 .SegGrp4 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp3 .SegGrp4 value: values) {
getSegGrp4().add(value);
}
}
return this;
}
public DIRDEF.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="SGU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}SGU-SegmentUsageDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-5" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GRU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}GRU-SegmentGroupUsageDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"sgu",
"ftx",
"segGrp5"
})
public static class SegGrp4 {
@XmlElement(name = "SGU", required = true)
protected SGUSegmentUsageDetails sgu;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "SegGrp-5")
protected DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 segGrp5;
/**
* Gets the value of the sgu property.
*
* @return
* possible object is
* {@link SGUSegmentUsageDetails }
*
*/
public SGUSegmentUsageDetails getSGU() {
return sgu;
}
/**
* Sets the value of the sgu property.
*
* @param value
* allowed object is
* {@link SGUSegmentUsageDetails }
*
*/
public void setSGU(SGUSegmentUsageDetails value) {
this.sgu = 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 segGrp5 property.
*
* @return
* possible object is
* {@link DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 }
*
*/
public DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 getSegGrp5() {
return segGrp5;
}
/**
* Sets the value of the segGrp5 property.
*
* @param value
* allowed object is
* {@link DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 }
*
*/
public void setSegGrp5(DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 value) {
this.segGrp5 = value;
}
public DIRDEF.SegGrp3 .SegGrp4 withSGU(SGUSegmentUsageDetails value) {
setSGU(value);
return this;
}
public DIRDEF.SegGrp3 .SegGrp4 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp3 .SegGrp4 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public DIRDEF.SegGrp3 .SegGrp4 withSegGrp5(DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 value) {
setSegGrp5(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="GRU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}GRU-SegmentGroupUsageDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"gru",
"ftx"
})
public static class SegGrp5 {
@XmlElement(name = "GRU", required = true)
protected GRUSegmentGroupUsageDetails gru;
@XmlElement(name = "FTX")
protected List ftx;
/**
* Gets the value of the gru property.
*
* @return
* possible object is
* {@link GRUSegmentGroupUsageDetails }
*
*/
public GRUSegmentGroupUsageDetails getGRU() {
return gru;
}
/**
* Sets the value of the gru property.
*
* @param value
* allowed object is
* {@link GRUSegmentGroupUsageDetails }
*
*/
public void setGRU(GRUSegmentGroupUsageDetails value) {
this.gru = 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 DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 withGRU(GRUSegmentGroupUsageDetails value) {
setGRU(value);
return this;
}
public DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp3 .SegGrp4 .SegGrp5 withFTX(Collection values) {
if (values!= null) {
getFTX().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="SEG" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}SEG-SegmentIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="ELU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}ELU-DataElementUsageDetails" maxOccurs="99" minOccurs="0"/>
* <element name="REL" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}REL-Relationship" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"seg",
"ftx",
"elu",
"rel"
})
public static class SegGrp6 {
@XmlElement(name = "SEG", required = true)
protected SEGSegmentIdentification seg;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "ELU")
protected List elu;
@XmlElement(name = "REL")
protected List rel;
/**
* Gets the value of the seg property.
*
* @return
* possible object is
* {@link SEGSegmentIdentification }
*
*/
public SEGSegmentIdentification getSEG() {
return seg;
}
/**
* Sets the value of the seg property.
*
* @param value
* allowed object is
* {@link SEGSegmentIdentification }
*
*/
public void setSEG(SEGSegmentIdentification value) {
this.seg = 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 elu 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 elu property.
*
*
* For example, to add a new item, do as follows:
*
* getELU().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ELUDataElementUsageDetails }
*
*
*/
public List getELU() {
if (elu == null) {
elu = new ArrayList();
}
return this.elu;
}
/**
* Gets the value of the rel 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 rel property.
*
*
* For example, to add a new item, do as follows:
*
* getREL().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RELRelationship }
*
*
*/
public List getREL() {
if (rel == null) {
rel = new ArrayList();
}
return this.rel;
}
public DIRDEF.SegGrp6 withSEG(SEGSegmentIdentification value) {
setSEG(value);
return this;
}
public DIRDEF.SegGrp6 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp6 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public DIRDEF.SegGrp6 withELU(ELUDataElementUsageDetails... values) {
if (values!= null) {
for (ELUDataElementUsageDetails value: values) {
getELU().add(value);
}
}
return this;
}
public DIRDEF.SegGrp6 withELU(Collection values) {
if (values!= null) {
getELU().addAll(values);
}
return this;
}
public DIRDEF.SegGrp6 withREL(RELRelationship... values) {
if (values!= null) {
for (RELRelationship value: values) {
getREL().add(value);
}
}
return this;
}
public DIRDEF.SegGrp6 withREL(Collection values) {
if (values!= null) {
getREL().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="CMP" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}CMP-CompositeDataElementIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="ELU" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}ELU-DataElementUsageDetails" maxOccurs="99" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"cmp",
"ftx",
"elu"
})
public static class SegGrp7 {
@XmlElement(name = "CMP", required = true)
protected CMPCompositeDataElementIdentification cmp;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "ELU")
protected List elu;
/**
* Gets the value of the cmp property.
*
* @return
* possible object is
* {@link CMPCompositeDataElementIdentification }
*
*/
public CMPCompositeDataElementIdentification getCMP() {
return cmp;
}
/**
* Sets the value of the cmp property.
*
* @param value
* allowed object is
* {@link CMPCompositeDataElementIdentification }
*
*/
public void setCMP(CMPCompositeDataElementIdentification value) {
this.cmp = 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 elu 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 elu property.
*
*
* For example, to add a new item, do as follows:
*
* getELU().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ELUDataElementUsageDetails }
*
*
*/
public List getELU() {
if (elu == null) {
elu = new ArrayList();
}
return this.elu;
}
public DIRDEF.SegGrp7 withCMP(CMPCompositeDataElementIdentification value) {
setCMP(value);
return this;
}
public DIRDEF.SegGrp7 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp7 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public DIRDEF.SegGrp7 withELU(ELUDataElementUsageDetails... values) {
if (values!= null) {
for (ELUDataElementUsageDetails value: values) {
getELU().add(value);
}
}
return this;
}
public DIRDEF.SegGrp7 withELU(Collection values) {
if (values!= null) {
getELU().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="ELM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}ELM-SimpleDataElementDetails"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"elm",
"ftx"
})
public static class SegGrp8 {
@XmlElement(name = "ELM", required = true)
protected ELMSimpleDataElementDetails elm;
@XmlElement(name = "FTX")
protected List ftx;
/**
* Gets the value of the elm property.
*
* @return
* possible object is
* {@link ELMSimpleDataElementDetails }
*
*/
public ELMSimpleDataElementDetails getELM() {
return elm;
}
/**
* Sets the value of the elm property.
*
* @param value
* allowed object is
* {@link ELMSimpleDataElementDetails }
*
*/
public void setELM(ELMSimpleDataElementDetails value) {
this.elm = 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 DIRDEF.SegGrp8 withELM(ELMSimpleDataElementDetails value) {
setELM(value);
return this;
}
public DIRDEF.SegGrp8 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp8 withFTX(Collection values) {
if (values!= null) {
getFTX().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="CDS" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}CDS-CodeSetIdentification"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-10" maxOccurs="9999" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="CDV" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}CDV-CodeValueDefinition"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"cds",
"ftx",
"segGrp10"
})
public static class SegGrp9 {
@XmlElement(name = "CDS", required = true)
protected CDSCodeSetIdentification cds;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "SegGrp-10")
protected List segGrp10;
/**
* Gets the value of the cds property.
*
* @return
* possible object is
* {@link CDSCodeSetIdentification }
*
*/
public CDSCodeSetIdentification getCDS() {
return cds;
}
/**
* Sets the value of the cds property.
*
* @param value
* allowed object is
* {@link CDSCodeSetIdentification }
*
*/
public void setCDS(CDSCodeSetIdentification value) {
this.cds = 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 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 DIRDEF.SegGrp9 .SegGrp10 }
*
*
*/
public List getSegGrp10() {
if (segGrp10 == null) {
segGrp10 = new ArrayList();
}
return this.segGrp10;
}
public DIRDEF.SegGrp9 withCDS(CDSCodeSetIdentification value) {
setCDS(value);
return this;
}
public DIRDEF.SegGrp9 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp9 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public DIRDEF.SegGrp9 withSegGrp10(DIRDEF.SegGrp9 .SegGrp10 ... values) {
if (values!= null) {
for (DIRDEF.SegGrp9 .SegGrp10 value: values) {
getSegGrp10().add(value);
}
}
return this;
}
public DIRDEF.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="CDV" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}CDV-CodeValueDefinition"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D97B}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"cdv",
"ftx"
})
public static class SegGrp10 {
@XmlElement(name = "CDV", required = true)
protected CDVCodeValueDefinition cdv;
@XmlElement(name = "FTX")
protected List ftx;
/**
* Gets the value of the cdv property.
*
* @return
* possible object is
* {@link CDVCodeValueDefinition }
*
*/
public CDVCodeValueDefinition getCDV() {
return cdv;
}
/**
* Sets the value of the cdv property.
*
* @param value
* allowed object is
* {@link CDVCodeValueDefinition }
*
*/
public void setCDV(CDVCodeValueDefinition value) {
this.cdv = 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 DIRDEF.SegGrp9 .SegGrp10 withCDV(CDVCodeValueDefinition value) {
setCDV(value);
return this;
}
public DIRDEF.SegGrp9 .SegGrp10 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public DIRDEF.SegGrp9 .SegGrp10 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
}
}
}