org.smooks.edifact.binding.d17a.C273ItemDescription 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 C273-ItemDescription complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="C273-ItemDescription">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="E7009" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E7009-ItemDescriptionCode" minOccurs="0"/>
* <element name="E1131" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E1131-CodeListIdentificationCode" minOccurs="0"/>
* <element name="E3055" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E3055-CodeListResponsibleAgencyCode" minOccurs="0"/>
* <element name="E7008" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E7008-ItemDescription" maxOccurs="2" minOccurs="0"/>
* <element name="E3453" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E3453-LanguageNameCode" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "C273-ItemDescription", propOrder = {
"e7009",
"e1131",
"e3055",
"e7008",
"e3453"
})
public class C273ItemDescription {
@XmlElement(name = "E7009")
protected String e7009;
@XmlElement(name = "E1131")
protected String e1131;
@XmlElement(name = "E3055")
protected String e3055;
@XmlElement(name = "E7008")
protected List e7008;
@XmlElement(name = "E3453")
protected String e3453;
/**
* Gets the value of the e7009 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE7009() {
return e7009;
}
/**
* Sets the value of the e7009 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE7009(String value) {
this.e7009 = value;
}
/**
* Gets the value of the e1131 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE1131() {
return e1131;
}
/**
* Sets the value of the e1131 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE1131(String value) {
this.e1131 = value;
}
/**
* Gets the value of the e3055 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE3055() {
return e3055;
}
/**
* Sets the value of the e3055 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE3055(String value) {
this.e3055 = value;
}
/**
* Gets the value of the e7008 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 e7008 property.
*
*
* For example, to add a new item, do as follows:
*
* getE7008().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getE7008() {
if (e7008 == null) {
e7008 = new ArrayList();
}
return this.e7008;
}
/**
* Gets the value of the e3453 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE3453() {
return e3453;
}
/**
* Sets the value of the e3453 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE3453(String value) {
this.e3453 = value;
}
public C273ItemDescription withE7009(String value) {
setE7009(value);
return this;
}
public C273ItemDescription withE1131(String value) {
setE1131(value);
return this;
}
public C273ItemDescription withE3055(String value) {
setE3055(value);
return this;
}
public C273ItemDescription withE7008(String... values) {
if (values!= null) {
for (String value: values) {
getE7008().add(value);
}
}
return this;
}
public C273ItemDescription withE7008(Collection values) {
if (values!= null) {
getE7008().addAll(values);
}
return this;
}
public C273ItemDescription withE3453(String value) {
setE3453(value);
return this;
}
}