org.smooks.edifact.binding.d17a.PNAPartyIdentification 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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
/**
* Java class for PNA-PartyIdentification complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="PNA-PartyIdentification">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="E3035" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E3035-PartyFunctionCodeQualifier"/>
* <element name="C206" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C206-IdentificationNumber" minOccurs="0"/>
* <element name="C082" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C082-PartyIdentificationDetails" minOccurs="0"/>
* <element name="E3403" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E3403-NameTypeCode" minOccurs="0"/>
* <element name="E3397" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E3397-NameStatusCode" minOccurs="0"/>
* <sequence>
* <element name="C816" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C816-NameComponentDetails" maxOccurs="5" minOccurs="0"/>
* </sequence>
* <element name="E1229" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E1229-ActionCode" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PNA-PartyIdentification", propOrder = {
"e3035",
"c206",
"c082",
"e3403",
"e3397",
"c816",
"e1229"
})
public class PNAPartyIdentification {
@XmlElement(name = "E3035", required = true)
@XmlSchemaType(name = "string")
protected E3035PartyFunctionCodeQualifier e3035;
@XmlElement(name = "C206")
protected C206IdentificationNumber c206;
@XmlElement(name = "C082")
protected C082PartyIdentificationDetails c082;
@XmlElement(name = "E3403")
protected String e3403;
@XmlElement(name = "E3397")
protected String e3397;
@XmlElement(name = "C816", nillable = true)
protected List c816;
@XmlElement(name = "E1229")
protected String e1229;
/**
* Gets the value of the e3035 property.
*
* @return
* possible object is
* {@link E3035PartyFunctionCodeQualifier }
*
*/
public E3035PartyFunctionCodeQualifier getE3035() {
return e3035;
}
/**
* Sets the value of the e3035 property.
*
* @param value
* allowed object is
* {@link E3035PartyFunctionCodeQualifier }
*
*/
public void setE3035(E3035PartyFunctionCodeQualifier value) {
this.e3035 = value;
}
/**
* Gets the value of the c206 property.
*
* @return
* possible object is
* {@link C206IdentificationNumber }
*
*/
public C206IdentificationNumber getC206() {
return c206;
}
/**
* Sets the value of the c206 property.
*
* @param value
* allowed object is
* {@link C206IdentificationNumber }
*
*/
public void setC206(C206IdentificationNumber value) {
this.c206 = value;
}
/**
* Gets the value of the c082 property.
*
* @return
* possible object is
* {@link C082PartyIdentificationDetails }
*
*/
public C082PartyIdentificationDetails getC082() {
return c082;
}
/**
* Sets the value of the c082 property.
*
* @param value
* allowed object is
* {@link C082PartyIdentificationDetails }
*
*/
public void setC082(C082PartyIdentificationDetails value) {
this.c082 = value;
}
/**
* Gets the value of the e3403 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE3403() {
return e3403;
}
/**
* Sets the value of the e3403 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE3403(String value) {
this.e3403 = value;
}
/**
* Gets the value of the e3397 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE3397() {
return e3397;
}
/**
* Sets the value of the e3397 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE3397(String value) {
this.e3397 = value;
}
/**
* Gets the value of the c816 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 c816 property.
*
*
* For example, to add a new item, do as follows:
*
* getC816().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link C816NameComponentDetails }
*
*
*/
public List getC816() {
if (c816 == null) {
c816 = new ArrayList();
}
return this.c816;
}
/**
* Gets the value of the e1229 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE1229() {
return e1229;
}
/**
* Sets the value of the e1229 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE1229(String value) {
this.e1229 = value;
}
public PNAPartyIdentification withE3035(E3035PartyFunctionCodeQualifier value) {
setE3035(value);
return this;
}
public PNAPartyIdentification withC206(C206IdentificationNumber value) {
setC206(value);
return this;
}
public PNAPartyIdentification withC082(C082PartyIdentificationDetails value) {
setC082(value);
return this;
}
public PNAPartyIdentification withE3403(String value) {
setE3403(value);
return this;
}
public PNAPartyIdentification withE3397(String value) {
setE3397(value);
return this;
}
public PNAPartyIdentification withC816(C816NameComponentDetails... values) {
if (values!= null) {
for (C816NameComponentDetails value: values) {
getC816().add(value);
}
}
return this;
}
public PNAPartyIdentification withC816(Collection values) {
if (values!= null) {
getC816().addAll(values);
}
return this;
}
public PNAPartyIdentification withE1229(String value) {
setE1229(value);
return this;
}
}