org.smooks.edifact.binding.d17a.EVEEvent 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 EVE-Event complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EVE-Event">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="E9635" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}E9635-EventDetailsCodeQualifier" minOccurs="0"/>
* <element name="C004" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C004-EventCategory" minOccurs="0"/>
* <element name="C030" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C030-EventType" minOccurs="0"/>
* <sequence>
* <element name="C063" type="{http://www.ibm.com/dfdl/edi/un/edifact/D17A}C063-EventIdentification" 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 = "EVE-Event", propOrder = {
"e9635",
"c004",
"c030",
"c063",
"e1229"
})
public class EVEEvent {
@XmlElement(name = "E9635")
protected String e9635;
@XmlElement(name = "C004")
protected C004EventCategory c004;
@XmlElement(name = "C030")
protected C030EventType c030;
@XmlElement(name = "C063", nillable = true)
protected List c063;
@XmlElement(name = "E1229")
protected String e1229;
/**
* Gets the value of the e9635 property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getE9635() {
return e9635;
}
/**
* Sets the value of the e9635 property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setE9635(String value) {
this.e9635 = value;
}
/**
* Gets the value of the c004 property.
*
* @return
* possible object is
* {@link C004EventCategory }
*
*/
public C004EventCategory getC004() {
return c004;
}
/**
* Sets the value of the c004 property.
*
* @param value
* allowed object is
* {@link C004EventCategory }
*
*/
public void setC004(C004EventCategory value) {
this.c004 = value;
}
/**
* Gets the value of the c030 property.
*
* @return
* possible object is
* {@link C030EventType }
*
*/
public C030EventType getC030() {
return c030;
}
/**
* Sets the value of the c030 property.
*
* @param value
* allowed object is
* {@link C030EventType }
*
*/
public void setC030(C030EventType value) {
this.c030 = value;
}
/**
* Gets the value of the c063 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 c063 property.
*
*
* For example, to add a new item, do as follows:
*
* getC063().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link C063EventIdentification }
*
*
*/
public List getC063() {
if (c063 == null) {
c063 = new ArrayList();
}
return this.c063;
}
/**
* 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 EVEEvent withE9635(String value) {
setE9635(value);
return this;
}
public EVEEvent withC004(C004EventCategory value) {
setC004(value);
return this;
}
public EVEEvent withC030(C030EventType value) {
setC030(value);
return this;
}
public EVEEvent withC063(C063EventIdentification... values) {
if (values!= null) {
for (C063EventIdentification value: values) {
getC063().add(value);
}
}
return this;
}
public EVEEvent withC063(Collection values) {
if (values!= null) {
getC063().addAll(values);
}
return this;
}
public EVEEvent withE1229(String value) {
setE1229(value);
return this;
}
}