org.smooks.edifact.binding.d17a.MEDPID 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 MEDPID complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MEDPID">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="BGM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}BGM-BeginningOfMessage"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="99" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-1" maxOccurs="99">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="PNA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PNA-PartyIdentification"/>
* <element name="ADR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}ADR-Address" maxOccurs="9" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="99" minOccurs="0"/>
* <element name="LAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LAN-Language" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-2" maxOccurs="9999">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="GEI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GEI-ProcessingInformation"/>
* <element name="PNA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PNA-PartyIdentification" minOccurs="0"/>
* <element name="ADR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}ADR-Address" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="99" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="IHC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}IHC-PersonCharacteristic" maxOccurs="9" minOccurs="0"/>
* <element name="NAT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAT-Nationality" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="LAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LAN-Language" maxOccurs="9" minOccurs="0"/>
* <element name="HAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}HAN-HandlingInstructions" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="FII" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FII-FinancialInstitutionInformation" maxOccurs="9" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-3" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="PDI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PDI-PersonDemographicInformation"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-4" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-5" maxOccurs="99" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="REL" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}REL-Relationship"/>
* <element name="PNA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PNA-PartyIdentification" minOccurs="0"/>
* <element name="ADR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}ADR-Address" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="PDI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PDI-PersonDemographicInformation" minOccurs="0"/>
* <element name="IHC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}IHC-PersonCharacteristic" maxOccurs="9" minOccurs="0"/>
* <element name="NAT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAT-Nationality" maxOccurs="9" minOccurs="0"/>
* <element name="LAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LAN-Language" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-6" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="AUT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}AUT-AuthenticationResult"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MEDPID", propOrder = {
"bgm",
"dtm",
"rff",
"ftx",
"segGrp1",
"segGrp2",
"segGrp6"
})
public class MEDPID {
@XmlElement(name = "BGM", required = true)
protected BGMBeginningOfMessage bgm;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "SegGrp-1", required = true)
protected List segGrp1;
@XmlElement(name = "SegGrp-2", required = true)
protected List segGrp2;
@XmlElement(name = "SegGrp-6")
protected List segGrp6;
/**
* 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 rff property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the 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 MEDPID.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 MEDPID.SegGrp2 }
*
*
*/
public List getSegGrp2() {
if (segGrp2 == null) {
segGrp2 = new ArrayList();
}
return this.segGrp2;
}
/**
* 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 MEDPID.SegGrp6 }
*
*
*/
public List getSegGrp6() {
if (segGrp6 == null) {
segGrp6 = new ArrayList();
}
return this.segGrp6;
}
public MEDPID withBGM(BGMBeginningOfMessage value) {
setBGM(value);
return this;
}
public MEDPID withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public MEDPID withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public MEDPID withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public MEDPID withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public MEDPID withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public MEDPID withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public MEDPID withSegGrp1(MEDPID.SegGrp1 ... values) {
if (values!= null) {
for (MEDPID.SegGrp1 value: values) {
getSegGrp1().add(value);
}
}
return this;
}
public MEDPID withSegGrp1(Collection values) {
if (values!= null) {
getSegGrp1().addAll(values);
}
return this;
}
public MEDPID withSegGrp2(MEDPID.SegGrp2 ... values) {
if (values!= null) {
for (MEDPID.SegGrp2 value: values) {
getSegGrp2().add(value);
}
}
return this;
}
public MEDPID withSegGrp2(Collection values) {
if (values!= null) {
getSegGrp2().addAll(values);
}
return this;
}
public MEDPID withSegGrp6(MEDPID.SegGrp6 ... values) {
if (values!= null) {
for (MEDPID.SegGrp6 value: values) {
getSegGrp6().add(value);
}
}
return this;
}
public MEDPID 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="PNA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PNA-PartyIdentification"/>
* <element name="ADR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}ADR-Address" maxOccurs="9" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="99" minOccurs="0"/>
* <element name="LAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LAN-Language" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pna",
"adr",
"cta",
"com",
"rff",
"lan"
})
public static class SegGrp1 {
@XmlElement(name = "PNA", required = true)
protected PNAPartyIdentification pna;
@XmlElement(name = "ADR")
protected List adr;
@XmlElement(name = "CTA")
protected List cta;
@XmlElement(name = "COM")
protected List com;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "LAN")
protected List lan;
/**
* Gets the value of the pna property.
*
* @return
* possible object is
* {@link PNAPartyIdentification }
*
*/
public PNAPartyIdentification getPNA() {
return pna;
}
/**
* Sets the value of the pna property.
*
* @param value
* allowed object is
* {@link PNAPartyIdentification }
*
*/
public void setPNA(PNAPartyIdentification value) {
this.pna = value;
}
/**
* Gets the value of the adr 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 adr property.
*
*
* For example, to add a new item, do as follows:
*
* getADR().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ADRAddress }
*
*
*/
public List getADR() {
if (adr == null) {
adr = new ArrayList();
}
return this.adr;
}
/**
* Gets the value of the cta 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 cta property.
*
*
* For example, to add a new item, do as follows:
*
* getCTA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CTAContactInformation }
*
*
*/
public List getCTA() {
if (cta == null) {
cta = new ArrayList();
}
return this.cta;
}
/**
* Gets the value of the com property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the com property.
*
*
* For example, to add a new item, do as follows:
*
* getCOM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link COMCommunicationContact }
*
*
*/
public List getCOM() {
if (com == null) {
com = new ArrayList();
}
return this.com;
}
/**
* Gets the value of the rff property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the lan 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 lan property.
*
*
* For example, to add a new item, do as follows:
*
* getLAN().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LANLanguage }
*
*
*/
public List getLAN() {
if (lan == null) {
lan = new ArrayList();
}
return this.lan;
}
public MEDPID.SegGrp1 withPNA(PNAPartyIdentification value) {
setPNA(value);
return this;
}
public MEDPID.SegGrp1 withADR(ADRAddress... values) {
if (values!= null) {
for (ADRAddress value: values) {
getADR().add(value);
}
}
return this;
}
public MEDPID.SegGrp1 withADR(Collection values) {
if (values!= null) {
getADR().addAll(values);
}
return this;
}
public MEDPID.SegGrp1 withCTA(CTAContactInformation... values) {
if (values!= null) {
for (CTAContactInformation value: values) {
getCTA().add(value);
}
}
return this;
}
public MEDPID.SegGrp1 withCTA(Collection values) {
if (values!= null) {
getCTA().addAll(values);
}
return this;
}
public MEDPID.SegGrp1 withCOM(COMCommunicationContact... values) {
if (values!= null) {
for (COMCommunicationContact value: values) {
getCOM().add(value);
}
}
return this;
}
public MEDPID.SegGrp1 withCOM(Collection values) {
if (values!= null) {
getCOM().addAll(values);
}
return this;
}
public MEDPID.SegGrp1 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public MEDPID.SegGrp1 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public MEDPID.SegGrp1 withLAN(LANLanguage... values) {
if (values!= null) {
for (LANLanguage value: values) {
getLAN().add(value);
}
}
return this;
}
public MEDPID.SegGrp1 withLAN(Collection values) {
if (values!= null) {
getLAN().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="GEI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}GEI-ProcessingInformation"/>
* <element name="PNA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PNA-PartyIdentification" minOccurs="0"/>
* <element name="ADR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}ADR-Address" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="99" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="IHC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}IHC-PersonCharacteristic" maxOccurs="9" minOccurs="0"/>
* <element name="NAT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAT-Nationality" maxOccurs="9" minOccurs="0"/>
* <element name="FTX" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FTX-FreeText" maxOccurs="9" minOccurs="0"/>
* <element name="LAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LAN-Language" maxOccurs="9" minOccurs="0"/>
* <element name="HAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}HAN-HandlingInstructions" maxOccurs="9" minOccurs="0"/>
* <element name="LOC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LOC-PlaceLocationIdentification" maxOccurs="9" minOccurs="0"/>
* <element name="FII" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}FII-FinancialInstitutionInformation" maxOccurs="9" minOccurs="0"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* </sequence>
* <element name="SegGrp-3" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="PDI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PDI-PersonDemographicInformation"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-4" maxOccurs="9" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="SegGrp-5" maxOccurs="99" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="REL" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}REL-Relationship"/>
* <element name="PNA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PNA-PartyIdentification" minOccurs="0"/>
* <element name="ADR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}ADR-Address" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="PDI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PDI-PersonDemographicInformation" minOccurs="0"/>
* <element name="IHC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}IHC-PersonCharacteristic" maxOccurs="9" minOccurs="0"/>
* <element name="NAT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAT-Nationality" maxOccurs="9" minOccurs="0"/>
* <element name="LAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LAN-Language" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"gei",
"pna",
"adr",
"rff",
"dtm",
"ihc",
"nat",
"ftx",
"lan",
"han",
"loc",
"fii",
"cta",
"segGrp3",
"segGrp4",
"segGrp5"
})
public static class SegGrp2 {
@XmlElement(name = "GEI", required = true)
protected GEIProcessingInformation gei;
@XmlElement(name = "PNA")
protected PNAPartyIdentification pna;
@XmlElement(name = "ADR")
protected List adr;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "IHC")
protected List ihc;
@XmlElement(name = "NAT")
protected List nat;
@XmlElement(name = "FTX")
protected List ftx;
@XmlElement(name = "LAN")
protected List lan;
@XmlElement(name = "HAN")
protected List han;
@XmlElement(name = "LOC")
protected List loc;
@XmlElement(name = "FII")
protected List fii;
@XmlElement(name = "CTA")
protected List cta;
@XmlElement(name = "SegGrp-3")
protected List segGrp3;
@XmlElement(name = "SegGrp-4")
protected List segGrp4;
@XmlElement(name = "SegGrp-5")
protected List segGrp5;
/**
* Gets the value of the gei property.
*
* @return
* possible object is
* {@link GEIProcessingInformation }
*
*/
public GEIProcessingInformation getGEI() {
return gei;
}
/**
* Sets the value of the gei property.
*
* @param value
* allowed object is
* {@link GEIProcessingInformation }
*
*/
public void setGEI(GEIProcessingInformation value) {
this.gei = value;
}
/**
* Gets the value of the pna property.
*
* @return
* possible object is
* {@link PNAPartyIdentification }
*
*/
public PNAPartyIdentification getPNA() {
return pna;
}
/**
* Sets the value of the pna property.
*
* @param value
* allowed object is
* {@link PNAPartyIdentification }
*
*/
public void setPNA(PNAPartyIdentification value) {
this.pna = value;
}
/**
* Gets the value of the adr 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 adr property.
*
*
* For example, to add a new item, do as follows:
*
* getADR().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ADRAddress }
*
*
*/
public List getADR() {
if (adr == null) {
adr = new ArrayList();
}
return this.adr;
}
/**
* Gets the value of the rff property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the dtm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dtm property.
*
*
* For example, to add a new item, do as follows:
*
* getDTM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DTMDateTimePeriod }
*
*
*/
public List getDTM() {
if (dtm == null) {
dtm = new ArrayList();
}
return this.dtm;
}
/**
* Gets the value of the ihc 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 ihc property.
*
*
* For example, to add a new item, do as follows:
*
* getIHC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IHCPersonCharacteristic }
*
*
*/
public List getIHC() {
if (ihc == null) {
ihc = new ArrayList();
}
return this.ihc;
}
/**
* Gets the value of the nat 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 nat property.
*
*
* For example, to add a new item, do as follows:
*
* getNAT().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NATNationality }
*
*
*/
public List getNAT() {
if (nat == null) {
nat = new ArrayList();
}
return this.nat;
}
/**
* 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 lan 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 lan property.
*
*
* For example, to add a new item, do as follows:
*
* getLAN().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LANLanguage }
*
*
*/
public List getLAN() {
if (lan == null) {
lan = new ArrayList();
}
return this.lan;
}
/**
* Gets the value of the han 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 han property.
*
*
* For example, to add a new item, do as follows:
*
* getHAN().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link HANHandlingInstructions }
*
*
*/
public List getHAN() {
if (han == null) {
han = new ArrayList();
}
return this.han;
}
/**
* 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 fii 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 fii property.
*
*
* For example, to add a new item, do as follows:
*
* getFII().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FIIFinancialInstitutionInformation }
*
*
*/
public List getFII() {
if (fii == null) {
fii = new ArrayList();
}
return this.fii;
}
/**
* Gets the value of the cta 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 cta property.
*
*
* For example, to add a new item, do as follows:
*
* getCTA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CTAContactInformation }
*
*
*/
public List getCTA() {
if (cta == null) {
cta = new ArrayList();
}
return this.cta;
}
/**
* 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 MEDPID.SegGrp2 .SegGrp3 }
*
*
*/
public List getSegGrp3() {
if (segGrp3 == null) {
segGrp3 = new ArrayList();
}
return this.segGrp3;
}
/**
* 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 MEDPID.SegGrp2 .SegGrp4 }
*
*
*/
public List getSegGrp4() {
if (segGrp4 == null) {
segGrp4 = new ArrayList();
}
return this.segGrp4;
}
/**
* Gets the value of the segGrp5 property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the segGrp5 property.
*
*
* For example, to add a new item, do as follows:
*
* getSegGrp5().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MEDPID.SegGrp2 .SegGrp5 }
*
*
*/
public List getSegGrp5() {
if (segGrp5 == null) {
segGrp5 = new ArrayList();
}
return this.segGrp5;
}
public MEDPID.SegGrp2 withGEI(GEIProcessingInformation value) {
setGEI(value);
return this;
}
public MEDPID.SegGrp2 withPNA(PNAPartyIdentification value) {
setPNA(value);
return this;
}
public MEDPID.SegGrp2 withADR(ADRAddress... values) {
if (values!= null) {
for (ADRAddress value: values) {
getADR().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withADR(Collection values) {
if (values!= null) {
getADR().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withIHC(IHCPersonCharacteristic... values) {
if (values!= null) {
for (IHCPersonCharacteristic value: values) {
getIHC().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withIHC(Collection values) {
if (values!= null) {
getIHC().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withNAT(NATNationality... values) {
if (values!= null) {
for (NATNationality value: values) {
getNAT().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withNAT(Collection values) {
if (values!= null) {
getNAT().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withFTX(FTXFreeText... values) {
if (values!= null) {
for (FTXFreeText value: values) {
getFTX().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withFTX(Collection values) {
if (values!= null) {
getFTX().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withLAN(LANLanguage... values) {
if (values!= null) {
for (LANLanguage value: values) {
getLAN().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withLAN(Collection values) {
if (values!= null) {
getLAN().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withHAN(HANHandlingInstructions... values) {
if (values!= null) {
for (HANHandlingInstructions value: values) {
getHAN().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withHAN(Collection values) {
if (values!= null) {
getHAN().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withLOC(LOCPlaceLocationIdentification... values) {
if (values!= null) {
for (LOCPlaceLocationIdentification value: values) {
getLOC().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withLOC(Collection values) {
if (values!= null) {
getLOC().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withFII(FIIFinancialInstitutionInformation... values) {
if (values!= null) {
for (FIIFinancialInstitutionInformation value: values) {
getFII().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withFII(Collection values) {
if (values!= null) {
getFII().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withCTA(CTAContactInformation... values) {
if (values!= null) {
for (CTAContactInformation value: values) {
getCTA().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withCTA(Collection values) {
if (values!= null) {
getCTA().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withSegGrp3(MEDPID.SegGrp2 .SegGrp3 ... values) {
if (values!= null) {
for (MEDPID.SegGrp2 .SegGrp3 value: values) {
getSegGrp3().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withSegGrp3(Collection values) {
if (values!= null) {
getSegGrp3().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withSegGrp4(MEDPID.SegGrp2 .SegGrp4 ... values) {
if (values!= null) {
for (MEDPID.SegGrp2 .SegGrp4 value: values) {
getSegGrp4().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 withSegGrp4(Collection values) {
if (values!= null) {
getSegGrp4().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 withSegGrp5(MEDPID.SegGrp2 .SegGrp5 ... values) {
if (values!= null) {
for (MEDPID.SegGrp2 .SegGrp5 value: values) {
getSegGrp5().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 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="PDI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PDI-PersonDemographicInformation"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pdi",
"dtm"
})
public static class SegGrp3 {
@XmlElement(name = "PDI", required = true)
protected PDIPersonDemographicInformation pdi;
@XmlElement(name = "DTM")
protected List dtm;
/**
* Gets the value of the pdi property.
*
* @return
* possible object is
* {@link PDIPersonDemographicInformation }
*
*/
public PDIPersonDemographicInformation getPDI() {
return pdi;
}
/**
* Sets the value of the pdi property.
*
* @param value
* allowed object is
* {@link PDIPersonDemographicInformation }
*
*/
public void setPDI(PDIPersonDemographicInformation value) {
this.pdi = value;
}
/**
* Gets the value of the dtm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dtm property.
*
*
* For example, to add a new item, do as follows:
*
* getDTM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DTMDateTimePeriod }
*
*
*/
public List getDTM() {
if (dtm == null) {
dtm = new ArrayList();
}
return this.dtm;
}
public MEDPID.SegGrp2 .SegGrp3 withPDI(PDIPersonDemographicInformation value) {
setPDI(value);
return this;
}
public MEDPID.SegGrp2 .SegGrp3 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp3 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <sequence>
* <element name="COM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}COM-CommunicationContact"/>
* <element name="CTA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}CTA-ContactInformation" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"com",
"cta"
})
public static class SegGrp4 {
@XmlElement(name = "COM", required = true)
protected COMCommunicationContact com;
@XmlElement(name = "CTA")
protected List cta;
/**
* Gets the value of the com property.
*
* @return
* possible object is
* {@link COMCommunicationContact }
*
*/
public COMCommunicationContact getCOM() {
return com;
}
/**
* Sets the value of the com property.
*
* @param value
* allowed object is
* {@link COMCommunicationContact }
*
*/
public void setCOM(COMCommunicationContact value) {
this.com = value;
}
/**
* Gets the value of the cta 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 cta property.
*
*
* For example, to add a new item, do as follows:
*
* getCTA().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CTAContactInformation }
*
*
*/
public List getCTA() {
if (cta == null) {
cta = new ArrayList();
}
return this.cta;
}
public MEDPID.SegGrp2 .SegGrp4 withCOM(COMCommunicationContact value) {
setCOM(value);
return this;
}
public MEDPID.SegGrp2 .SegGrp4 withCTA(CTAContactInformation... values) {
if (values!= null) {
for (CTAContactInformation value: values) {
getCTA().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp4 withCTA(Collection values) {
if (values!= null) {
getCTA().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="REL" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}REL-Relationship"/>
* <element name="PNA" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PNA-PartyIdentification" minOccurs="0"/>
* <element name="ADR" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}ADR-Address" maxOccurs="9" minOccurs="0"/>
* <element name="RFF" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}RFF-Reference" maxOccurs="9" minOccurs="0"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* <element name="PDI" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}PDI-PersonDemographicInformation" minOccurs="0"/>
* <element name="IHC" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}IHC-PersonCharacteristic" maxOccurs="9" minOccurs="0"/>
* <element name="NAT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}NAT-Nationality" maxOccurs="9" minOccurs="0"/>
* <element name="LAN" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}LAN-Language" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"rel",
"pna",
"adr",
"rff",
"dtm",
"pdi",
"ihc",
"nat",
"lan"
})
public static class SegGrp5 {
@XmlElement(name = "REL", required = true)
protected RELRelationship rel;
@XmlElement(name = "PNA")
protected PNAPartyIdentification pna;
@XmlElement(name = "ADR")
protected List adr;
@XmlElement(name = "RFF")
protected List rff;
@XmlElement(name = "DTM")
protected List dtm;
@XmlElement(name = "PDI")
protected PDIPersonDemographicInformation pdi;
@XmlElement(name = "IHC")
protected List ihc;
@XmlElement(name = "NAT")
protected List nat;
@XmlElement(name = "LAN")
protected List lan;
/**
* Gets the value of the rel property.
*
* @return
* possible object is
* {@link RELRelationship }
*
*/
public RELRelationship getREL() {
return rel;
}
/**
* Sets the value of the rel property.
*
* @param value
* allowed object is
* {@link RELRelationship }
*
*/
public void setREL(RELRelationship value) {
this.rel = value;
}
/**
* Gets the value of the pna property.
*
* @return
* possible object is
* {@link PNAPartyIdentification }
*
*/
public PNAPartyIdentification getPNA() {
return pna;
}
/**
* Sets the value of the pna property.
*
* @param value
* allowed object is
* {@link PNAPartyIdentification }
*
*/
public void setPNA(PNAPartyIdentification value) {
this.pna = value;
}
/**
* Gets the value of the adr 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 adr property.
*
*
* For example, to add a new item, do as follows:
*
* getADR().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ADRAddress }
*
*
*/
public List getADR() {
if (adr == null) {
adr = new ArrayList();
}
return this.adr;
}
/**
* Gets the value of the rff property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the rff property.
*
*
* For example, to add a new item, do as follows:
*
* getRFF().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RFFReference }
*
*
*/
public List getRFF() {
if (rff == null) {
rff = new ArrayList();
}
return this.rff;
}
/**
* Gets the value of the dtm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dtm property.
*
*
* For example, to add a new item, do as follows:
*
* getDTM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DTMDateTimePeriod }
*
*
*/
public List getDTM() {
if (dtm == null) {
dtm = new ArrayList();
}
return this.dtm;
}
/**
* Gets the value of the pdi property.
*
* @return
* possible object is
* {@link PDIPersonDemographicInformation }
*
*/
public PDIPersonDemographicInformation getPDI() {
return pdi;
}
/**
* Sets the value of the pdi property.
*
* @param value
* allowed object is
* {@link PDIPersonDemographicInformation }
*
*/
public void setPDI(PDIPersonDemographicInformation value) {
this.pdi = value;
}
/**
* Gets the value of the ihc 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 ihc property.
*
*
* For example, to add a new item, do as follows:
*
* getIHC().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link IHCPersonCharacteristic }
*
*
*/
public List getIHC() {
if (ihc == null) {
ihc = new ArrayList();
}
return this.ihc;
}
/**
* Gets the value of the nat 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 nat property.
*
*
* For example, to add a new item, do as follows:
*
* getNAT().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NATNationality }
*
*
*/
public List getNAT() {
if (nat == null) {
nat = new ArrayList();
}
return this.nat;
}
/**
* Gets the value of the lan 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 lan property.
*
*
* For example, to add a new item, do as follows:
*
* getLAN().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link LANLanguage }
*
*
*/
public List getLAN() {
if (lan == null) {
lan = new ArrayList();
}
return this.lan;
}
public MEDPID.SegGrp2 .SegGrp5 withREL(RELRelationship value) {
setREL(value);
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withPNA(PNAPartyIdentification value) {
setPNA(value);
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withADR(ADRAddress... values) {
if (values!= null) {
for (ADRAddress value: values) {
getADR().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withADR(Collection values) {
if (values!= null) {
getADR().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withRFF(RFFReference... values) {
if (values!= null) {
for (RFFReference value: values) {
getRFF().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withRFF(Collection values) {
if (values!= null) {
getRFF().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withPDI(PDIPersonDemographicInformation value) {
setPDI(value);
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withIHC(IHCPersonCharacteristic... values) {
if (values!= null) {
for (IHCPersonCharacteristic value: values) {
getIHC().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withIHC(Collection values) {
if (values!= null) {
getIHC().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withNAT(NATNationality... values) {
if (values!= null) {
for (NATNationality value: values) {
getNAT().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withNAT(Collection values) {
if (values!= null) {
getNAT().addAll(values);
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withLAN(LANLanguage... values) {
if (values!= null) {
for (LANLanguage value: values) {
getLAN().add(value);
}
}
return this;
}
public MEDPID.SegGrp2 .SegGrp5 withLAN(Collection values) {
if (values!= null) {
getLAN().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="AUT" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}AUT-AuthenticationResult"/>
* <element name="DTM" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}DTM-DateTimePeriod" maxOccurs="9" minOccurs="0"/>
* </sequence>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"aut",
"dtm"
})
public static class SegGrp6 {
@XmlElement(name = "AUT", required = true)
protected AUTAuthenticationResult aut;
@XmlElement(name = "DTM")
protected List dtm;
/**
* Gets the value of the aut property.
*
* @return
* possible object is
* {@link AUTAuthenticationResult }
*
*/
public AUTAuthenticationResult getAUT() {
return aut;
}
/**
* Sets the value of the aut property.
*
* @param value
* allowed object is
* {@link AUTAuthenticationResult }
*
*/
public void setAUT(AUTAuthenticationResult value) {
this.aut = value;
}
/**
* Gets the value of the dtm property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the Jakarta XML Binding object.
* This is why there is not a set
method for the dtm property.
*
*
* For example, to add a new item, do as follows:
*
* getDTM().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DTMDateTimePeriod }
*
*
*/
public List getDTM() {
if (dtm == null) {
dtm = new ArrayList();
}
return this.dtm;
}
public MEDPID.SegGrp6 withAUT(AUTAuthenticationResult value) {
setAUT(value);
return this;
}
public MEDPID.SegGrp6 withDTM(DTMDateTimePeriod... values) {
if (values!= null) {
for (DTMDateTimePeriod value: values) {
getDTM().add(value);
}
}
return this;
}
public MEDPID.SegGrp6 withDTM(Collection values) {
if (values!= null) {
getDTM().addAll(values);
}
return this;
}
}
}